Bug 1524805
Summary: | Disconnected install fails at service catalog imagePullPolicy: Always | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Takayoshi Kimura <tkimura> |
Component: | Installer | Assignee: | Fabian von Feilitzsch <fabian> |
Status: | CLOSED ERRATA | QA Contact: | Gan Huang <ghuang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | ansverma, aos-bugs, dmoessne, fabian, jialiu, jkaur, jokerman, mmccomas |
Target Milestone: | --- | Keywords: | NeedsTestCase |
Target Release: | 3.9.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: The service catalog would always try to pull a newer image from the configured registry
Consequence: Disconnected installs would fail to deploy the service catalog, as the registry is not available
Fix: Changed imagePullPolicy to ifNotPresent
Result: If the image is present, the service catalog will not attempt to pull it again, and the disconnected install of the service catalog will proceed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-28 14:15:24 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
Takayoshi Kimura
2017-12-12 06:30:58 UTC
Commits pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/4fca5efde8ac210b96846a553153a444c13be4fb Bug 1524805- ServiceCatalog now works disconnected Change imagePullPolicy for service catalog from Always to IfNotPresent, allowing service catalog to install in a disconnected setting https://github.com/openshift/openshift-ansible/commit/0905e3ffb267317da5ae743f201438e2aca96f86 Merge pull request #6819 from fabianvf/1524805-service-catalog-pull-policy Automatic merge from submit-queue. Bug 1524805- ServiceCatalog now works disconnected Change imagePullPolicy for service catalog from Always to IfNotPresent, allowing service catalog to install in a disconnected setting https://bugzilla.redhat.com/show_bug.cgi?id=1524805 This bug is targeted for 3.9, while this bug is attached to a 3.5/3.6/3.7 errata, pls attach it to a correct errata. Tested in openshift-ansible-3.9.0-0.31.0.git.0.e0a0ad8.el7.noarch The imagePullPolicy of CFME templates is still Always, according to the bug, there seems a fix needed for CFME template as well. # find /usr/share/ansible/openshift-ansible/ -type f | xargs grep 'imagePullPolicy: Always' |grep '3\.9' /usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.9/cfme-templates/jboss-middleware-manager-template.yaml: imagePullPolicy: Always Commits pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/1815a3bf3d68d68027aa163606bcce80a8effe53 Bug 1524805- CFME example now works disconnected https://github.com/openshift/openshift-ansible/commit/26a72e6bb86d8c85c41c269bf1bd4dd8f3a5cd15 Merge pull request #7079 from fabianvf/1524805-cloudforms-pull-policy Bug 1524805- CFME example now works disconnected Verified in openshift-ansible-3.9.0-0.48.0.git.0.2fb33db.el7.noarch.rpm imagePullPolicy had been changed to IfNotPresent: # oc get ds -n kube-service-catalog -o yaml |grep imagePullPolicy imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent All the imagePullPolicy had been updated accordingly: # find /usr/share/ansible/openshift-ansible/ -type f | xargs grep 'imagePullPolicy: Always' |grep '3\.9' 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-2018:0489 |