Summary: | openshift upgradation has failed with error docker 1.13 required because showdupesfromrepos enabled in /etc/yum.conf | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | sphoorthi <skanniha> |
Component: | Installer | Assignee: | Russell Teague <rteague> |
Installer sub component: | openshift-ansible | QA Contact: | Gaoyun Pei <gpei> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | low | CC: | mstaeble |
Version: | 3.11.0 | ||
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
If the user specifies showdupesfromrepos=1 in /etc/yum.conf, multiple versions of a package could be returned causing the task checking for docker to fail. The option 'showdupesfromrepos=0' was added to the repoquery command to force only one version, regardless of the local configuration.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-09 17:06:30 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: |
Description
sphoorthi
2021-04-29 09:14:40 UTC
The workaround is to remove showdupesfromrepos from /etc/yum.conf or set showdupesfromrepos=0. Hello Russell, The workaround is setting showdupesfromrepos=0 in /etc/yum.conf on all the nodes. Let me know if you need any other information. Regards Sphoorthi @skanniha Did using the workaround resolve your issue? QE could reproduce this issue with openshift-ansible-3.11.439-1.git.0.94e1abb.el7.noarch.rpm. When showdupesfromrepos=1 was set in /etc/yum.conf on the masters/workers, run a playbook that will use "{{ repoquery_cmd }}", such as playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml. ansible-playbook openshift-ansible/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml -v ... TASK [container_runtime : Required docker version not available (non-atomic)] *** 05-29 19:29:16.340 fatal: [ci-vm-10-0-151-126.hosted.upshift.rdu2.redhat.com]: FAILED! => {"changed": false, "msg": "This playbook requires access to Docker 1.13 or later"} The playbook in openshift-ansible-3.11.448-1.git.0.0d5b1b2.el7.noarch.rpm works as expected. TASK [container_runtime : Required docker version not available (non-atomic)] *** 05-29 19:34:15.605 skipping: [ci-vm-10-0-151-126.hosted.upshift.rdu2.redhat.com] => {"changed": false, "skip_reason": "Conditional result was False"} Move this bug as VERIFIED. 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 (Important: OpenShift Container Platform 3.11.452 bug fix and security update), 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/RHSA-2021:2150 |