tests: Set lxc-openstack apparmor profile when overlayfs is used
The overlayfs backing store doesn't play well with the unconfined
profile and many tools (eg ping, traceroute) are failing to work
with the following error:
ping: error while loading shared libraries: libcap.so.2: cannot stat
shared object: Permission denied
As such, lets switch to the lxc-openstack profile is overlayfs is used
as the backing store.
Reviewed: https:/ /review. openstack. org/535333 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_container_ create/ commit/ ?id=887ebaa3ce4 538f495729defee 65bfde3f1bba05
Committed: https:/
Submitter: Zuul
Branch: master
commit 887ebaa3ce4538f 495729defee65bf de3f1bba05
Author: Markos Chandras <email address hidden>
Date: Thu Jan 18 12:28:29 2018 +0000
tests: Set lxc-openstack apparmor profile when overlayfs is used
The overlayfs backing store doesn't play well with the unconfined
profile and many tools (eg ping, traceroute) are failing to work
with the following error:
ping: error while loading shared libraries: libcap.so.2: cannot stat
shared object: Permission denied
As such, lets switch to the lxc-openstack profile is overlayfs is used
as the backing store.
Change-Id: Ibe1149ee4fedd2 b3d487887e504c5 00c96165467
Related-Bug: #1612412