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

[CE] Error should show correct information in initial cluster with --index-storage-setting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • tools
    • Centos 7.4 64-bit
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      Problem

      When couchbase-cli us used again a CE to initial the cluster with the incorrect --index-storage-setting setting. The error produced says to use forestdb instead. However the couchbase-cli does not accept forestdb as a option.
      The right option is default, the error message should make this clear as this cause confusion for the user.

      Steps to reproduce

      1. Install Couchbase Server CE 5.5.0-2907 on a centos 7.4 server
      2. Using couchbase-cli to initialize this node with --index-storage-setting set to memopt which will fail as expected:

        [root@s44015 ~]# /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --services fts,data,query,index --index-storage-setting memopt
         
        ERROR: storageMode - The value must be one of the following: [forestdb]
        

      3. Try agin using forestdb it fails again unexpectedly

        [root@s44015 ~]# /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --services fts,data,query,index --index-storage-setting forestdb
        

         

      Attachments

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

        Activity

          People

            pvarley Patrick Varley (Inactive)
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty