]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
nuke: ignore internal directory listing when scanning for stale mounts in debugfs... 1682/head
authorVenky Shankar <vshankar@redhat.com>
Wed, 6 Oct 2021 11:12:59 +0000 (07:12 -0400)
committerVenky Shankar <vshankar@redhat.com>
Thu, 7 Oct 2021 04:53:48 +0000 (00:53 -0400)
kclient patchset:

    https://patchwork.kernel.org/project/ceph-devel/list/?series=556049

introduces meta directory to add debugging entries. This needs to be filtered
when scanning ceph debugfs directory.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
teuthology/nuke/actions.py

index 9ee7da2620659df284410306bfc57d21bdc84a53..ef7ca2d272da5b45a044961be5496c24e20c10a4 100644 (file)
@@ -134,6 +134,10 @@ def stale_kernel_mount(remote):
             'sudo', 'find',
             '/sys/kernel/debug/ceph',
             '-mindepth', '1',
+            run.Raw('!'),
+            '-path', '/sys/kernel/debug/ceph/meta',
+            run.Raw('!'),
+            '-path', '/sys/kernel/debug/ceph/meta/client_features',
             '-type', 'd',
             run.Raw('|'),
             'read'