Fix docker installation in openshift-ansible playbook

Bug #1782381 reported by Michał Krawczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
New
High
Michał Krawczyk
Trunk
New
High
Michał Krawczyk

Bug Description

The ose-prerequisites.yml installs atomic-openshift-docker-excluder, which, after installation,
automatically excludes docker* packages, making them unavailable for later installation.
This makes the docker installation step two steps further to fail.

Either:
- unexclude docker before docker installation and exclude it afterwards
- install atomic-openshift-docker-excluder after docker installation

Tags: provisioning
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] release-3.7-contrail

Review in progress for https://review.opencontrail.org/44744
Submitter: Michal Krawczyk (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: provisioning
Revision history for this message
Pragash Vijayaragavan (pvijayaragav) wrote : Re: Fix docker installation in openshift-ansible byo playbook

Hi Michal,

are you following this link for provisioning https://github.com/Juniper/contrail-docker/wiki/Install-contrail-5.0-with-openshift-ansible

it should work fine, if you follow this link
If you have more concerns let me know.

Thanks,
Pragash

Revision history for this message
Michał Krawczyk (kravvcu) wrote :

Pragash,

Yes, I'm following the guide you linked but the error would not manifest
itself for it because the deployment_type is set to 'origin'.

The playbook will fail for e.g. the following setup:
- deployment_type: openshift-enterprise
- OS: RedHat 7
- docker not pre-installed before running the playbook

Regards,
Michał

Revision history for this message
Pragash Vijayaragavan (pvijayaragav) wrote :

Alright the change seems fine, can you check why ci is failing, Thanks

Jeba Paulaiyan (jebap)
summary: - Fix docker installation in openshift-ansible byo playbook
+ Fix docker installation in openshift-ansible playbook
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.