]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephadm/smb: set virt_sandbox_use_netlink selinux bool on ctdb tests 62229/head
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 11 Mar 2025 18:51:23 +0000 (14:51 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 17 Mar 2025 14:18:29 +0000 (10:18 -0400)
commit06fc55b0a4d994550f05625f10d8f7f0b11863eb
treeea25e065b9352653f5b37bb9663ebaae0763eb76
parentf1a8960998359e6d49d28cd9e1ddd6786a2fe6bb
qa/cephadm/smb: set virt_sandbox_use_netlink selinux bool on ctdb tests

Try to use the virt_sandbox_use_netlink selinux boolean to avoid getting
selinux AVC errors in smb tests using ctdb. Some tests run ctdb with
public addresses and the scripts that ctdb uses to manage those IPs
calls ss which uses netlink which can cause selinux denials.
Attempt to work around that problem by using a selinux boolean
documented in `container_selinux(8)`.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
qa/suites/orch/cephadm/smb/tasks/deploy_smb_ctdb_node_gone_state.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_mgr_clustering_ips.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_mgr_ctdb_res_basic.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_mgr_ctdb_res_dom.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_mgr_ctdb_res_ips.yaml