Bug 1820306

Summary: Deployment of Ceph nodes with overcloud-minimal image fails as director tries to install openvswitch.
Product: Red Hat OpenStack Reporter: David Gurtner <dgurtner>
Component: tripleo-ansibleAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: cjeanner, dbecker, emacchi, gchamoul, mburns, morazi
Target Milestone: betaKeywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.5.1-0.20200415055413.afd0e4e.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-29 07:51:07 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 David Gurtner 2020-04-02 17:53:30 UTC
Description of problem:

When deploying Ceph nodes via OSP-director, the deployment fails in task tripleo-bootstrap with following message:

TASK [tripleo-bootstrap : Deploy required packages to bootstrap TripleO] *******                                                                                                      [294/617]
Wednesday 01 April 2020  14:08:26 +0200 (0:00:00.634)       0:00:37.179 ******* 
fatal: [overcloud-cephstorage-2]: FAILED! => {"changed": false, "failures": ["No package openvswitch available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results
": []} 
fatal: [overcloud-cephstorage-0]: FAILED! => {"changed": false, "failures": ["No package openvswitch available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results
": []} 
fatal: [overcloud-cephstorage-1]: FAILED! => {"changed": false, "failures": ["No package openvswitch available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results
": []}                                                                                                                                                                              


Version-Release number of selected component (if applicable):

tripleo-ansible-0.4.2-0.20200207140443.b750574.el8ost.noarch


How reproducible:
always


Steps to Reproduce:
1. Configure an overcloud to use overcloud-minimal for Ceph nodes https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/director_installation_and_usage/creating-a-basic-overcloud-with-cli-tools#using-the-overcloud-minimal-image-to-avoid-using-a-Red-Hat-subscription-entitlement

Actual results:
Deployment fails due to missing subscription for a repo with openvswitch


Expected results:
Deployment succeeds without requiring openvswitch


Additional info:
The issue is that openvswitch is hardcoded as a dependency: https://github.com/openstack/tripleo-ansible/blob/stable/train/tripleo_ansible/roles/tripleo-bootstrap/vars/redhat-8.yml#L21

Comment 6 errata-xmlrpc 2020-07-29 07:51:07 UTC
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-2020:3148