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

couchbase-cli wants -c/--cluster but man page reads: "by default this..."

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.0
    • Component/s: tools
    • Labels:
      None
    • Triage:
      Untriaged
    • Is this a Regression?:
      Unknown

      Description

      The man page for couchbase-cli cluster-init --help:

      -c, --cluster
      Specfies the hostname of the cluster to initialize. By default, this parameter is set to
      localhost:8091 for this command. See the HOST FORMATS section for more information on
      specifying a hostname.

      When I ran:

      ./couchbase-cli cluster-init \
      --cluster-username=Administrator \
      --cluster-password=asdfasdf \
      --cluster-ramsize=8192 \
      --cluster-name="RBAC Demo" \
      --services data

      I got:

      ERROR: argument c/-cluster is required

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build 5.0.0-2060 contains couchbase-cli commit 23e764d386ebf18df9a377fbf16e3680a9778201 with commit message:
          MB-22892: Use the localhost as the default host for cluster-init
          https://github.com/couchbase/couchbase-cli/commit/23e764d386ebf18df9a377fbf16e3680a9778201

          Show
          build-team Couchbase Build Team added a comment - Build 5.0.0-2060 contains couchbase-cli commit 23e764d386ebf18df9a377fbf16e3680a9778201 with commit message: MB-22892 : Use the localhost as the default host for cluster-init https://github.com/couchbase/couchbase-cli/commit/23e764d386ebf18df9a377fbf16e3680a9778201
          Hide
          trond Trond Norbye added a comment -

          Worked like a charm

          Show
          trond Trond Norbye added a comment - Worked like a charm

            People

            • Assignee:
              mikew Mike Wiederhold
              Reporter:
              trond Trond Norbye
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.