Commit Graph

7 Commits (master)

Author SHA1 Message Date
yatinkarel 1742a86759 Fix bindep for EL9 platforms
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.

Change-Id: I49d7d599fb6c158237de2180e2a0ff15a79b4c80
2022-07-13 19:35:49 +05:30
Sorin Sbarnea 2108a5191b Fixed tox executions
- 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.

Change-Id: I4137056853f8c5f1c2304bfb6ec1188a82b12130
Bug: #1921409
2021-03-26 15:37:07 +00:00
Wes Hayutin 191ef2d97c include gcc,python36-devel in bindep, for tests
as of
py36 tests fail w/
    psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
     #include <Python.h>
    compilation terminated.
    error: command 'gcc' failed with exit status 1

Change-Id: Ib033f31c9dfad8e4006ce3a476bfddf4e0ba0078
2020-10-03 19:24:53 +10:00
Oliver Walsh 45dd4e18a5 Tolerate NFS exports in /var/lib/nova when selinux relabelling
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

Change-Id: Id5503ed274bd5dc0c5365cc994de7e5cdcbc2fb6
Closes-bug: #1869020
2020-03-26 11:22:38 +00:00
ShangXiao 7450a79594 Use https instead of http for docs links
Change-Id: Ieb38720ff3fced02866e994be942c5b17770ac4f
2018-12-03 03:29:26 -08:00
Alex Schultz 2eb1476b6e Add in roles data validation
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

Change-Id: I5eb15443a131a122d1a4abf6fc15a3ac3e15941b
Related-Blueprint: example-custom-role-environments
2017-07-07 09:51:40 -06:00
Paul Belanger 209d8f5eac Add bindep support
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.

Change-Id: I759614ed0cf1fab5433956ed459419e564590398
Signed-off-by: Paul Belanger <>
2017-03-13 12:11:46 -04:00