Description
Execute the following command:
root@node1-cb450-ubuntu14:/opt/couchbase/bin# ./couchbase-cli admin-role-manage --cluster=localhost -u Administrator -p password --get-roles
DEPRECATED: Please use the user-manage command instead
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 336, in execute
opts.klass().execute(opts)
File "/opt/couchbase/lib/python/cbmgr.py", line 461, in execute
data, errors = rest.get_roles()
AttributeError: 'ClusterManager' object has no attribute 'get_roles'
Even though admin-role-manage is deprecated, there should not be any error in command execution.