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

The label instance-type is not reconciled on newer OCP versions and when there is a change

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The label [node.kubernetes.io/instance-type=] does not get applied with a cluster that comes from an older version 4.12< and does not get updated in case of a change (upgrade/downgrade) of an instance in the cloud provided.

      Steps to Reproduce:

      [1st Scenario]
      Install OCP 4.12 upgrade to 4.14 the label is not present while on new node added to the cluster will have the label.
      
      [2nd Scenario]
      On 4.14> upgrade or downgrade the instance, the label will still have the old description of the previous instance.

      Actual results:

      - Nodes coming from older versions will miss this labels
      - The label does not get reconciled with the actual instance type.

      Expected results:

      - After cluster updated all the nodes will have this label applied
      - After a change of instance the label will be in sync with the running instance

      Additional info:

      - Tested on VMware but can affect all other cloud providers.
      - https://github.com/openshift/kubernetes-cloud-provider/commit/8126d41b711ef1d4dc2db7a9ebe3e839e426e5aa#diff-de499ed08295a0dff6e4a0feb59d15bb9f70bd4dc2316390fb109e0cea0e4616R291

       

              joelspeed Joel Speed
              rhn-support-csaggin Cristiano Saggin
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: