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

cbdocloader fails when memcached bucket is present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.0
    • 3.0.1
    • tools
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      Configure 3 Couchbase buckets and one memcached bucket. Attempt to use cbdocloader to install views into one of the Couchbase buckets. See the error below:

      cbdocloader -u Administrator -p couchbase -b mdr -n 127.0.0.1:8091 design_docs
      [2015-01-19 19:07:04,509] - [rest_client] [9424] - INFO - http://127.0.0.1:8091//pools/default/buckets with param: proxyPort=11211&bucketType=membase&authType=sasl&name=mdr&replic
      Number=1&saslPassword=&ramQuotaMB=100
      [2015-01-19 19:07:04,513] - [rest_client] [9424] - ERROR - http://127.0.0.1:8091//pools/default/buckets error 400 reason: Warning: you do not have enough servers to support this n
      mber of replicas., Bucket with given name already exists {"errors":

      {"name":"Bucket with given name already exists","replicaNumber":"Warning: you do not have enough servers to supp rt this number of replicas."}

      ,"summaries":{"ramSummary":

      {"total":10284433408,"otherBuckets":3145728000,"nodesCount":1,"perNodeMegs":100,"thisAlloc":104857600,"thisUsed":0,"free":7 33847808}

      ,"hddSummary":

      {"total":1985549955072,"otherData":555866721618,"otherBuckets":87265802,"thisUsed":0,"free":1429595967652}

      }}
      ............................................................Fail to create bucket 'mdr' within 120 seconds

      This error apparently does not occur when the memcached bucket is not present.

      Screenshot attached as well. We should revisit and improve the overall error handling, it seems to print out all possible errors (name, ram, replicas, etc) on any type of failure.

      Attachments

        Issue Links

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

          Activity

            People

              raju Raju Suravarjjala
              perry Perry Krug
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty