Bug 2208563
| Summary: | The ocs-operator uses the `Always` pull policy for images pulled by digest | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Juan Hernández <juan.hernandez> |
| Component: | ocs-operator | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED ERRATA | QA Contact: | Coady LaCroix <clacroix> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.12 | CC: | muagarwa, nigoyal, odf-bz-bot, uchapaga, wking |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.14.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.14.0-111 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-08 18:50:22 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
Juan Hernández
2023-05-19 14:48:40 UTC
A possible way to address this issue would be to change the `cvs-merger` tool so that it sets the image pull policy to `IfNotPresent` when the images are pulled by digest. That is implemented in this pull request: Use IfNotPresent pull policy for images pulled by digest #2056 https://github.com/red-hat-storage/ocs-operator/pull/2056 Deployed ODF 4.14.0 and verified that the ocs-operator imagePullPolicy is `IfNotPresent`: $ oc get deployment -n openshift-storage ocs-operator -o json | jq -r '.spec.template.spec.containers[] | .image + " " + .imagePullPolicy' registry.redhat.io/odf4/ocs-rhel9-operator@sha256:bf72ea7fcf5b1145ef369304296bfffa1e62146f38899fb6cf63d971d13f9ec5 IfNotPresent $ oc get csv -n openshift-storage ocs-operator.v4.14.0-139.stable NAME DISPLAY VERSION REPLACES PHASE ocs-operator.v4.14.0-139.stable OpenShift Container Storage 4.14.0-139.stable Succeeded 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.14.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-2023:6832 |