Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48970

Unable to establish connection to a non-KV node in Neo

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      Steps :
      1. Create a 2 node cluster using Neo build 7.1.0-1501 (current latest). node1 should have KV service only and node2 should have FTS.
      2. Create a bucket - bucket1.
      3. Using Python SDK client, connect to the cluster on the node having KV service - node1. This works fine.
      4. Using Python SDK client, connect to the cluster on the node having FTS service - node2. This doesn't work. It throws the following exception -

       <RC=0xC9[LCB_ERR_TIMEOUT (201)], 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,1209)>
      

      The same steps work fine with Couchbase server version 7.0.2-6703. So this is a regression. Other QE members report the same error while connecting to Analytics, N1QL nodes, and also using Couchbase Python client version 3.2.2

      Couchbase Python client version = 3.1.1
      libcouchbase version = 3.2.2

      code that doesnt work

      self.cb_admin = Admin(self.username, self.password, self.node_addr, self.node_port)
      self.cb_coll_mgr = CollectionManager(self.cb_admin, self.bucket_name)
      timeout_options = ClusterTimeoutOptions(kv_timeout=timedelta(seconds=120), query_timeout=timedelta(seconds=10))
      options = ClusterOptions(PasswordAuthenticator(self.username, self.password), timeout_options=timeout_options)
      self.cluster = Cluster('couchbase://{0}'.format(self.node_addr),
                                     options)
      self.cb = self.cluster.bucket(self.bucket_name)
      

      Attachments

        1. log with 1363.txt
          13 kB
        2. log with 1364.txt
          14 kB
        3. mb48970.py
          1 kB
        4. output_lcb_master_7.1.0-1056.txt
          8 kB
        5. output_lcb_master_7.1.0-1472.txt
          8 kB

        Issue Links

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

          Activity

            People

              Abhijeeth.Nuthan Abhijeeth Nuthan
              mihir.kamdar Mihir Kamdar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty