Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-60795

Network operator not updating due to missing release version annotation on whereabouts-controller and whereabouts-token-watcher

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.18.0
    • 4.18.0
    • Networking / multus
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Important
    • None
    • None
    • Rejected
    • CORENET Sprint 276
    • 1
    • contract-priority
    • Done
    • Bug Fix
    • Hide
      *Cause*: What actions or circumstances cause this bug to present.
      *Consequence*: What happens when the bug presents.
      *Fix*: What was done to fix the bug.
      *Result*: Bug doesn’t present anymore.
      Show
      *Cause*: What actions or circumstances cause this bug to present. *Consequence*: What happens when the bug presents. *Fix*: What was done to fix the bug. *Result*: Bug doesn’t present anymore.
    • None
    • None
    • None
    • None

      When uprading a cluster from 4.18.6 to 4.18.22, the CNO is stuck with: 

      Working towards 4.18.22: 739 of 903 done (81% complete), waiting on       network

      Both the "whereabouts-token-watcher" daemonset and "whereabouts-controller" deployment in the openshift-multus namespace are missing a "release.openshift.io/version" annotation.

      During an upgrade, the CNO verifies this annotation  [1] and halts the upgrade if that annotation is absent.

      To workaround this, the CNO can be set unmanaged and the annotation set on the daemonset and deployment, afterwards the upgrade continues:

      oc patch network.operator.openshift.io cluster --patch '{"spec":{"managementState":"Unmanaged"}}' --type='merge'
      oc annotate daemonset whereabouts-token-watcher release.openshift.io/version=4.18.22 -n openshift-multus
      oc annotate  deploy whereabouts-controller release.openshift.io/version=4.18.22 -n openshift-multus

       [1]https://github.com/openshift/cluster-network-operator/blob/2a1d6159a44bf8aa26bba9981f144006a1d99990/pkg/controller/statusmanager/pod_status.go#L114-L116

       

              pliurh Peng Liu
              rhn-support-bverschu Bram Verschueren
              None
              None
              Ying Wang Ying Wang
              None
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: