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

MCN CRD clean up script should use legacy master node label and log all errors

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • None
    • None
    • None
    • None
    • MCO Sprint 277
    • 1
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      The MCN CRD cleanup has a couple of issues that ROSA classic folks ran into:

      • It uses the newer node-role.kubernetes.io/control-plane: "" in its nodeselector. On clusters that have old master nodes, this could pose an issue, since they'll likely only have the legacy node-role.kubernetes.io/master: "" label. This will prevent the cronjob from getting scheduled. 
      • It only fails the job when the delete operation fails. For the commands that actually check for the problematic CRD, we currently eat the error. We should log the error in these cases so we're able to debug the root cause.

      ---------------------------------------
      As a workaround to get the upgrade moving , go ahead and add the label as below

      $ oc label node <control-plane-node-name> node-role.kubernetes.io/control-plane=

              djoshy David Joshy
              djoshy David Joshy
              None
              None
              None
              None
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: