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

CLONE [5.1.0] - couchbase-cli fails to initialize all services in CE due to storage mode point to plasma

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.0.0
    • tools
    • Triaged
    • Yes

    Description

      Install Couchbase Server Community Edition (CE) 5.0.0 on centos 7.3 server
      Initialize this node using couchbase cli

      /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --cluster-ramsize 2000 --cluster-index-ramsize 256 --cluster-fts-ramsize=256 --services=data,index,query,fts --index-storage-setting default
       
      ERROR: storageMode - Storage mode can be set to 'plasma' only if the cluster is Spock enterprise edition.
       
       /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --cluster-ramsize 2000 --cluster-index-ramsize 256 --cluster-fts-ramsize=256 --services=data,index,query,fts --index-storage-setting memopt
       
      ERROR: storageMode - Memory optimized indexes are restricted to enterprise edition and are not available in the community edition.
       

      There is a workaround of this issue is using Rest API or UI to initialize node with all services
      Rest API commands. It may be executed in order as below.

      curl -X POST http://127.0.0.1:8091/pools/default -d memoryQuota=2000  -d indexMemoryQuota=256 -d ftsMemoryQuota=256
      curl -X POST http://127.0.0.1:8091/node/controller/setupServices -d "services=kv,index,n1ql,fts"
      curl -X POST http://127.0.0.1:8091/settings/indexes -d "storageMode=forestdb"
      curl -X POST http://127.0.0.1:8091/settings/web -d "username=Administrator&password=password&port=8091&"
      

      Attachments

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

        Activity

          People

            thuan Thuan Nguyen
            mihir.kamdar Mihir Kamdar (Inactive)
            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