Automated Upgrade to OCP 3.9 fails with error: "Error: Package: openshift-ansible-3.9.14-1.git.3.c62bc34.el7.noarch (rhel-7-server-ose-3.9-rpms) Requires: ansible >= 2.4.3"
Issue
- Preparing for an Automated Upgrade on OCP 3.9 not working, failing with error:
Error: Package: openshift-ansible-3.9.14-1.git.3.c62bc34.el7.noarch (rhel-7-server-ose-3.9-rpms)
Requires: ansible >= 2.4.3
Installed: ansible-2.4.2.0-2.el7.noarch (@rhel-7-server-extras-rpms)
ansible = 2.4.2.0-2.el7
Available: ansible-2.3.1.0-3.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.3.1.0-3.el7
Available: ansible-2.3.2.0-2.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.3.2.0-2.el7
Available: ansible-2.4.0.0-5.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.4.0.0-5.el7
Available: ansible-2.4.1.0-1.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.4.1.0-1.el7
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: openshift-ansible-3.9.14-1.git.3.c62bc34.el7.noarch (rhel-7-server-ose-3.9-rpms)
Requires: ansible >= 2.4.3
Installed: ansible-2.4.2.0-2.el7.noarch (@rhel-7-server-extras-rpms)
ansible = 2.4.2.0-2.el7
Available: ansible-2.3.1.0-3.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.3.1.0-3.el7
Available: ansible-2.3.2.0-2.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.3.2.0-2.el7
Available: ansible-2.4.0.0-5.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.4.0.0-5.el7
Available: ansible-2.4.1.0-1.el7.noarch (rhel-7-server-extras-rpms)
ansible = 2.4.1.0-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Environment
- OpenShift Container Platform 3.7
- OpenShift Container Platform 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
