Hi guys,
I tried to install openshift origin 1.5 on Redhat with docker 1.12.6 installed
on each host.
However, it seeded that ansible tried to install docker 1.9 instead of using
1.12.6.
Is this expected behavior? If not, how could I fix such problem?
The detailed error is as below,
TASK [docker : Error out if attempting to upgrade Docker across the 1.10
boundary]
skipping: [host-10-1-236-92]
TASK [docker : Install Docker]
fatal: [host-10-1-236-92]: FAILED! => {"changed": true, "failed": true, "msg":
"Error: docker-engine conflicts with
docker-1.9.1-25.1.origin.el7.x86_64\nError: docker-engine-selinux conflicts
with docker-selinux-1.9.1-25.1.origin.el7.x86_64\n", "rc": 1, "results":
["Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-\n
: 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.9.1-25.1.origin.el7 will be installed\n--> Processing Dependency:
docker-forward-journald = 1.9.1-25.1.origin.el7 for package:
docker-1.9.1-25.1.origin.el7.x86_64\n--> Processing Dependency: docker-selinux
>= 1.9.1-25.1.origin.el7 for package: docker-1.9.1-25.1.origin.el7.x86_64\n-->
Running transaction check\n---> Package docker-forward-journald.x86_64
0:1.9.1-25.1.origin.el7 will be installed\n---> Package docker-selinux.x86_64
0:1.9.1-25.1.origin.el7 will be installed\n--> Processing Conflict:
docker-engine-1.12.6-1.el7.centos.x86_64 conflicts docker\n--> Processing
Conflict: docker-engine-1.12.6-1.el7.centos.x86_64 conflicts docker-io\n-->
Processing Conflict: docker-engine-selinux-1.12.6-1.el7.centos.noarch conflicts
docker-selinux\n--> Finished Dependency Resolution\n You could try using
--skip-broken to work around the problem\n You could try running: rpm -Va
--nofiles --nodigest\n"]}
to retry, use: --limit
@/root/openshift/openshift-ansible/playbooks/byo/config.retry
PLAY RECAP
host-10-1-236-92 : ok=59 changed=6unreachable=0failed=1
Thanks,
Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux
___
dev mailing list
dev@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev