Description
[root@cb1 ~]# /opt/couchbase/bin/couchbase-cli bucket-create -c localhost:8091 -u Administrator -p password --bucket=beer_backup2 --bucket-ramsize=1000 --bucket-port=11211 --bucket-type=couchbase --bucket-replica=1
ERROR: unable to bucket-create; please check your username (-u) and password (-p); (400) Bad Request
{u'errors':
, u'summaries': {u'ramSummary':
{u'thisUsed': 0, u'thisAlloc': 1048576000, u'otherBuckets': 1153433600, u'nodesCount': 1, u'free': -1021313024, u'perNodeMegs': 1000, u'total': 1180696576}, u'hddSummary':
{u'thisUsed': 0, u'total': 5887008768, u'otherBuckets': 16891451, u'free': 2295933420, u'otherData': 3574183897}}}
ERROR: Warning, you do not have enough servers to support this number of replicas.
ERROR: Bucket with given name already exists
ERROR: RAM quota specified is too large to be provisioned into this cluster.
[root@cb1 ~]#
This should just be because the bucket already exists, but the command returns all errors which makes it hard to understand which one the problem is. I've observed this same behavior with other types of errors.