Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.2
-
Couchbase server version - 7.6.2-3710
-
Untriaged
-
Linux x86_64
-
0
-
No
Description
Since the current issue with regenerating bucket UUIDs results in the loss of indexes, I was trying out the same tests with an alternative script (config_remap) which allows us to carry out the remapping script without regenerating bucket UUIDs.
When I tried executing the command without the --regenerate-bucket-uuids flag
/opt/couchbase/bin/escript /opt/couchbase/bin/escript-wrapper --initargs-path /opt/couchbase/var/lib/couchbase/initargs -- /opt/couchbase/bin/config_remap --initargs-path /opt/couchbase/var/lib/couchbase/initargs --output-path /output_dir --remap ns_1@172.23.122.154 ns_1@172.23.122.154 --remap ns_1@172.23.122.155 ns_1@172.23.122.155 --regenerate-cookie --regenerate-cluster-uuid |
I came across the following error,
escript: exception error: bad key: regenerate_bucket_uuids
|
in function map_get/2 |
called as map_get(regenerate_bucket_uuids,
|
#{error_logger_mf_dir =>
|
"/opt/couchbase/var/lib/couchbase/logs", |
go_secrets_pid => <0.100.0>, |
initargs_path =>
|
"/opt/couchbase/var/lib/couchbase/initargs", |
log_level => info,
|
node_map =>
|
#{"ns_1@172.23.122.154" => "ns_1@172.23.122.154", |
"ns_1@172.23.122.155" => "ns_1@172.23.122.155"}, |
output_path => "/output_dir", |
path_config_bindir => "/opt/couchbase/bin", |
path_config_datadir =>
|
"/opt/couchbase/var/lib/couchbase", |
regenerate_bucket_uuid => false, |
regenerate_cluster_uuid => true, |
regenerate_cookie => true}) |
*** argument 1: not present in map |
in call from config_remap:setup/1 (src/config_remap.erl, line 622) |
in call from config_remap:main/1 (src/config_remap.erl, line 631) |
in call from escript:run/2 (escript.erl, line 750) |
in call from escript:start/1 (escript.erl, line 277) |
in call from init:start_em/1 |
in call from init:do_boot/3 |