| Summary: | Fail to install OSE/AEP-3.1 using atomic-openshift-installer of 3.2 due to docker 1.9 conflict. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
| Component: | Installer | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED ERRATA | QA Contact: | Ma xiaoqiang <xiama> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.2.0 | CC: | anli, aos-bugs, bazulay, bleanhar, jokerman, kurktchiev, mbarrett, mmccomas, xtian |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | Flags: | bazulay:
needinfo?
(mbarrett) |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-12 16:39:49 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: | |
| Bug Depends On: | 1324371 | ||
| Bug Blocks: | |||
|
Description
Gaoyun Pei
2016-04-01 07:16:24 UTC
The error block the ugprade testing. so prompt to high.
TASK: [Upgrade Docker] ********************************************************
<ha2-master2.example.com> ESTABLISH CONNECTION FOR USER: root
<ha2-master2.example.com> REMOTE_MODULE command yum update -y docker
<ha2-master2.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master2.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459496976.86-91087558905315 && echo $HOME/.ansible/tmp/ansible-tmp-1459496976.86-91087558905315'
<ha2-master2.example.com> PUT /tmp/tmp1GFI6K TO /root/.ansible/tmp/ansible-tmp-1459496976.86-91087558905315/command
<ha2-master2.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master2.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1459496976.86-91087558905315/command; rm -rf /root/.ansible/tmp/ansible-tmp-1459496976.86-91087558905315/ >/dev/null 2>&1'
failed: [ha2-master2.example.com] => {"changed": true, "cmd": ["yum", "update", "-y", "docker"], "delta": "0:00:02.184337", "end": "2016-04-01 15:49:38.699255", "rc": 1, "start": "2016-04-01 15:49:36.514918", "warnings": ["Consider using yum module rather than running yum"]}
stderr: Error: docker conflicts with atomic-openshift-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
stdout: 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 docker.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Dependency: docker-forward-journald = 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Processing Dependency: docker-selinux >= 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Running transaction check
---> Package docker-forward-journald.x86_64 0:1.9.1-25.el7 will be installed
---> Package docker-selinux.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker-selinux.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Conflict: docker-1.9.1-25.el7.x86_64 conflicts atomic-openshift < 3.2
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
<ha2-master3.example.com> ESTABLISH CONNECTION FOR USER: root
<ha2-master3.example.com> REMOTE_MODULE command yum update -y docker
<ha2-master3.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master3.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459496976.87-269223290111397 && echo $HOME/.ansible/tmp/ansible-tmp-1459496976.87-269223290111397'
<ha2-master3.example.com> PUT /tmp/tmpsZqI28 TO /root/.ansible/tmp/ansible-tmp-1459496976.87-269223290111397/command
<ha2-master3.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master3.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1459496976.87-269223290111397/command; rm -rf /root/.ansible/tmp/ansible-tmp-1459496976.87-269223290111397/ >/dev/null 2>&1'
failed: [ha2-master3.example.com] => {"changed": true, "cmd": ["yum", "update", "-y", "docker"], "delta": "0:00:02.347513", "end": "2016-04-01 15:49:38.999117", "rc": 1, "start": "2016-04-01 15:49:36.651604", "warnings": ["Consider using yum module rather than running yum"]}
stderr: Error: docker conflicts with atomic-openshift-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
stdout: 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 docker.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Dependency: docker-forward-journald = 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Processing Dependency: docker-selinux >= 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Running transaction check
---> Package docker-forward-journald.x86_64 0:1.9.1-25.el7 will be installed
---> Package docker-selinux.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker-selinux.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Conflict: docker-1.9.1-25.el7.x86_64 conflicts atomic-openshift < 3.2
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
<ha2-master1.example.com> ESTABLISH CONNECTION FOR USER: root
<ha2-master1.example.com> REMOTE_MODULE command yum update -y docker
<ha2-master1.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master1.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459496976.86-10134044519058 && echo $HOME/.ansible/tmp/ansible-tmp-1459496976.86-10134044519058'
<ha2-master1.example.com> PUT /tmp/tmpYv7iHo TO /root/.ansible/tmp/ansible-tmp-1459496976.86-10134044519058/command
<ha2-master1.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master1.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1459496976.86-10134044519058/command; rm -rf /root/.ansible/tmp/ansible-tmp-1459496976.86-10134044519058/ >/dev/null 2>&1'
failed: [ha2-master1.example.com] => {"changed": true, "cmd": ["yum", "update", "-y", "docker"], "delta": "0:00:02.478976", "end": "2016-04-01 15:49:38.894550", "rc": 1, "start": "2016-04-01 15:49:36.415574", "warnings": ["Consider using yum module rather than running yum"]}
stderr: Error: docker conflicts with atomic-openshift-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
stdout: 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 docker.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Dependency: docker-forward-journald = 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Processing Dependency: docker-selinux >= 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Running transaction check
---> Package docker-forward-journald.x86_64 0:1.9.1-25.el7 will be installed
---> Package docker-selinux.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker-selinux.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Conflict: docker-1.9.1-25.el7.x86_64 conflicts atomic-openshift < 3.2
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
<ha2-node2.example.com> ESTABLISH CONNECTION FOR USER: root
<ha2-node2.example.com> REMOTE_MODULE command yum update -y docker
<ha2-node2.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-node2.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459496976.87-79371629044688 && echo $HOME/.ansible/tmp/ansible-tmp-1459496976.87-79371629044688'
<ha2-node2.example.com> PUT /tmp/tmp2d_OGo TO /root/.ansible/tmp/ansible-tmp-1459496976.87-79371629044688/command
<ha2-node2.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-node2.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1459496976.87-79371629044688/command; rm -rf /root/.ansible/tmp/ansible-tmp-1459496976.87-79371629044688/ >/dev/null 2>&1'
failed: [ha2-node2.example.com] => {"changed": true, "cmd": ["yum", "update", "-y", "docker"], "delta": "0:00:02.609816", "end": "2016-04-01 15:49:40.065386", "rc": 1, "start": "2016-04-01 15:49:37.455570", "warnings": ["Consider using yum module rather than running yum"]}
stderr: Error: docker conflicts with atomic-openshift-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
stdout: 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 docker.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Dependency: docker-forward-journald = 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Processing Dependency: docker-selinux >= 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Running transaction check
---> Package docker-forward-journald.x86_64 0:1.9.1-25.el7 will be installed
---> Package docker-selinux.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker-selinux.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Conflict: docker-1.9.1-25.el7.x86_64 conflicts atomic-openshift < 3.2
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
<ha2-node1.example.com> ESTABLISH CONNECTION FOR USER: root
<ha2-node1.example.com> REMOTE_MODULE command yum update -y docker
<ha2-node1.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-node1.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459496976.87-127051582213829 && echo $HOME/.ansible/tmp/ansible-tmp-1459496976.87-127051582213829'
<ha2-node1.example.com> PUT /tmp/tmpZmVSek TO /root/.ansible/tmp/ansible-tmp-1459496976.87-127051582213829/command
<ha2-node1.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-node1.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1459496976.87-127051582213829/command; rm -rf /root/.ansible/tmp/ansible-tmp-1459496976.87-127051582213829/ >/dev/null 2>&1'
failed: [ha2-node1.example.com] => {"changed": true, "cmd": ["yum", "update", "-y", "docker"], "delta": "0:00:02.967611", "end": "2016-04-01 15:49:39.591291", "rc": 1, "start": "2016-04-01 15:49:36.623680", "warnings": ["Consider using yum module rather than running yum"]}
stderr: Error: docker conflicts with atomic-openshift-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
stdout: 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 docker.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Dependency: docker-forward-journald = 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Processing Dependency: docker-selinux >= 1.9.1-25.el7 for package: docker-1.9.1-25.el7.x86_64
--> Running transaction check
---> Package docker-forward-journald.x86_64 0:1.9.1-25.el7 will be installed
---> Package docker-selinux.x86_64 0:1.8.2-8.el7 will be updated
---> Package docker-selinux.x86_64 0:1.9.1-25.el7 will be an update
--> Processing Conflict: docker-1.9.1-25.el7.x86_64 conflicts atomic-openshift < 3.2
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
FATAL: all hosts have already failed -- aborting
please ignore the comment1, it turn out another bug. not a test block for upgrade. Scott is working on a PR to ensure that Docker 1.8 is installed in all environment < OSE 3.2. This still sound like a blocker to me. The reason is that currently customers can not deploy openshift 3.1, and here is why: when deploying openshift one must register to 3 different repos: """ subscription-manager repos --enable="rhel-7-server-rpms" --enable="rhel-7-server-extras-rpms" --enable="rhel-7-server-ose-3.1-rpms" """ when ansible installer runs it tries first to update the docker package.it gets docker 1.9.1-25.el7 from repo rhel-7-server-extras-rpms, and this package conflicts with openshift < 3.2. So it makes it impossible to install, should it be released to 3.1 zstream ASAP ? We're working to ship a fix for this as soon as possible. The best workaround I know of is to run 'yum install docker-1.8.2' before you run ansible. *** Bug 1324130 has been marked as a duplicate of this bug. *** Sorry I should've seen this bug before creating another. The other one is attached to an errata already so i'm going to close this as a dupe of that. *** This bug has been marked as a duplicate of bug 1323238 *** Actually, this bug is not describing the same issue with BZ#1323238, it was opened to expect the fix in BZ#1320695 which was merged into openshift-ansible-3.0.47-6.git.0.7e39163.el7aos only for 3.1 installer. When the hosts to be installed have docker-1.9 pre-installed, try to install ose-3.1 with 3.2 a-o-i(atomic-openshift-utils-3.0.72-1), it would still encounter the conflict error. The installer wouldn't downgrade docker to docker-1.8 as openshift-ansible-utils-3.0.47-6 did, this is why the bug opened for the a-o-i of 3.2 Since BZ#1324371 was verified, no docker conflict error happened during installing 3.1 with the 3.2 a-o-i now, ansible would downgrade the docker correctly, so the original issue tracking in this bug has been fixed. Fixed in version atomic-openshift-utils-3.0.75-1.git.0.83b3b91.el7.noarch. Another blocking issue of the 3.1 installation with 3.2 a-o-i is that docker service couldn't get start after downgrade, this would be tracked in BZ#1324727 separately. 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-2016:1065 |