Bug 1725082 - `openstack undercloud install` tries to install libselinux-python
Summary: `openstack undercloud install` tries to install libselinux-python
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 16.0 (Train on RHEL 8.1)
Assignee: Attila Fazekas
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-28 11:31 UTC by Attila Fazekas
Modified: 2020-02-06 14:42 UTC (History)
11 users (show)

Fixed In Version: tripleo-ansible-0.2.1-0.20190828175000.cdde584.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:41:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 668166 0 'None' MERGED bootstrap: update SElinux python binding rpm for EL8 2021-01-20 09:56:09 UTC
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:42:16 UTC

Description Attila Fazekas 2019-06-28 11:31:28 UTC
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.

Comment 2 Alan Pevec 2019-06-28 12:16:35 UTC
/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

Comment 14 Jad Haj Yahya 2019-12-10 10:17:14 UTC
Run a deployment job:
libselinux-python is already installed

Comment 17 errata-xmlrpc 2020-02-06 14:41:46 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/RHEA-2020:0283


Note You need to log in before you can comment on or make changes to this bug.