Description of problem: ---------------------- After modifying successfully the HCO CR by adding a new key with its value (localStorageClassName: myLocalStorageClassName), the changes are saved in the HCO CR, propagated to the appropriate configmap (kubevirt-storage-class-defaults), but the corresponding resourceVersion in the HCO CR's relatedObjects is not updated. Version-Release number of selected component (if applicable): ------------------------------------------------------------ 4.8.0 How reproducible: ---------------- 100% Steps to Reproduce: 1. Check the resourceVersion of kubevirt-storage-class-defaults configmap in HCO CR's relatedObjects list. 2. Add the following to HCO CR spec: localStorageClassName: myLocalStorageClassName 3. Examine the kubevirt-storage-class-defaults configmap (to verify that changes were propagated properly) 4. Repeat step 1. Actual results: -------------- [OK] the following was added to the kubevirt-storage-class-defaults configmap: “myLocalStorageClassName.accessMode": "ReadWriteOnce" “myLocalStorageClassName.volumeMode": "Filesystem" [NOT OK] the resourceVersion from step 1 and step 4 are identical. Expected results: ---------------- the resourceVersion should have been changed. Additional info: --------------- There is another configmap in which this bug DOES NOT occur, i.e. working properly: v2v-vmware configmap.
Verified on CNV 4.8.0 (hco-bundle-registry-container-v4.8.0-388) (registry-proxy.engineering.redhat.com/rh-osbs/iib:80270) -------------------------------------------------------------------------------------------------------------------------- This bug was found using the automation I wrote: modifying certain fields and verifying the objects/CRs HCO controls. The single test that failed was on this configmap. Re-running all the tests with the aforementioned build, resulted in flawless success (including this particular test that failed). Moving to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.8.0 Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2920