[CI] [train] tripleo-ci-centos-7-containers-multinode fails: nova_statedir_ownership returns ModuleNotFoundError: No module named 'selinux'

Bug #1913387 reported by Cédric Jeanneret
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Critical
Unassigned

Bug Description

Hello there,

It seems there's an issue in CI on stable/train: the Undercloud fails to deploy on CentOS7, failing the "nova_statedir_ownership" container due to a missing SELinux python module:

2021-01-26T15:50:27.326693035+00:00 stderr F + command -v python3
2021-01-26T15:50:27.326900989+00:00 stderr F + python3 /container-config-scripts/nova_statedir_ownership.py
2021-01-26T15:50:28.254468540+00:00 stderr F Traceback (most recent call last):
2021-01-26T15:50:28.254468540+00:00 stderr F File "/container-config-scripts/nova_statedir_ownership.py", line 20, in <module>
2021-01-26T15:50:28.254468540+00:00 stderr F import selinux
2021-01-26T15:50:28.254468540+00:00 stderr F ModuleNotFoundError: No module named 'selinux'

Example change:
https://review.opendev.org/c/openstack/tripleo-common/+/772412/

Direct log link:
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_de3/772412/1/check/tripleo-ci-centos-7-containers-multinode/de3625e/logs/undercloud/var/log/containers/stdouts/nova_statedir_owner.log

This error prevents merging in this branch for the project running this job (afaik: a LOT), so setting alert + promotion-blocker flags.

Tags: alert ci
Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

Apparently it was due to the change itself:
the hardcoded shebang lead to python3 being installed, then detected by other scripts, and they failed due to the lack of python3 libs.

Closing this issue then!

Changed in tripleo:
status: Triaged → Invalid
wes hayutin (weshayutin)
tags: removed: promotion-blocker
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.