Description
Overview Description
The output of the ns_server REST API was changed by MB-32278 and as a result the cli list functions no longer work.
Steps to Reproduce
- Install 6.5.0 2646
- Run CLI collection-manage --list-collections and/or --list-scopes
Expected Results
Both list commands should return the default collection/scopes
Actual Results
Following copied from my shell, also includes a create-collection followed by a list
[vagrant@node1-mad-hatter-testing-centos7 ~]$ /opt/couchbase/bin/couchbase-cli collection-manage -c localhost -u Administrator -p asdasd --bucket test --list-collections
|
ERROR: Scope _default does not exist
|
[vagrant@node1-mad-hatter-testing-centos7 ~]$ /opt/couchbase/bin/couchbase-cli collection-manage -c localhost -u Administrator -p asdasd --bucket test --list-scopes
|
uid
|
scopes
|
[vagrant@node1-mad-hatter-testing-centos7 ~]$ /opt/couchbase/bin/couchbase-cli collection-manage -c localhost -u Administrator -p asdasd --bucket test --create-scope jim_test
|
SUCCESS: Scope created
|
[vagrant@node1-mad-hatter-testing-centos7 ~]$ /opt/couchbase/bin/couchbase-cli collection-manage -c localhost -u Administrator -p asdasd --bucket test --list-scopes
|
uid
|
scopes
|
Attachments
Issue Links
- is caused by
-
MB-32278 Collections: REST "get" to return full manifest
- Resolved