8fa2fa0b4c
Trilio currently mounts an NFS export in /var/lib/nova to make it accessible
from within the nova_compute and nova_libvirt containers.
This can result in considerable delays when walking the directory tree to
ensure the ownership is correct.
This patch adds the ability to skip paths when recursively setting the
ownership and selinux context in /var/lib/nova. The list of paths to skip
can be set via te NovaStatedirOwnershipSkip heat parameter. This default to
the Trilio dir.
Also:
merges https://review.opendev.org/c/openstack/tripleo-heat-templates/+/763623
into this patch to not have a dedicated fix needed.
Change-Id: Ic6f053d56194613046ae0a4a908206ebb453fcf4
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
test_nova_statedir_ownership.py |