From c70c661768ea66632e2d4cf696f5a6eeb5c6f387 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Thu, 19 Jan 2023 15:51:18 -0500 Subject: [PATCH] qa/openssl_keys: 'rm' ignores file not found on distros with openssl 3, the .srl files don't appear to be created. don't fail if 'rm' can't find them Fixes: https://tracker.ceph.com/issues/58513 Signed-off-by: Casey Bodley --- qa/tasks/openssl_keys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/openssl_keys.py b/qa/tasks/openssl_keys.py index f9a7f7edecc..2d26a87290d 100644 --- a/qa/tasks/openssl_keys.py +++ b/qa/tasks/openssl_keys.py @@ -134,7 +134,7 @@ class OpenSSLKeys(Task): csr = f'{self.cadir}/{cert.name}.csr' srl = f'{self.cadir}/{ca_cert.name}.srl' - remove_files = ['rm', csr, srl] + remove_files = ['rm', '-f', csr, srl] # these commands are run on the ca certificate's client because # they need access to its private key and cert -- 2.39.5