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

Rest API in CE should set storage mode when index service is set in initializing node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.1.0
    • 5.0.1
    • UI
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      Install Couchbase Server 5.0.1-5003 CE on a centos server.
      Initial set up node using rest API without setting storage mode

      [root@s44015 ~]# curl -X POST http://127.0.0.1:8091/pools/default -d memoryQuota=2000  -d indexMemoryQuota=256 -d ftsMemoryQuota=256
      [root@s44015 ~]# curl -X POST http://127.0.0.1:8091/node/controller/setupServices -d "services=kv,index,n1ql"
      [root@s44015 ~]# curl -X POST http://127.0.0.1:8091/settings/web -d "username=Administrator&password=password&port=8091&"
      

      Go to browser and see cluster is set with services correctly (kv, index and query).
      Go to setting page to set storage mode, 2 storage mode options are disable (grey out)

      A work around is setting storage mode in CLI
      [root@s44015 ~]# /opt/couchbase/bin/couchbase-cli setting-index -c 127.0.0.1 -u Administrator -p password --index-storage-setting default
      SUCCESS: Indexer settings modified

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty