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

CLONE - couchbase-cli server-add fails on CE

    XMLWordPrintable

Details

    • Triaged
    • Yes

    Description

      Problem

      When using the server-add sub command against a CE cluster a stack trace is produce:

      Traceback (most recent call last):
        File "/Users/paoloc/dev/source/install/lib/python/couchbase-cli", line 20, in <module>
          main()
        File "/Users/paoloc/dev/source/install/lib/python/couchbase-cli", line 15, in main
          cli.execute(args)
        File "/Users/paoloc/dev/source/install/lib/python/cbmgr.py", line 393, in execute
          opts.klass().execute(opts)
        File "/Users/paoloc/dev/source/install/lib/python/cbmgr.py", line 1670, in execute
          if not enterprise and opts.index_storage_mode == 'memopt':
      AttributeError: 'Namespace' object has no attribute 'index_storage_mode'
      

      Steps to reproduce

      1. Build CE from master
      2. Run the following command to add a node to the cluster

        ./couchbase-cli server-add --cluster=127.0.0.1:9000 --username=admin --password=admin1 --server-add=127.0.0.1:9001 --server-add-username=admin --server-add-password=admin1
        

      Work around

      Use the UI or REST API directly

      Attachments

        Issue Links

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

          Activity

            People

              thuan Thuan Nguyen
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty