Description of problem: `openstack undercloud install` fails with: 2019-06-27 17:23:19.799 | PLAY [Common roles for TripleO servers] **************************************** 2019-06-27 17:23:19.802 | 2019-06-27 17:23:19.804 | TASK [tripleo-bootstrap : Gather variables for each operating system] ********** 2019-06-27 17:23:19.806 | [DEPRECATION WARNING]: Use errors="ignore" instead of skip. This feature will 2019-06-27 17:23:19.808 | be removed in version 2.12. Deprecation warnings can be disabled by setting 2019-06-27 17:23:19.811 | deprecation_warnings=False in ansible.cfg. 2019-06-27 17:23:19.813 | ok: [undercloud-0] => (item=/usr/share/ansible/tripleo-roles/tripleo-bootstrap/vars/redhat-8.yml) 2019-06-27 17:23:19.815 | 2019-06-27 17:23:19.817 | TASK [tripleo-bootstrap : Deploy required packages to bootstrap TripleO] ******* 2019-06-27 17:23:19.819 | fatal: [undercloud-0]: FAILED! => {"changed": false, "failures": ["No package libselinux-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []} 2019-06-27 17:23:19.821 | 2019-06-27 17:23:19.823 | NO MORE HOSTS LEFT ************************************************************* 2019-06-27 17:23:19.826 | 2019-06-27 17:23:19.828 | PLAY RECAP ********************************************************************* 2019-06-27 17:23:19.830 | undercloud-0 : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 2019-06-27 17:23:19.832 | 2019-06-27 17:23:19.833 | Exception: Deployment failed 2019-06-27 17:23:19.836 | Traceback (most recent call last): 2019-06-27 17:23:19.838 | File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1287, in _standalone_deploy 2019-06-27 17:23:19.840 | raise exceptions.DeploymentError('Deployment failed') 2019-06-27 17:23:19.843 | tripleoclient.exceptions.DeploymentError: Deployment failed 2019-06-27 17:23:19.845 | None Version-Release number of selected component (if applicable): puppet-tripleo.noarch 11.0.1-0.20190626203354.96b69b6.el8ost @rhelosp-16.0 python3-tripleo-common.noarch 11.0.1-0.20190627064217.d7cffc5.el8ost @rhelosp-16.0 python3-tripleoclient.noarch 12.0.1-0.20190627053356.1892819.el8ost @rhelosp-16.0 python3-tripleoclient-heat-installer.noarch 12.0.1-0.20190627053356.1892819.el8ost @rhelosp-16.0 How reproducible: selinux-policy-targeted.noarch 3.14.1-61.el8_0.1 @rhosp-rhel-8.0-baseos Additional info: libselinux-python is not in rhel8 , we did not installed this package on the undercloud in osp15 as well.
/usr/share/ansible/tripleo-roles/tripleo-bootstrap/vars/redhat-8.yml is coming from https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/roles/tripleo-bootstrap/vars/redhat-8.yml _tripleo_bootstrap_packages_bootstrap: - openstack-heat-agents - jq - puppet-tripleo - os-net-config - openvswitch - openstack-selinux - libselinux-python _tripleo_bootstrap_legacy_network_packages: - network-scripts
Run a deployment job: libselinux-python is already installed
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/RHEA-2020:0283