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

Removing imageContentSources from HostedCluster does not update IDMS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.15
    • HyperShift
    • No
    • Hypershift Sprint 256, Hypershift Sprint 257
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the HostedClusterConfig Operator (HCCO) did not delete the `ImageDigestMirrorSet` CR (IDMS) after you removed the `ImageContentSources` field from the `HostedCluster` object. As a consequence, the IDMS persisted in the `HostedCluster` object when it should not. With this release, the HCCO manages the deletion of IDMS resources from the `HostedCluster` object. (link:https://issues.redhat.com/browse/OCPBUGS-34820[*OCPBUGS-34820*])
      Show
      * Previously, the HostedClusterConfig Operator (HCCO) did not delete the `ImageDigestMirrorSet` CR (IDMS) after you removed the `ImageContentSources` field from the `HostedCluster` object. As a consequence, the IDMS persisted in the `HostedCluster` object when it should not. With this release, the HCCO manages the deletion of IDMS resources from the `HostedCluster` object. (link: https://issues.redhat.com/browse/OCPBUGS-34820 [* OCPBUGS-34820 *])
    • Bug Fix
    • Done

      Description of problem:

          Removing imageContentSources from HostedCluster does not update IDMS for the cluster.

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

          Tested with 4.15.14

      How reproducible:

          100%

      Steps to Reproduce:

          1. add imageContentSources to HostedCluster
          2. verify it is applied to IDMS
          3. remove imageContentSources from HostedCluster
          

      Actual results:

          IDMS is not updated to remove imageDigestMirrors contents

      Expected results:

          IDMS is updated to remove imageDigestMirrors contents

      Additional info:

          Workaround, set imageContentSources=[]

              jparrill@redhat.com Juan Manuel Parrilla Madrid
              nmalik-srej Naveen Malik
              Feilian Xie Feilian Xie
              Laura Hinson Laura Hinson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: