]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
debug teuthology-optimizations-off-on
authorConnor Fawcett <connorfa@uk.ibm.com>
Mon, 13 Oct 2025 17:00:14 +0000 (18:00 +0100)
committerConnor Fawcett <connorfa@uk.ibm.com>
Mon, 13 Oct 2025 17:00:14 +0000 (18:00 +0100)
qa/tasks/ceph_manager.py

index 51671b084bafcb18d600376fafdb971c59c3e09a..c5334a5364eae725b43b6631d57eee4b0fcdf3ea 100644 (file)
@@ -1475,14 +1475,15 @@ class OSDThrasher(Thrasher):
         Loop through pools and enable allow_ec_optimizations on
         any EC pools with optimizations disabled.
         """
-        for pool in self.ceph_manager.pools:
+        self.log('Inside do_enable_ec_opts')
+        for pool in self.list_pools():
             opts_enabled = self.get_pool_property(self, pool, 'allow_ec_optimizations')
             # Pools with opts enabled will return 'true', non ec pools will return an error
             if opts_enabled is 'false':
                 set_pool_property(self, pool, 'allow_ec_optimizations', 'true')
-                self.log('Enabled ec optimizations on pool %s' % pool)
+                self.log('do_enable_ec_opts: Enabled ec optimizations on pool %s' % pool)
             else:
-                self.log('Unable to enable ec optimizations on pool %s, ignoring' % pool)
+                self.log('do_enable_ec_opts: Unable to enable ec optimizations on pool %s, ignoring' % pool)
 
     @log_exc
     def _do_thrash(self):