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

default bucket cannot be created on port 11211, must specify a different port

    Details

      Description

      [root@ip-10-127-157-49 ~]# /opt/membase/bin/cli/membase bucket-create -c 127.0.0.1 -u Administrator -p password --bucket=default --bucket-type=membase --bucket-port=11211 --bucket-ramsize=200 --bucket-replica=1
      ERROR: unable to bucket-create (400) Bad Request
      ERROR: command: bucket-create: 127.0.0.1:8091, 2
      [root@ip-10-127-157-49 ~]# /opt/membase/bin/cli/membase bucket-create -c 127.0.0.1 -u Administrator -p password --bucket=default --bucket-type=membase --bucket-port=11212 --bucket-ramsize=200 --bucket-replica=1
      SUCCESS: bucket-create

      The default bucket however ends up on port 11211.

      This is how is should work:
      1. --bucket=default --bucket-type=membase --bucket-port=11211 --bucket-ramsize=200 --bucket-replica=1
      Success
      2. --bucket=default --bucket-type=membase --bucket-ramsize=200 --bucket-replica=1
      Success
      3. --bucket=default --bucket-type=membase --bucket-port=11212 --bucket-ramsize=200 --bucket-replica=1
      Error: default bucket must be on 11211
      4. -bucket=default --bucket-type=membase --bucket-port=11211 --bucket-password="password"-bucket-ramsize=200 --bucket-replica=1
      Error: default bucket cannot have a password

        Attachments

        For Gerrit Dashboard: MB-3300
        # Subject Project Status CR V

          Activity

            People

            • Assignee:
              bcui Bin Cui (Inactive)
              Reporter:
              mikew Mike Wiederhold
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes