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

couchbase-cli - cluster-init not working correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: tools
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Linux 64 bit, Build : 2.0.2-769

      Description

      Tried the following command:

      ./couchbase-cli cluster-init -c caper-004.hq.northscale.net --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8080 -cluster-init-ramsize=4096

      RESULT = SUCCESS: init caper-004.hq.northscale.net

      The node is initialized when checked on UI.
      But after refreshing the page once or twice, couchbase server goes down and then doesn't shows up even after restarting couchbase-server through terminal. Tried the same using IP address but result is same.

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

        Activity

        Hide
        shashank Shashank Gupta added a comment -

        Attaching cbcollect_info result.

        Show
        shashank Shashank Gupta added a comment - Attaching cbcollect_info result.
        Hide
        bcui Bin Cui added a comment -

        Tried build 778 on centos. But cannot reproduce the problem.

        -bash-3.2$ /opt/couchbase/bin/couchbase-cli cluster-init -c localhost --cluster
        -init-username=Administrator --cluster-init-password=password --cluster-init-po
        rt=8091 --cluster-init-ramsize=2048
        SUCCESS: init localhost
        SUCCESS: init localhost

        Not sure if it is caused by the last option -cluster-init-ramsize. Two "" is needed instead of one.

        Show
        bcui Bin Cui added a comment - Tried build 778 on centos. But cannot reproduce the problem. -bash-3.2$ /opt/couchbase/bin/couchbase-cli cluster-init -c localhost --cluster -init-username=Administrator --cluster-init-password=password --cluster-init-po rt=8091 --cluster-init-ramsize=2048 SUCCESS: init localhost SUCCESS: init localhost Not sure if it is caused by the last option - cluster-init-ramsize. Two " " is needed instead of one.
        Hide
        shashank Shashank Gupta added a comment -

        Thanks Bin. Actually problem was with the port. I initialized couchbase to 8080 and was accessing it on 8091

        Show
        shashank Shashank Gupta added a comment - Thanks Bin. Actually problem was with the port. I initialized couchbase to 8080 and was accessing it on 8091

          People

          • Assignee:
            bcui Bin Cui
            Reporter:
            shashank Shashank Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes