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

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.19.z
    • 4.19.0
    • Networking / multus
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • CORENET Sprint 275
    • 1
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-57643. The following is the description of the original issue:

      When uprading a cluster to 4.19 with the whereabouts-shim enabled, the CNO is stuck with: 

      Working towards 4.19.0: 753 of 918 done (82% complete), waiting on network over 30 minutes which is longer than expected

      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.19.0-rc.5 -n openshift-multus
      oc annotate  deploy whereabouts-controller release.openshift.io/version=4.19.0-rc.5 -n openshift-multus

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

       

              bpickard@redhat.com Ben Pickard
              rhn-support-bverschu Bram Verschueren
              None
              None
              Ying Wang Ying Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: