Bug 1559291
| Summary: | oc cluster up fails with error if origin image is not pulled in advance | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> |
| Component: | oc | Assignee: | Jan Chaloupka <jchaloup> |
| oc sub component: | oc | QA Contact: | zhou ying <yinzhou> |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, jchaloup, mfojtik, mmccomas, vlaad |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-25 20:25:39 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: | |||
Started in 3.10. Fixed by https://github.com/openshift/origin/pull/19040 Tested with origin oc v3.10.0-alpha.0+1705a22-657 and ocp oc v3.10.0-0.20.0, image can be pulled automatically now. The bug has been fixed, so move it to Verified. |
Description of problem: oc cluster up failed with error if origin image is not pulled in advance Version-Release number of selected component (if applicable): oc v3.10.0-alpha.0+76b80f5-251 kubernetes v1.9.1+a0ce1bc657 features: Basic-Auth GSSAPI Kerberos SPNEGO How reproducible: Always Steps to Reproduce: 1.#./oc cluster up --image=docker.io/openshift/origin --version=latest --service-catalog=true Actual results: 1. Failed with error. # ./oc cluster up --image=docker.io/openshift/origin --version=latest --service-catalog=true error: FAIL Error: cannot create container using image docker.io/openshift/origin:latest Caused By: Error: Error: No such image: docker.io/openshift/origin:latest See more log with --loglevel=8 : http://pastebin.test.redhat.com/567757 Expected results: 1.Should try to pull origin image automatically. Additional info: After pull origin image in advance by run: # docker pull docker.io/openshift/origin:latest Rerun oc cluster up will no this error.