Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1583

FIT: bucketType key is missing in proxy response while creating bucket with all settings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • 0

    Description

      Failing on server version: 7.0-release, 7.1-stable, 7.2-stable, 7.6-stable

      FIT test: 

      BucketManagerTest.createBucketWithAllSettingsAndVerifyAllSettings

      is failing with bucketType key missing in expected result. 

      Actual keys get in result: 

      actual keys: [storageBackend, replicaIndex, maxTTL, flushEnabled, durabilityMinLevel, compressionMode, conflictResolutionType, name, replicaNumber, historyRetentionSeconds, ramQuotaMB, historyRetentionCollectionDefault, historyRetentionBytes, evictionPolicy]

      Expected keys: 

      expected keys: [storageBackend, replicaIndex, maxTTL, flushEnabled, durabilityMinLevel, compressionMode, bucketType, conflictResolutionType, replicaNumber, name, historyRetentionSeconds, ramQuotaMB, historyRetentionCollectionDefault, historyRetentionBytes, evictionPolicy]

      Failing with this error: 

      Captured requests from SDK not as expected: result=exception {  couchbase {    name: "FeatureUnavailableException"    type: SDK_FEATURE_NOT_AVAILABLE_EXCEPTION    serialized: "invalid argument (3) {\"last_dispatched_to\": \"127.0.0.1:20732\", \"last_dispatched_from\": \"127.0.0.1:54147\", \"retry_attempts\": 0, \"client_context_id\": \"00c1ad-5a4b-3a47-cf04-0c71560820f50e\", \"method\": \"POST\", \"path\": \"/pools/default/buckets\", \"http_status\": 400, \"http_body\": \"{\\\"errors\\\":{\\\"conflictResolutionType\\\":\\\"Conflict resolution type \'custom\' is supported only with developer preview enabled\\\",\\\"storageBackend\\\":\\\"Magma is supported only in developer preview mode\\\"},\\\"summaries\\\":{\\\"ramSummary\\\":{\\\"total\\\":4718592000,\\\"otherBuckets\\\":629145600,\\\"nodesCount\\\":3,\\\"perNodeMegs\\\":128,\\\"thisAlloc\\\":402653184,\\\"thisUsed\\\":0,\\\"free\\\":3686793216},\\\"hddSummary\\\":{\\\"total\\\":994718846976,\\\"otherData\\\":666443252106,\\\"otherBuckets\\\":18375366,\\\"thisUsed\\\":0,\\\"free\\\":328257219504}}}\", \"context_type\": \"HTTPErrorContext\", \"context_detail_type\": \"BucketMgmt\"}"  }} content={storageBackend=magma, replicaIndex=1, maxTTL=5, flushEnabled=1, durabilityMinLevel=majority, compressionMode=passive, conflictResolutionType=custom, name=ad1992, replicaNumber=1, historyRetentionSeconds=86400, ramQuotaMB=128, historyRetentionCollectionDefault=true, historyRetentionBytes=1234567890, evictionPolicy=valueOnly}13:58:24.788 [      main] INFO  hbase.client.util.TestListener - Finished test api: DEFAULT with result FAILED
      org.opentest4j.AssertionFailedError: Missing keys for create bucket HTTP request: [bucketType]
      	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38)	at org.junit.jupiter.api.Assertions.fail(Assertions.java:135)	at com.couchbase.client.management.bucket.BucketManagerTest.assertEqualsPrettyMatchAny(BucketManagerTest.java:251)	at com.couchbase.client.management.bucket.BucketManagerTest.lambda$createBucketWithAllSettingsAndVerifyAllSettings$4(BucketManagerTest.java:227)	at com.couchbase.client.management.bucket.BucketManagerTest.lambda$iterate$24(BucketManagerTest.java:725) 

       

       

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            saurabh.mishra Saurabh Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty