Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
7.1.0-1403
-
Untriaged
-
1
-
Yes
Description
When trying to enable N2N encryption and autofailover is still on, we should get a proper error message. Instead getting following:
# /opt/couchbase/bin/couchbase-cli node-to-node-encryption -c http://localhost:8091 -u Administrator -p password --enable |
Traceback (most recent call last):
|
File "/opt/couchbase/lib/python/couchbase-cli", line 20, in <module> |
main()
|
File "/opt/couchbase/lib/python/couchbase-cli", line 15, in main |
cli.execute(args)
|
File "/opt/couchbase/lib/python/cbmgr.py", line 535, in execute |
opts.klass().execute(opts)
|
File "/opt/couchbase/lib/python/cbmgr.py", line 133, in decorator |
return fn(self, opts) |
File "/opt/couchbase/lib/python/cbmgr.py", line 4818, in execute |
self._change_encryption(self.rest, 'on', opts.ssl) |
File "/opt/couchbase/lib/python/cbmgr.py", line 4847, in _change_encryption |
_, err = rest.enable_external_listener(host=host, encryption=encryption)
|
ValueError: not enough values to unpack (expected 2, got 1) |
|
Note that disabling auto-failover, enabling N2N encryption will work as expected:
# /opt/couchbase/bin/couchbase-cli node-to-node-encryption -c http://localhost:8091 -u Administrator -p password --enable |
Turned on encryption for node: http://172.23.104.91:8091 |
Turned on encryption for node: http://172.23.104.92:8091 |
SUCCESS: Switched node-to-node encryption on
|
Attachments
Issue Links
- duplicates
-
MB-48743 couchbase-cli ip-family command failed on build 7.1.0-1399
- Closed