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

Cannot bootstrap against 6.0 cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.0-beta.3
    • 3.0.0-beta.2
    • None
    • None
    • 1
    • SDK1: GA and Priority List

    Description

      When bootstrapping against a single node 6.0 cluster locally:

      cluster = Cluster.connect('couchbase://localhost', ClusterOptions(PasswordAuthenticator('Administrator', 'password')))
      

      I expect it to "defer" any errors since it cannot do gcccp. Only when the user does not open a bucket subsequently and perform a cluster level op it needs to fail with a descriptive error (either use 6.5+ or open at least one bucket).

      Traceback (most recent call last):
        File "sdk3.py", line 4, in <module>
          cluster = Cluster('couchbase://localhost', ClusterOptions(PasswordAuthenticator('Administrator', 'password')))
        File "/Users/michaelnitschinger/.pyenv/versions/3.7.0/lib/python3.7/site-packages/couchbase/cluster.py", line 119, in __init__
          self._authenticate(authenticator)
        File "/Users/michaelnitschinger/.pyenv/versions/3.7.0/lib/python3.7/site-packages/couchbase/cluster.py", line 139, in _authenticate
          self.admin = Admin(auth.get('username'), auth.get('password'), connstr=str(self.connstr))
        File "/Users/michaelnitschinger/.pyenv/versions/3.7.0/lib/python3.7/site-packages/couchbase/management/admin.py", line 98, in __init__
          self._connect()
      couchbase.exceptions.BucketMissingException: <RC=0xD2[LCB_ERR_BUCKET_NOT_FOUND (210)], There was a problem while trying to send/receive your request over the network. This may be a result of a bad network or a misconfigured client or server, C Source=(src/bucket.c,1199)>
      

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty