Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-33394

Collections: collection-manage --list-scopes --list-collections broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 6.5.0
    • tools
    • None
    • Untriaged
    • Yes

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              carlos.gonzalez Carlos Gonzalez Betancort (Inactive)
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty