Uploaded image for project: 'Couchbase Monitoring and Observability Stack'
  1. Couchbase Monitoring and Observability Stack
  2. CMOS-170

"Add Cluster" failed with an Error '500 unable to get cluster info'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.1
    • None
    • None
    • None

    Description

      Followed the steps from docs
       

      1. Clone the couchbaselabs/observability repo: git clone git@github.com:couchbaselabs/observability.git
      2. Part of CMOS is the proprietary Couchbase Cluster Monitor, in this private repository. If you want to build CMOS to use it, set up your local SSH agent.
      3. Build the container: make container if you want to include the Cluster Monitor or make container-oss
      4. Made some edits to configure-cbs.sh to reduce the memory quota

      ###

      echo "Configuring cluster"
      couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --services data,index --cluster-ramsize 1048 --cluster-index-ramsize 256 --index-storage-setting default

      ###

       

      1. Ran example/container/run.sh

      Working:

      Failed:

      • Add Couchbase cluster
      • See attached screenshot{{}}

       

      ###

      (base) HQ-Anil-2:observability anilkumar$ docker ps --filter " id=f5d3c141b7a3"

      CONTAINER ID   IMAGE                    COMMAND                  CREATED       STATUS       PORTS                                                                                                NAMES

      f5d3c141b7a3   couchbase/server:7.0.2   "/entrypoint.sh couc…"   5 hours ago   Up 5 hours   0.0.0.0:8091-8096->8091-8096/tcp, 11207/tcp, 0.0.0.0:11210-11211->11210-11211/tcp, 18091-18096/tcp   db1

      ###

      (base) HQ-Anil-2:observability anilkumar$ docker logs f5d3c141b7a3

      Overriding CBS entrypoint as this gives us declarative control

      Run up Couchbase Server

      Wait for it to be ready

      Not ready, waiting to recheck

      Not ready, waiting to recheck

      Not ready, waiting to recheck

      Not ready, waiting to recheck

      Not ready, waiting to recheck

      Not ready, waiting to recheck

      Configuring cluster

      SUCCESS: Cluster initialized

      Enable audit logging

      SUCCESS: Audit settings modified

      Waiting for startup completion

      Running

      SUCCESS: Bucket created

      Bucket created

      ###

       

       

      Attachments

        Issue Links

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

          Activity

            People

              anil Anil Kumar (Inactive)
              anil Anil Kumar (Inactive)
              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