Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-10110

DBaaS: field status ignored when installing operators

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 2.29.0
    • 2.29.0
    • DBaaS controller
    • None
    • Yes
    • 1
    • Yes
    • Yes
    • No
    • Server Integrations

    Description

      User impact:

      User can get unexpected versions of operators

      Steps to reproduce:

      Start PMM dev-latest with -e PERCONA_TEST_VERSION_SERVICE_URL=https://check-dev.percona.com/versions/v1 env var where

      percona-server-mongodb-operator:1.12.0 = available
      percona-server-mongodb-operator:1.11.0 = recommended

      Register k8s cluster in dbaas
      Check installed versions of operators

      Actual result:

      percona/percona-server-mongodb-operator:1.12.0 is installed instead of percona/percona-server-mongodb-operator:1.11.0

      [email protected]:~$ docker inspect pmm-server | grep PERCONA_TEST_VERSION_SERVICE_URL
                      "PERCONA_TEST_VERSION_SERVICE_URL=https://check-dev.percona.com/versions/v1",
      [email protected]:~$ 
      [email protected]:~$ kubectl get pod
      NAME                                               READY   STATUS    RESTARTS   AGE
      percona-server-mongodb-operator-665cd69f9b-p9zpd   1/1     Running   0          12s
      percona-xtradb-cluster-operator-566848cf48-6tjcx   1/1     Running   0          22s
      [email protected]:~$ 
      [email protected]:~$ kubectl describe pod percona-server-mongodb-operator-665cd69f9b-p9zpd | grep -i image
          Image:         percona/percona-server-mongodb-operator:1.12.0
          Image ID:      docker-pullable://percona/percona-server-mongodb-operator@sha256:e9ed11994cef3f7ab33e126484d5d5991cccc00b54d066183d1c7abe8e29b802
        Normal  Pulling    83s   kubelet            Pulling image "percona/percona-server-mongodb-operator:1.12.0"
        Normal  Pulled     81s   kubelet            Successfully pulled image "percona/percona-server-mongodb-operator:1.12.0" in 2.154217109s

      Expected result:

      Correct versions of operators installed according to version service

      Workaround:

      Delete/apply operators manually

      Details:

      Attachments

        Activity

          People

            nurlan.moldomurov Nurlan Moldomurov
            beata.handzelova Beata Handzelova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist