Bug 2257711
| Summary: | ocs-metrics-exporter is not updated when ocs-operator is upgraded | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | arun kumar mohan <amohan> |
| Component: | ocs-operator | Assignee: | umanga <uchapaga> |
| Status: | CLOSED ERRATA | QA Contact: | Vijay Avuthu <vavuthu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.14 | CC: | amohan, muagarwa, nthomas, odf-bz-bot, skatiyar |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.15.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.15.0-123 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-03-19 15:31:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
arun kumar mohan
2024-01-10 15:10:08 UTC
1. installed multi storagecluster with version ocs-registry:4.15.0-123
oc get csv
NAME DISPLAY VERSION REPLACES PHASE
mcg-operator.v4.15.0-123.stable NooBaa Operator 4.15.0-123.stable Succeeded
ocs-operator.v4.15.0-123.stable OpenShift Container Storage 4.15.0-123.stable Succeeded
odf-csi-addons-operator.v4.15.0-123.stable CSI Addons 4.15.0-123.stable Succeeded
odf-operator.v4.15.0-123.stable OpenShift Data Foundation 4.15.0-123.stable Succeeded
$
2. check Image for ocs-metrics-exporter pod in both NS "openshift-storage" and "openshift-storage-extended"
$ oc get pod ocs-metrics-exporter-cc78f875f-58kxh -o yaml | egrep -i "image:|imageID:"
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:a281e43809417a0fc2ae5743f5822a16c717dda107dd3c8d2e86cca7da04c669
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:a281e43809417a0fc2ae5743f5822a16c717dda107dd3c8d2e86cca7da04c669
imageID: 232913f8c4459b8fdb208933664e69404b1e7dbfdafe0943ca495a9cad66b9f8
$
$ oc get pod ocs-metrics-exporter-69d4ddb9-xfqlc -o yaml -n openshift-storage-extended | egrep -i "image:|imageID:"
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:a281e43809417a0fc2ae5743f5822a16c717dda107dd3c8d2e86cca7da04c669
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:a281e43809417a0fc2ae5743f5822a16c717dda107dd3c8d2e86cca7da04c669
imageID: 232913f8c4459b8fdb208933664e69404b1e7dbfdafe0943ca495a9cad66b9f8
$
3. upgrade odf to ocs-registry:4.15.0-125
$ oc get csv
NAME DISPLAY VERSION REPLACES PHASE
mcg-operator.v4.15.0-125.stable NooBaa Operator 4.15.0-125.stable mcg-operator.v4.15.0-123.stable Succeeded
ocs-operator.v4.15.0-125.stable OpenShift Container Storage 4.15.0-125.stable ocs-operator.v4.15.0-123.stable Succeeded
odf-csi-addons-operator.v4.15.0-125.stable CSI Addons 4.15.0-125.stable odf-csi-addons-operator.v4.15.0-123.stable Succeeded
odf-operator.v4.15.0-125.stable OpenShift Data Foundation 4.15.0-125.stable odf-operator.v4.15.0-123.stable Succeeded
$
4. Again check Image for ocs-metrics-exporter pod in both NS "openshift-storage" and "openshift-storage-extended" and image should be upgraded
$ oc get pods | grep -i ocs-metrics-exporter
ocs-metrics-exporter-b94d575ff-p7fm8 1/1 Running 0 7m29s
$
$ oc get pod ocs-metrics-exporter-b94d575ff-p7fm8 -o yaml | egrep -i "image:|imageID:"
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:f723bd14abc53be69d971541fb02b2d46f4d37ed9501a2f4fa498437fa43e620
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:f723bd14abc53be69d971541fb02b2d46f4d37ed9501a2f4fa498437fa43e620
imageID: f7773d5416c9348587c89d297e0ceec823e34a61b2e2b5232af7d60142766339
$
$ oc get pods -n openshift-storage-extended
NAME READY STATUS RESTARTS AGE
ocs-metrics-exporter-66cb9b9bfc-78d82 1/1 Running 0 6m25s
$
$ oc get pod ocs-metrics-exporter-66cb9b9bfc-78d82 -o yaml -n openshift-storage-extended | egrep -i "image:|imageID:"
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:f723bd14abc53be69d971541fb02b2d46f4d37ed9501a2f4fa498437fa43e620
image: registry.redhat.io/odf4/ocs-metrics-exporter-rhel9@sha256:f723bd14abc53be69d971541fb02b2d46f4d37ed9501a2f4fa498437fa43e620
imageID: f7773d5416c9348587c89d297e0ceec823e34a61b2e2b5232af7d60142766339
$
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 (Important: Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & bug fix update), 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-2024:1383 |