Currently it tries to install libselinux-python and
libsemanage-python with bindep but those rpms are
only applicable to EL7 platforms.
Since we no longer support python2, let's cleanup
python2 specific rpms and use rpm names which
are applicable to all rpm distros.
python3-libselinux and python3-libsemanage should
be installable on EL7, EL8, EL9 and fedora platform.
- fixed bindep to allow execution under fedora
- fixed flake8 config to use officially recommended use patterns
- assured that git does not report dirty after running tox (both
pep8 and tht environments where breaking this by creating untracked
files). tox-extra plugin addition will prevent future regressions.
as of https://review.opendev.org/#/c/751112/
py36 tests fail w/
psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
error: command 'gcc' failed with exit status 1
When the :z bind mount option is used, podman peforms a recursive relabel of
the mount point which is failing with "Operation not supported" if there are
any NFS exports mounted within. While it's possible for NFS to support true
selinux labelling, in practice is rarely does.
As we are already walking the tree to set ownership/permission, take ownership
of the relabelling logic too and skip relabelling on subtrees where we hit this
With the merging of Iad3e9b215c6f21ba761c8360bb7ed531e34520e6 the
roles_data.yaml should be generated with tripleoclient rather than
edited. This change adds in a pep8 task to verify that the appropriate
role files in roles/ have been modified to match how our default
roles_data.yaml is constructed. Additionally this change adds a new tox
target called 'genrolesdata' that will all you to automatically generate
roles_data.yaml and roles_data_undercloud.yaml
Bindep is an automation tool used by openstack-infra to bootstrap a
worker with default packages. This is not needed, since we depend on
puppet to automate this step.
Signed-off-by: Paul Belanger <email@example.com>