Bug 1430706
| Summary: | atomic pull registry confusion | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Marko Myllynen <myllynen> |
| Component: | atomic | Assignee: | Lokesh Mandvekar <lsm5> |
| Status: | CLOSED DUPLICATE | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | ajia, amurdaca, bbaude, ddarrah, dwalsh, fkluknav, miabbott |
| Target Milestone: | rc | Keywords: | Extras |
| 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-05-03 14:31:19 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
Marko Myllynen
2017-03-09 11:31:38 UTC
In 7.3.2, atomic pull will search/download image from "registry-1.docker.io" and "registry.access.redhat.com" registry together.
[root@atomic-host-test-986 cloud-user]# atomic --debug pull rhel7/etcd
Image rhel7/etcd is being pulled to docker ...
[
{
"search": true,
"hostname": "registry-1.docker.io",
"name": "docker.io",
"secure": true
},
{
"search": true,
"hostname": "registry.access.redhat.com",
"name": "registry.access.redhat.com",
"secure": true
}
]
In 7.3.3, it seems atomic pull command searches/downloads image from "registry.access.redhat.com" registry prior to "registry-1.docker.io".
<snip>
Namespace(_class=<class 'Atomic.pull.Pull'>, assumeyes=False, debug=True, func='pull_image', image='rhel7/etcd', reg_type=None, storage=None)
Pulling registry.access.redhat.com/rhel7/etcd:latest ...
Executing: /usr/bin/skopeo --policy=/etc/containers/policy.json --debug copy --remove-signatures docker://registry.access.redhat.com/rhel7/etcd:latest docker-daemon:rhel7/etcd:latest
DEBU[0000] Using registries.d directory /etc/containers/registries.d for sigstore configuration
DEBU[0000] Using "default-docker" configuration
DEBU[0000] No signature storage configuration found for registry.access.redhat.com/rhel7/etcd:latest
DEBU[0000] IsRunningImageAllowed for image docker:registry.access.redhat.com/rhel7/etcd:latest
DEBU[0000] Using default policy section
DEBU[0000] Requirement 0: allowed
DEBU[0000] Overall: allowed
DEBU[0000] GET https://registry.access.redhat.com/v2/
DEBU[0000] Ping https://registry.access.redhat.com/v2/ err <nil>
DEBU[0000] Ping https://registry.access.redhat.com/v2/ status 200
DEBU[0000] GET https://registry.access.redhat.com/v2/rhel7/etcd/manifests/latest
DEBU[0002] Will convert manifest from MIME type text/plain to application/vnd.docker.distribution.manifest.v2+json
Copying blob sha256:154dc369ca0dfabd18ddeca63a8bced0dfaefaa0b2cd7cb6ec9513423d863652
DEBU[0002] Downloading rhel7/etcd/blobs/sha256:154dc369ca0dfabd18ddeca63a8bced0dfaefaa0b2cd7cb6ec9513423d863652
DEBU[0002] GET https://registry.access.redhat.com/v2/rhel7/etcd/blobs/sha256:154dc369ca0dfabd18ddeca63a8bced0dfaefaa0b2cd7cb6ec9513423d863652
</snip>
But the result is written "docker.io/rhel7/etcd" rather than "registry.access.redhat.com/rhel7/etcd/", it indeed confuses users.
*** This bug has been marked as a duplicate of bug 1437447 *** |