From 1ecbdc768e4967fbd36b0db748c9978192205cad Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Fri, 23 Feb 2024 19:03:41 +0530 Subject: [PATCH] Add "AUDIT_CONTROL" to TestNode capabilities This fixes the following issue: Unable to ssh from teuthology container to testnode using "ubuntu" user. Testnode journal sshd logs show: `sshd[147]: pam_loginuid(sshd:session): Error writing /proc/self/loginuid: Operation not permitted` solution ref: https://github.com/containers/podman/blob/main/troubleshooting.md#33-the-sshd-process-fails-to-run-inside-of-the-container Signed-off-by: Vallari Agrawal --- ceph_devstack/resources/ceph/containers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph_devstack/resources/ceph/containers.py b/ceph_devstack/resources/ceph/containers.py index 8a3e61dee..66a08f834 100644 --- a/ceph_devstack/resources/ceph/containers.py +++ b/ceph_devstack/resources/ceph/containers.py @@ -160,6 +160,7 @@ class TestNode(Container): "SYS_PTRACE", "SYS_TTY_CONFIG", "AUDIT_WRITE", + "AUDIT_CONTROL", ] create_cmd = [ "podman",