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

Block cluster upgrade to 4.20 is customer is using reserved key words in externalLabels

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      Before this update, users could set `prometheus`, `prometheus_replica`, or `cluster` as Prometheus external labels to the `cluster-monitoring-config` and `user-workload-monitoring-config` config maps. This was not recommended and could cause issues with the cluster. With this release, when you run `oc adm upgrade`, Upgradeable is False if reserved Prometheus externalLabels are used, the upgrade is blocked
      Show
      Before this update, users could set `prometheus`, `prometheus_replica`, or `cluster` as Prometheus external labels to the `cluster-monitoring-config` and `user-workload-monitoring-config` config maps. This was not recommended and could cause issues with the cluster. With this release, when you run `oc adm upgrade`, Upgradeable is False if reserved Prometheus externalLabels are used, the upgrade is blocked
    • None
    • None
    • None
    • None

      Description of problem:

      For customer who are going to upgrade to 4.20 they should have their upgrade blocked if they are using key words that are reserved for externallabels as per the bug https://issues.redhat.com/browse/OCPBUGS-18282

      Version-Release number of selected component (if applicable):

      4.19

      How reproducible:

       

      Steps to Reproduce:

          1. In a 4.19 cluster add external labels under prometheus section 
          2. start upgrade to 4.20 uprgade will be blocked due to reserved word 
          3.
          

      Actual results:

      upgrade proceeds and gets halted 

      Expected results:

      Due to restriction on labels it should block the upgrade and until the label is removed uprgade should not be allowed.

      Additional info:

          

              rh-ee-amrini Ayoub Mrini
              rhn-support-ssonigra Sonigra Saurab
              None
              None
              Junqi Zhao Junqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: