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

Operator sets incorrect Alternate Address after reconcile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.2.1
    • 1.2.0
    • operator

    Description

      After reconciling after a topology change in the cluster, the incorrect externalPorts are set for all nodes.

      For example:

      *Before*

      {
        "external":{
          "hostname": "cb-example-0000.cb-example.marabine.co.uk"
        }
      }
      

      *After*

      "alternateAddresses":{
        "external":{
          "hostname": "cb-example-0000.cb-example.marabine.co.uk",
          "ports":{
              "mgmtSSL":30024, 
              "cbasSSL":32499, 
              "ftsSSL":30091, 
              "kvSSL":30721, 
              "capiSSL":31127,
              "n1qlSSL":30605
          }
      }
      

      Steps to Reproduce
      1. Setup a cluster with public connectivity (i.e. DNS + LoadBalancer exposedFeatureServiceType).
      2. Wait for cluster to be setup and all pods to be marked ready.
      3. Manually failover a Couchbase Server node (works if you delete the pod too, but takes longer).
      4. Check the alternateAddresses set on Couchbase Server /pools/default/b/<bucketname>.

      Attachments

        Issue Links

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

          Activity

            People

              eric.schneider Eric Schneider (Inactive)
              matt.carabine Matt Carabine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty