Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.0-beta.1
-
None
-
1
-
SDK1: GA and Priority List
Description
Probably these should be in bucketmgmt_t.py instead of management_t.py. But in any case, I see this against 6.5:
|
======================================================================
|
ERROR: test_actions (couchbase_tests.test_sync.transplant_class.<locals>.C)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "/Users/davidkelly/projects/gerrit/couchbase-python-client/couchbase/tests_v3/cases/managment_t.py", line 72, in test_actions
|
BucketSettings(name=dummy_bucket, max_ttl=500))
|
File "/Users/davidkelly/projects/gerrit/couchbase-python-client/couchbase/management/buckets.py", line 116, in update_bucket
|
self.bucket_update(current, **settings.as_dict)
|
File "/Users/davidkelly/projects/gerrit/couchbase-python-client/couchbase/management/buckets.py", line 101, in bucket_update
|
content=mk_formstr(params))
|
File "/Users/davidkelly/projects/gerrit/couchbase-python-client/couchbase/management/admin.py", line 161, in http_request
|
timeout=timeout)
|
couchbase_core.exceptions.HTTPError: <Key='/pools/default/buckets/dummy', RC=0x41D[LCB_ERR_HTTP (1053)], HTTP Request failed. Examine 'objextra' for full result, Results=1, C Source=(src/pycbc_http.c,156), OBJ=HttpResult<rc=0x0, value={'errors': {'ramQuotaMB': 'RAM quota specified is too large to be provisioned into this cluster.'}, 'summaries': {'ramSummary': {'total': 1073741824, 'otherBuckets': 209715200, 'nodesCount': 1, 'perNodeMegs': 1024, 'thisAlloc': 1073741824, 'thisUsed': 27207832, 'free': -209715200}, 'hddSummary': {'total': 19966849024, 'otherData': 2959711288, 'otherBuckets': 35316031, 'thisUsed': 34, 'free': 16971821705}}}, http_status=400, url=/pools/default/buckets/dummy, tracing_context=0, tracing_output=None>, Tracing Output={":nokey:0": null}>
|
|
What is odd is line 72 seems to be actually setting max_ttl. Hmm. Unsure what's up, worth examining.