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

Add alternate name/alternate port config support

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.1
    • library
    • 1
    • SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, ES6, txns, SDK44: Build/CI & Analy. Ad. C, SDK40: Coll. Plumb./SDK3 Refac, SDK42: Analytics Additional

    Description

      Verify that the sdk works properly and handles any special hostname logging requirements with support for libcouchbase's alternate name and port support. See also CBD-2345

       

      Attachments

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

        Activity

          ingenthr Matt Ingenthron created issue -
          ingenthr Matt Ingenthron made changes -
          Field Original Value New Value
          Epic Link CBD-2345 [ 80497 ]
          ingenthr Matt Ingenthron made changes -
          Rank Ranked higher
          Ellis.Breen Ellis Breen made changes -
          Status New [ 10003 ] Open [ 1 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.4.1 [ 15210 ]
          brett19 Brett Lawson made changes -
          Description Verify that the sdk works properly and handles any special hostname logging requirements with support for libcouchbase's alternate name and port support. See also CBD-2345 Verify that the sdk works properly and handles any special hostname logging requirements with support for libcouchbase's alternate name and port support. See also CBD-2345

          Validation

          In order to perform validation, an SDK engineer can use the following steps to launch a QE docker cluster with alternate names configured.  The SDK should then confirm that they are able to connect to the cluster.
           * git pull master of [github.com/couchbaselabs/sdkqe-resource|http://github.com/couchbaselabs/sdkqe-resource]
           * docker pull sdk-s435.sc.couchbase.com/cblauncher:latest

           * run sdkqe-resource/utils/launcher/cbp.sh
           * the cluster will then start up and configure itself, including alternate names/ports
           * if you run sdkqe-resource/utils/dport, you should see a list of ports for access the UI

          h4. Testing

          Tests to confirm that the SDK correctly connects to a cluster with alternate names configured.  These tests should include both a case where the application resides inside the container network (but the cluster still has external hostname/ports configured), as well as a case where the application resides outside of the container network.
          brett19 Brett Lawson made changes -
          Description Verify that the sdk works properly and handles any special hostname logging requirements with support for libcouchbase's alternate name and port support. See also CBD-2345

          Validation

          In order to perform validation, an SDK engineer can use the following steps to launch a QE docker cluster with alternate names configured.  The SDK should then confirm that they are able to connect to the cluster.
           * git pull master of [github.com/couchbaselabs/sdkqe-resource|http://github.com/couchbaselabs/sdkqe-resource]
           * docker pull sdk-s435.sc.couchbase.com/cblauncher:latest

           * run sdkqe-resource/utils/launcher/cbp.sh
           * the cluster will then start up and configure itself, including alternate names/ports
           * if you run sdkqe-resource/utils/dport, you should see a list of ports for access the UI

          h4. Testing

          Tests to confirm that the SDK correctly connects to a cluster with alternate names configured.  These tests should include both a case where the application resides inside the container network (but the cluster still has external hostname/ports configured), as well as a case where the application resides outside of the container network.
          Verify that the sdk works properly and handles any special hostname logging requirements with support for libcouchbase's alternate name and port support. See also CBD-2345

           
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.4.1 [ 15217 ]
          Fix Version/s 2.4.0 [ 15210 ]
          ingenthr Matt Ingenthron made changes -
          Sprint SDK22: AltN/P, FLE/rfc verif. [ 593 ] SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin [ 593, 610 ]
          ingenthr Matt Ingenthron made changes -
          Sprint SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin [ 593, 610 ] SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, txns, ES6 [ 593, 610, 611 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.4.2 [ 15314 ]
          Fix Version/s 2.4.1 [ 15217 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.4.3 [ 15415 ]
          Fix Version/s 2.4.2 [ 15314 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.4.4 [ 15432 ]
          Fix Version/s 2.4.3 [ 15415 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.4.3 [ 15415 ]
          Fix Version/s 2.4.4 [ 15432 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.4.4 [ 15432 ]
          Fix Version/s 2.4.3 [ 15415 ]
          ingenthr Matt Ingenthron made changes -
          Sprint SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, ES6, txns [ 593, 610, 611 ] SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, ES6, txns, SDK40: Coll. Plumb./SDK3 Refac [ 593, 610, 611, 661 ]
          ingenthr Matt Ingenthron made changes -
          Rank Ranked lower
          ingenthr Matt Ingenthron made changes -
          Sprint SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, ES6, txns, SDK40: Coll. Plumb./SDK3 Refac [ 593, 610, 611, 661 ] SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, ES6, txns, SDK40: Coll. Plumb./SDK3 Refac, SDK42: Analytics Additional [ 593, 610, 611, 661, 669 ]
          Ellis.Breen Ellis Breen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Ellis.Breen Ellis Breen added a comment -

          From inside the Docker container:

           

          test_blank (couchbase.tests.cases.connection_t.AlternateNamesTest) ... /couchbase-python-client/couchbase/tests/base.py:358: UserWarning: Using fallback (couchbase module) defaults
            warnings.warn('Using fallback (couchbase module) defaults')
          ok
          test_default (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ok
          test_external (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ok
          

           

          From outside the container:

           

          test_blank (couchbase.tests.cases.connection_t.AlternateNamesTest) ... /Users/ellis_breen/root/workspaces/couchbase/couchbase-python-client-mainline/couchbase/tests/base.py:358: UserWarning: Using fallback (couchbase module) defaults warnings.warn('Using fallback (couchbase module) defaults') 
           
          ERROR test_default (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ERROR
          test_external (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ok 

          Ellis.Breen Ellis Breen added a comment - From inside the Docker container:   test_blank (couchbase.tests.cases.connection_t.AlternateNamesTest) ... /couchbase-python-client/couchbase/tests/base.py: 358 : UserWarning: Using fallback (couchbase module) defaults   warnings.warn( 'Using fallback (couchbase module) defaults' ) ok test_default (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ok test_external (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ok   From outside the container:   test_blank (couchbase.tests.cases.connection_t.AlternateNamesTest) ... /Users/ellis_breen/root/workspaces/couchbase/couchbase-python-client-mainline/couchbase/tests/base.py: 358 : UserWarning: Using fallback (couchbase module) defaults warnings.warn( 'Using fallback (couchbase module) defaults' )   ERROR test_default (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ERROR test_external (couchbase.tests.cases.connection_t.AlternateNamesTest) ... ok
          Ellis.Breen Ellis Breen made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Ellis.Breen Ellis Breen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Ellis.Breen Ellis.Breen made changes -
          Actual Start 2018-10-24 15:39 (issue has been started)
          ingenthr Matt Ingenthron made changes -
          Sprint SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, ES6, txns, SDK40: Coll. Plumb./SDK3 Refac, SDK42: Analytics Additional [ 593, 610, 611, 661, 669 ] SDK22: AltN/P, FLE/rfc verif., SDK28: JSONSM, SparkT, Trainin, SDK30: cepnet, ES6, txns, SDK44: Build/CI & Analy. Ad. C, SDK40: Coll. Plumb./SDK3 Refac, SDK42: Analytics Additional [ 593, 610, 611, 641, 661, 669 ]
          ingenthr Matt Ingenthron made changes -
          Planned End 2018-10-30 06:00 (started sprint)
          Planned Start 2018-10-30 06:00 (started sprint)
          Ellis.Breen Ellis Breen made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          Ellis.Breen Ellis.Breen made changes -
          Actual End 2018-11-05 11:19 (issue has been resolved)
          brett19 Brett Lawson made changes -
          Story Points 1

          People

            Ellis.Breen Ellis Breen
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty