RHEL-8 jobs for train and master got broken with Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
RHEL-8 master and train all standalone and ovb fs01 jobs are broken in periodic and check pipeline
2020-02-06 20:14:42.721983 | primary | TASK [tripleo-inventory : create inventory from template] *******
2020-02-06 20:14:42.733897 | primary | Thursday 06 February 2020 20:14:42 -0500 (0:00:00.101) 0:00:04.209 *****
2020-02-06 20:14:43.815918 | primary | fatal: [undercloud -> localhost]: FAILED! => {
2020-02-06 20:14:43.815962 | primary | "changed": false,
2020-02-06 20:14:43.815971 | primary | "checksum": "fafb8e99442843
2020-02-06 20:14:43.816000 | primary | }
2020-02-06 20:14:43.816009 | primary |
2020-02-06 20:14:43.816014 | primary | MSG:
2020-02-06 20:14:43.816042 | primary |
2020-02-06 20:14:43.816049 | primary | Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!
In collect logs, this message is seen
https:/
TASK [Gathering Facts] *******
Thursday 06 February 2020 20:14:31 -0500 (0:00:00.262) 0:00:00.262 *****
[DEPRECATION WARNING]: Distribution redhat 8.1 on host 127.0.0.2 should use
/usr/libexec/
compatibility with prior Ansible releases. A future Ansible release will
default to using the discovered platform python for this host. See https:/
.ansible.
more information. This feature will be removed in version 2.12. Deprecation
warnings can be disabled by setting deprecation_
ok: [127.0.0.2]
Looks like /usr/bin/python exist in rhel8.1
Since selinux in permissive mode used on RHEL-8 system and it requires selinux binding.
ansible-
in RHEL-8, we have python2 and python3 binary which might be falling back to python2 ansible python interpreter leading to requires libselinux-python
It also blocks log collections and same error is happening.
Till yesterday the jobs were passing, https:/
Few days back we removed ansible-
But jobs were passing till yesterday.
RHEL-8.1 nodepool image got built yesterday https:/
Solution:
1. Either revert the patch or pull ansible-2.9
description: | updated |
description: | updated |
description: | updated |
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in tripleo: | |
status: | Confirmed → Fix Released |
Changed in tripleo: | |
status: | Fix Released → In Progress |
Related fix proposed to branch: master /review. opendev. org/706465
Review: https:/