Hide Forgot
packageserver needs to use imagePullPolicy of always, see https://github.com/openshift/origin/pull/22230 Snipped from the test: Mar 5 04:02:10.951: INFO: Pods found with invalid container image pull policy not equal to IfNotPresent: openshift-operator-lifecycle-manager/packageserver-58b67c5b9b-7ckmm/packageserver imagePullPolicy=Always openshift-operator-lifecycle-manager/packageserver-58b67c5b9b-fxtp8/packageserver imagePullPolicy=Always
All CVO payloads should use IfNotPresent. The PR you linked indicates this as well: https://github.com/openshift/origin/pull/22230 Here is the PR changing OLM to comply with that: https://github.com/operator-framework/operator-lifecycle-manager/pull/738
Jessica, Evan As Jessica said: > packageserver needs to use imagePullPolicy of always For now, the pull policy of pakcageserver already is "always": [jzhang@dhcp-140-18 ocp-09]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.0.0-0.nightly-2019-03-06-074438 True False 35h Cluster version is 4.0.0-0.nightly-2019-03-06-074438 [jzhang@dhcp-140-18 ocp-09]$ oc get pods -o yaml -n openshift-operator-lifecycle-manager|grep imagePullPolicy: imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent imagePullPolicy: Always imagePullPolicy: Always but, as the log shows, seems like we should use the "IfNotPresent". I'm confused, what's pull policy of the packageserver should be? Thanks! > e2e.Logf("Pods found with invalid container image pull policy not equal to IfNotPresent: %s", strings.Join(invalidPodContainerImagePullPolicy.List(), "\n")) > Pods found with invalid container image pull policy not equal to IfNotPresent: openshift-operator-lifecycle-manager/packageserver-58b67c5b9b-7ckmm/packageserver imagePullPolicy=Always
> I'm confused, what's pull policy of the packageserver should be? It should be "IfNotPresent"
LGTM, verify it. [jzhang@dhcp-140-18 ocp14]$ oc get pods NAME READY STATUS RESTARTS AGE catalog-operator-7fc84685c9-lvnlh 1/1 Running 0 22h olm-operator-575b5f98d8-tgmlj 1/1 Running 0 22h olm-operators-5nj66 1/1 Running 0 22h packageserver-7bc64c5d66-9dgcq 1/1 Running 0 138m packageserver-7bc64c5d66-pxv2d 1/1 Running 0 138m [jzhang@dhcp-140-18 ocp14]$ oc get pods -o yaml|grep imagePullPolicy imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent Cluster version: 4.0.0-0.nightly-2019-03-13-233958 olm info: io.openshift.build.commit.id=840d806a3b20e5ebb7229631d0168864b1cfed12 io.openshift.build.commit.url=https://github.com/operator-framework/operator-lifecycle-manager/commit/840d806a3b20e5ebb7229631d0168864b1cfed12 io.openshift.build.source-location=https://github.com/operator-framework/operator-lifecycle-manager
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, 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/RHBA-2019:0758