From 8fe9a110edbce62acdbddf4013b1ae8dec78659e Mon Sep 17 00:00:00 2001 From: Luciano Lo Giudice Date: Tue, 9 Apr 2024 19:47:24 -0300 Subject: [PATCH] Also test key rotation in OSD's --- zaza/openstack/charm_tests/ceph/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zaza/openstack/charm_tests/ceph/tests.py b/zaza/openstack/charm_tests/ceph/tests.py index c121884..06843b9 100644 --- a/zaza/openstack/charm_tests/ceph/tests.py +++ b/zaza/openstack/charm_tests/ceph/tests.py @@ -1811,3 +1811,9 @@ class CephMonKeyRotationTests(test_utils.BaseCharmTest): logging.info('ceph-radosgw units present, but no RGW service') except KeyError: pass + + try: + zaza_model.get_application('ceph-osd') + self._check_key_rotation('osd.0', unit) + except KeyError: + pass