Bug 1385584

Summary: file /etc/containers/registries.d/default.yaml conflicts between attempted installs of atomic and skopeo
Product: Red Hat Enterprise Linux 7 Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: atomicAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: ajia, fkluknav, imcleod, jpazdziora, lfriedma
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: atomic-1:1.13.1-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1386386 (view as bug list) Environment:
Last Closed: 2016-12-06 17:42:31 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:
Bug Depends On:    
Bug Blocks: 1386386    

Description Jan Pazdziora (Red Hat) 2016-10-17 11:01:29 UTC
Description of problem:

Attempt to install latest atomic pulls it dependency which kills the transaction.

Version-Release number of selected component (if applicable):

atomic-1:1.13.1-1.el7.x86_64
skopeo-1:0.1.17-0.1.git550a480.el7.x86_64

How reproducible:

Seen once, assume deterministic.

Steps to Reproduce:
1. Enable latest Extras repo.
2. Run yum install -y --nogpgcheck atomic

Actual results:

Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package atomic.x86_64 1:1.13.1-1.el7 will be installed
--> Processing Dependency: python-docker-py >= 1.7.2-1 for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: python-six >= 1.3.0 for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: python-websocket-client >= 0.11.0 for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: skopeo >= 1:0.1.13-7 for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: PyYAML for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: docker for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: python-ipaddress for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: python-requests for package: 1:atomic-1.13.1-1.el7.x86_64
--> Processing Dependency: python-setuptools for package: 1:atomic-1.13.1-1.el7.x86_64
--> Running transaction check
---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-11.el7.x86_64
---> Package docker.x86_64 0:1.12.2-3.el7 will be installed
--> Processing Dependency: docker-common = 1.12.2-3.el7 for package: docker-1.12.2-3.el7.x86_64
--> Processing Dependency: docker-rhel-push-plugin = 1.12.2-3.el7 for package: docker-1.12.2-3.el7.x86_64
--> Processing Dependency: container-selinux >= 1.12.2-3.el7 for package: docker-1.12.2-3.el7.x86_64
--> Processing Dependency: oci-register-machine >= 1:0-1.8 for package: docker-1.12.2-3.el7.x86_64
--> Processing Dependency: oci-systemd-hook >= 1:0.1.4-5 for package: docker-1.12.2-3.el7.x86_64
--> Processing Dependency: subscription-manager-plugin-container for package: docker-1.12.2-3.el7.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: docker-1.12.2-3.el7.x86_64
---> Package python-docker-py.noarch 0:1.9.0-1.el7 will be installed
---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed
---> Package python-requests.noarch 0:2.6.0-1.el7_1 will be installed
--> Processing Dependency: python-urllib3 >= 1.10.2-1 for package: python-requests-2.6.0-1.el7_1.noarch
---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed
--> Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-4.el7.noarch
---> Package python-six.noarch 0:1.9.0-2.el7 will be installed
---> Package python-websocket-client.noarch 0:0.32.0-116.el7 will be installed
---> Package skopeo.x86_64 1:0.1.17-0.1.git550a480.el7 will be installed
--> Running transaction check
---> Package container-selinux.x86_64 0:1.12.2-3.el7 will be installed
--> Processing Dependency: policycoreutils-python for package: container-selinux-1.12.2-3.el7.x86_64
---> Package docker-common.x86_64 0:1.12.2-3.el7 will be installed
---> Package docker-rhel-push-plugin.x86_64 0:1.12.2-3.el7 will be installed
---> Package libseccomp.x86_64 0:2.3.1-2.el7 will be installed
---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed
---> Package oci-register-machine.x86_64 1:0-1.9.gitaf6c129.el7 will be installed
---> Package oci-systemd-hook.x86_64 1:0.1.4-6.git337078c.el7 will be installed
--> Processing Dependency: libyajl.so.2()(64bit) for package: 1:oci-systemd-hook-0.1.4-6.git337078c.el7.x86_64
---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be installed
--> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
---> Package python-urllib3.noarch 0:1.10.2-2.el7_1 will be installed
---> Package subscription-manager-plugin-container.x86_64 0:1.17.15-1.el7 will be installed
--> Running transaction check
---> Package policycoreutils-python.x86_64 0:2.5-8.el7 will be installed
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-4 for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: setools-libs >= 3.3.8-1 for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-8.el7.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-8.el7.x86_64
---> Package python-backports.x86_64 0:1.0-8.el7 will be installed
---> Package yajl.x86_64 0:2.0.4-4.el7 will be installed
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.6.5-3.el7 will be installed
---> Package checkpolicy.x86_64 0:2.5-4.el7 will be installed
---> Package libcgroup.x86_64 0:0.41-11.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-4.el7 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package setools-libs.x86_64 0:3.3.8-1.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch   Version                     Repository     Size
================================================================================
Installing:
 atomic                  x86_64 1:1.13.1-1.el7              extras        1.0 M
Installing for dependencies:
 PyYAML                  x86_64 3.10-11.el7                 beaker-Server 153 k
 audit-libs-python       x86_64 2.6.5-3.el7                 beaker-Server  70 k
 checkpolicy             x86_64 2.5-4.el7                   beaker-Server 290 k
 container-selinux       x86_64 1.12.2-3.el7                extras         79 k
 docker                  x86_64 1.12.2-3.el7                extras         24 M
 docker-common           x86_64 1.12.2-3.el7                extras        998 k
 docker-rhel-push-plugin x86_64 1.12.2-3.el7                extras        2.3 M
 libcgroup               x86_64 0.41-11.el7                 beaker-Server  65 k
 libseccomp              x86_64 2.3.1-2.el7                 beaker-Server  56 k
 libsemanage-python      x86_64 2.5-4.el7                   beaker-Server 103 k
 libyaml                 x86_64 0.1.4-11.el7_0              beaker-Server  55 k
 oci-register-machine    x86_64 1:0-1.9.gitaf6c129.el7      extras        1.1 M
 oci-systemd-hook        x86_64 1:0.1.4-6.git337078c.el7    extras         28 k
 policycoreutils-python  x86_64 2.5-8.el7                   beaker-Server 444 k
 python-IPy              noarch 0.75-6.el7                  beaker-Server  32 k
 python-backports        x86_64 1.0-8.el7                   beaker-Server 5.8 k
 python-backports-ssl_match_hostname
                         noarch 3.4.0.2-4.el7               beaker-Server  12 k
 python-docker-py        noarch 1.9.0-1.el7                 extras         85 k
 python-ipaddress        noarch 1.0.16-2.el7                beaker-Server  34 k
 python-requests         noarch 2.6.0-1.el7_1               beaker-Server  93 k
 python-setuptools       noarch 0.9.8-4.el7                 beaker-Server 397 k
 python-six              noarch 1.9.0-2.el7                 beaker-Server  29 k
 python-urllib3          noarch 1.10.2-2.el7_1              beaker-Server 100 k
 python-websocket-client noarch 0.32.0-116.el7              extras
                                                                           56 k
 setools-libs            x86_64 3.3.8-1.1.el7               beaker-Server 610 k
 skopeo                  x86_64 1:0.1.17-0.1.git550a480.el7 extras        2.4 M
 subscription-manager-plugin-container
                         x86_64 1.17.15-1.el7               beaker-Server 184 k
 yajl                    x86_64 2.0.4-4.el7                 beaker-Server  39 k

Transaction Summary
================================================================================
Install  1 Package (+28 Dependent packages)

Total download size: 35 M
Installed size: 155 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                               17 MB/s |  35 MB  00:02     
Running transaction check
Running transaction test


Transaction check error:
  file /etc/containers/registries.d/default.yaml conflicts between attempted installs of atomic-1:1.13.1-1.el7.x86_64 and skopeo-1:0.1.17-0.1.git550a480.el7.x86_64

Error Summary
-------------

Expected results:

No error, atomic (and its dependencies) installed.

Additional info:

Comment 8 Alex Jia 2016-11-01 09:11:26 UTC
I can successfully install skopeo-0.1.17-0.5.git1f655f3.el7.x86_64 with atomic-1.13.1-3.el7.x86_64.rpm or atomic-1.13.5-1.el7.x86_64 now, so move the bug to VERIFIED status.

Comment 10 errata-xmlrpc 2016-12-06 17:42:31 UTC
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://rhn.redhat.com/errata/RHBA-2016-2857.html