| Summary: | oc import returns success while it fails when using private registry | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jaspreet Kaur <jkaur> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.2.0 | CC: | aos-bugs, jkaur, jokerman, mfojtik, mmccomas, pweil |
| Target Milestone: | --- | Flags: | maszulik:
needinfo?
(jkaur) mfojtik: needinfo? (jkaur) |
| 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: | 2017-02-02 13:58:17 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: | |
|
Description
Jaspreet Kaur
2016-10-14 11:45:44 UTC
Jaspreet I've just tried what you've described in the issue replacing <registry:5000> with an image from a OpenShift registry, iow: oc import-image py3:3.5 --from=172.30.227.15:5000/openshift/python:3.5 --confirm --insecure That worked perfectly fine. With that in mind, can you provide me with following information: 1. openshift version 2. what <registry:5000> is in your case? 3. is it possible that <registry:5000> requires additional auth? 4. can you provide me with master logs with loglevel at least 5 (or 8 preferred) Best option is to provide a working reproducer that I can test against and work on a fix. As a final note, I'm using latest master [1] [1] https://github.com/openshift/origin/commit/7405f1754e53b97b99e7a2649352133386aa4ac8 Additionally, the log message: Import failed: you may not have access to the Docker image "yagi.cf... suggests you need authentication against the remote registry, in which case you should follow these guides: https://docs.openshift.org/latest/dev_guide/managing_images.html#private-registries I forgot to add I've verified the steps from linked doc on v3.2.2.1-1-ge37a755 without any problems. Is this still a problem or we can close this bug? |