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

Removing imageContentSources from HostedCluster does not update IDMS

XMLWordPrintable

    • No
    • Hypershift Sprint 256, Hypershift Sprint 257
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, `HostedClusterConfigOperator` did not delete the `ImageDigestMirrorSet` (IDMS) object after a user removed the `ImageContentSources` field from the `HostedCluster` object. This caused the IDMS object to remain in the `HostedCluster` object. With this release, `HostedClusterConfigOperator` removes all IDMS resources in the `HostedCluster` object so that this issue no longer exists. (link:https://issues.redhat.com/browse/OCPBUGS-37174[*OCPBUGS-37174*])
      Show
      * Previously, `HostedClusterConfigOperator` did not delete the `ImageDigestMirrorSet` (IDMS) object after a user removed the `ImageContentSources` field from the `HostedCluster` object. This caused the IDMS object to remain in the `HostedCluster` object. With this release, `HostedClusterConfigOperator` removes all IDMS resources in the `HostedCluster` object so that this issue no longer exists. (link: https://issues.redhat.com/browse/OCPBUGS-37174 [* OCPBUGS-37174 *])
    • Bug Fix
    • In Progress

      This is a clone of issue OCPBUGS-36766. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-34820. The following is the description of the original issue:

      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
            openshift-crt-jira-prow OpenShift Prow Bot
            Feilian Xie Feilian Xie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: