Bug 1584608
| Summary: | Openshift-on-OpenStack install playbook fails installing python-docker package | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jon Uriarte <juriarte> |
| Component: | Installer | Assignee: | Tomas Sedovic <tsedovic> |
| Status: | CLOSED ERRATA | QA Contact: | Jon Uriarte <juriarte> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.10.0 | CC: | aos-bugs, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 19:16:51 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
Jon Uriarte
2018-05-31 09:56:54 UTC
This package comes from the OCP channels, are those not enabled? If the repos are set up using `openshift_additional_repos`, that get's set up after the dependencies are installed. The error happens here, calling out to playbooks/init/base_packages.yml: https://github.com/openshift/openshift-ansible/blob/master/playbooks/prerequisites.yml#L4 But the additional repos are set up (playbooks/init/repos.yml) a few lines after: https://github.com/openshift/openshift-ansible/blob/master/playbooks/prerequisites.yml#L11 I'm wondering if we can just change the order here. Jon, would you check whether that this fixes your issue? https://github.com/openshift/openshift-ansible/pull/8583 Tried it manually but the additional repos are not set as 'oo_all_hosts' is not defined when importing init/repos.yml playbook.
2018-05-31 11:48:51,557 p=14992 u=cloud-user | PLAY [Setup yum repositories for all hosts]
**************************************************************************************************
2018-05-31 11:48:51,557 p=14992 u=cloud-user | skipping: no hosts matched
'Setup yum repositories for all hosts' playbook is skipped and the install playbook fails at the same stage (when trying to install python-docker package)
"item": "python-docker",
"msg": "No package matching 'python-docker' found available, installed or updated",
"rc": 126,
"results": [
"No package matching 'python-docker' found available, installed or updated"
]
1. Hosts: app-node-0.openshift.example.com, app-node-1.openshift.example.com, infra-node-0.openshift.example.com, master-0.openshift.example.com
Play: Install packages necessary for installer
Task: Ensure openshift-ansible installer package deps are installed
Message: All items completed
Tried manually the latest changes in the PR and it works now. The 'python-docker' package is correctly installed from the OCP repository, which is installed in a previous stage. [openshift@master-0 ~]$ yum list python-docker Loaded plugins: search-disabled-repos Installed Packages python-docker.noarch 2.4.2-1.3.el7 @ose-devel Verified in openshift-ansible-3.10.0-0.58.0, the installer finishes successfully and the python-docker package is installed in the Openshift nodes correctly from the OCP repository. [openshift@master-0 ~]$ yum list python-docker Loaded plugins: search-disabled-repos Installed Packages python-docker.noarch 2.4.2-1.3.el7 @ose-devel [openshift@master-0 ~]$ cat /etc/yum.repos.d/ose-devel.repo [ose-devel] baseurl = http://download-node-02.eng.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/3.10/latest/x86_64/os/ enabled = 1 gpgcheck = 0 name = ose-devel sslverify = 1 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-2018:1816 |