Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2688

Cannot set ports for services not on node in 7.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • operator
    • None
    • 1

    Description

      TestRemoveServerClassWithNodeService and TestExposedFeatureIP are failing on 7.1, both with the same error message:

      unexpected status code: request failed PUT http://test-couchbase-cf8n9-0001.test-couchbase-cf8n9.test-cp89j.svc:8091/node/controller/setupAlternateAddresses/external 400 Bad Request: Cannot set external ports ["kvSSL","kv","capiSSL","capi"] as services are unavailable on the node. 

      I think this indicates an issue with GetAlternateAddressExternalPorts() and how it interacts with the new, stricter, rules for setting external ports in 7.1 as changed in MB-49376 

      Attachments

        Issue Links

          For Gerrit Dashboard: K8S-2688
          # Subject Branch Project Status CR V

          Activity

            simon.murray Simon Murray added a comment -

            Actually there may be some sense behind this, there is no point advertising a service on a node that doesn't offer it to the client.  However... and here's where things get confusing, you may be able to get that initial cluster map from any node.  But that's up for debate, if in doubt, science...

            simon.murray Simon Murray added a comment - Actually there may be some sense behind this, there is no point advertising a service on a node that doesn't offer it to the client.  However... and here's where things get confusing, you may be able to get that initial cluster map from any node.  But that's up for debate, if in doubt, science...

            Build couchbase-operator-2.3.0-283 contains couchbase-operator commit 4bf2e4c with commit message:
            K8S-2688: Fix Alternate Addresses

            build-team Couchbase Build Team added a comment - Build couchbase-operator-2.3.0-283 contains couchbase-operator commit 4bf2e4c with commit message: K8S-2688 : Fix Alternate Addresses
            roo.thorp Roo Thorp added a comment -

            Tests are passing with fix on 7.1, and no regression in 7.0

            roo.thorp Roo Thorp added a comment - Tests are passing with fix on 7.1, and no regression in 7.0

            People

              simon.murray Simon Murray
              roo.thorp Roo Thorp
              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