-
Bug
-
Resolution: Can't Do
-
Major
-
None
-
4.13
-
Important
-
None
-
False
-
-
Description of problem:
Packagemanifest version mismatches with actual install version for cluster logging operator
Version-Release number of selected component (if applicable):
Spoke/Managed cluster running with 4.13.0-0.nightly-2023-05-01-220847 ~]$ oc get clusterversions.config.openshift.io NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.13.0-0.nightly-2023-05-01-220847 True False 13h Cluster version is 4.13.0-0.nightly-2023-05-01-220847
How reproducible:
100%
Steps to Reproduce:
1. Upgrade spoke/managed cluster operators from image source = brew 2. Register cluster-logging package-manifest 3. Wait for cluster-logging.v5.6.1 CSV to succeed 4. Observed Actual install version of cluster logging operator is 5.6.5
Actual results:
[ ~]$ oc get csv cluster-logging.v5.6.1 -n openshift-logging -o custom-columns=Phase:.status.phase --no-headers=true Error from server (NotFound): clusterserviceversions.operators.coreos.com "cluster-logging.v5.6.1" not found [ ~]$ oc get csv -n openshift-logging NAME DISPLAY VERSION REPLACES PHASE cluster-logging.v5.6.5 Red Hat OpenShift Logging 5.6.5 cluster-logging.v5.6.4 Succeeded [ ~]$ oc get packagemanifests.packages.operators.coreos.com cluster-logging -o yaml | grep 5.6 - currentCSV: cluster-logging.v5.6.1 olm.skipRange: '>=4.6.0-0 <5.6.1' - registry.redhat.io/openshift-logging/logging-view-plugin-rhel8@sha256:44a4a37cde32e066dcddf870ecc3d94130c03434e770c245568a51ced3d0d8af version: 5.6.1 - name: cluster-logging.v5.6.1 version: 5.6.1 - currentCSV: cluster-logging.v5.6.1 olm.skipRange: '>=4.6.0-0 <5.6.1' - registry.redhat.io/openshift-logging/logging-view-plugin-rhel8@sha256:44a4a37cde32e066dcddf870ecc3d94130c03434e770c245568a51ced3d0d8af version: 5.6.1 - name: cluster-logging.v5.6.1 version: 5.6.1 name: stable-5.6 [~]$
Expected Results:
Packagemanifest output should be as below when I run the command - $"oc get packagemanifests.packages.operators.coreos.com cluster-logging -o yaml | grep 5.6",
- name: cluster-logging.v5.6.5
version: 5.6.5
Additional info: