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

TALM creates manageclusterview objects for every SNO during platform and operator upgrade upfront although it doesn't need them until much later

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Undefined
    • None
    • 4.11.z
    • TALM Operator
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      While attempting to upgrade both the platform and operators of 2340 SNOs, I found that TALM is creating all managedclusterview objects for "operator" upgrade first although this occurs after the platform is upgraded.  This seems wasteful because if a cluster fails to upgrade, we won't need to have the MCV objects anyhow. On top of that, MCVs are created only for non compliant clusters at the time, which can be a very different list before and after the platform upgrade. Any cluster that becomes non compliant later doesn't get the install plan approval due to the missing MCV. 
      

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

      Hub OCP 4.11.12
      SNO OCP 4.10.32 upgrading to 4.11.5

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      2022-11-03T15:11:45.522Z	INFO	multiCloudLog	[EnsureManagedClusterView] MCV doesn't exist, create it	{"name": "complete-upgrade-4.11.5-0000-ztp-platform-upgrade-subscription-sriov-network-operator-subscription-47nql", "namespace": "sno00001"}
      2022-11-03T15:11:45.529Z	INFO	multiCloudLog	[EnsureManagedClusterView] MCV doesn't exist, create it	{"name": "complete-upgrade-4.11.5-0000-ztp-platform-upgrade-subscription-sriov-network-operator-subscription-47nql", "namespace": "sno00002"}
      2022-11-03T15:11:45.537Z	INFO	multiCloudLog	[EnsureManagedClusterView] MCV doesn't exist, create it	{"name": "complete-upgrade-4.11.5-0000-ztp-platform-upgrade-subscription-sriov-network-operator-subscription-47nql", "namespace": "sno00004"}
      2022-11-03T15:11:45.543Z	INFO	multiCloudLog	[EnsureManagedClusterView] MCV doesn't exist, create it	{"name": "complete-upgrade-4.11.5-0000-ztp-platform-upgrade-subscription-sriov-network-operator-subscription-47nql", "namespace": "sno00005"}

      Expected results:

       

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              jche@redhat.com Jun Chen
              akrzos@redhat.com Alex Krzos
              Alex Krzos Alex Krzos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: