Bug 1334187
Summary: | Fail to downgrade docker from docker-1.9.1-40 to docker-1.8.2 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
Component: | Installer | Assignee: | Scott Dodson <sdodson> |
Status: | CLOSED ERRATA | QA Contact: | Ma xiaoqiang <xiama> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.1.0 | CC: | aos-bugs, jokerman, judd, mmccomas, tdawson, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Due to docker-1.9.1-40 packaging changes it's no longer possible to use `yum downgrade` to downgrade from docker-1.9.1 to docker-1.8.2 as required for OSE 3.1 and 3.0 installations. The installer has been updated to use `yum swap` to perform this downgrade when necessary.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-07 10:56:01 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
Gaoyun Pei
2016-05-09 06:52:30 UTC
Verify this with latest master branch. Will move this to verified once openshift-ansible 3.0.89-1 package was included in Errata puddle. During installation of ose-3.1, docker-1.9.1-40 could be downgraded to docker-1.8.2 successfully. TASK: [docker | Downgrade docker if necessary] ******************************** changed: [openshift-x.com] => {"changed": true, "cmd": ["yum", "swap", "-y", "docker-*", "docker-*1.8.2"], "delta": "0:00:21.954746", "end": "2016-05-09 22:27:07.736920", "rc": 0, "start": "2016-05-09 22:26:45.782174", "stderr": "", "stdout": "Loaded plugins: product-id, search-disabled-repos, subscription-manager\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\nResolving Dependencies\n--> Running transaction check\n---> Package docker.x86_64 0:1.8.2-10.el7 will be installed\n---> Package docker.x86_64 0:1.9.1-40.el7 will be erased\n---> Package docker-common.x86_64 0:1.9.1-40.el7 will be erased\n---> Package docker-forward-journald.x86_64 0:1.9.1-40.el7 will be erased\n---> Package docker-logrotate.x86_64 0:1.8.2-10.el7 will be installed\n---> Package docker-selinux.x86_64 0:1.8.2-10.el7 will be installed\n---> Package docker-selinux.x86_64 0:1.9.1-40.el7 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n docker x86_64 1.8.2-10.el7 rhel-7-extra 10 M\n docker-logrotate x86_64 1.8.2-10.el7 rhel-7-extra 46 k\n docker-selinux x86_64 1.8.2-10.el7 rhel-7-extra 63 k\nRemoving:\n docker x86_64 1.9.1-40.el7 @docker-19 37 M\n docker-common x86_64 1.9.1-40.el7 @docker-19 2.4 k\n docker-forward-journald x86_64 1.9.1-40.el7 @docker-19 3.2 M\n docker-selinux x86_64 1.9.1-40.el7 @docker-19 27 k\n\nTransaction Summary\n================================================================================\nInstall 3 Packages\nRemove 4 Packages\n\nTotal download size: 10 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 28 MB/s | 10 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : docker-selinux-1.8.2-10.el7.x86_64 1/7 \n Installing : docker-1.8.2-10.el7.x86_64 2/7 \n Installing : docker-logrotate-1.8.2-10.el7.x86_64 3/7 \n Cleanup : docker-1.9.1-40.el7.x86_64 4/7 \n Erasing : docker-common-1.9.1-40.el7.x86_64 5/7 \n Cleanup : docker-selinux-1.9.1-40.el7.x86_64 6/7 \n Erasing : docker-forward-journald-1.9.1-40.el7.x86_64 7/7 \n Verifying : docker-1.8.2-10.el7.x86_64 1/7 \n Verifying : docker-selinux-1.8.2-10.el7.x86_64 2/7 \n Verifying : docker-logrotate-1.8.2-10.el7.x86_64 3/7 \n Verifying : docker-common-1.9.1-40.el7.x86_64 4/7 \n Verifying : docker-1.9.1-40.el7.x86_64 5/7 \n Verifying : docker-selinux-1.9.1-40.el7.x86_64 6/7 \n Verifying : docker-forward-journald-1.9.1-40.el7.x86_64 7/7 \n\nRemoved:\n docker.x86_64 0:1.9.1-40.el7 \n docker-common.x86_64 0:1.9.1-40.el7 \n docker-forward-journald.x86_64 0:1.9.1-40.el7 \n docker-selinux.x86_64 0:1.9.1-40.el7 \n\nInstalled:\n docker.x86_64 0:1.8.2-10.el7 docker-logrotate.x86_64 0:1.8.2-10.el7 \n docker-selinux.x86_64 0:1.8.2-10.el7 \n\nComplete!", "warnings": ["Consider using yum module rather than running yum"]} Test with openshift-ansible-3.0.90-1.git.0.a077b68.el7.noarch.rpm, docker-1.9.1-40 could be downgraded to docker-1.8.2 successfully 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:1208 |