]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool
authorSage Weil <sage@redhat.com>
Fri, 17 Jan 2020 18:12:31 +0000 (12:12 -0600)
committerSage Weil <sage@redhat.com>
Fri, 17 Jan 2020 23:07:40 +0000 (17:07 -0600)
The config is currently fetched at osd.admin, so the keyring is not
found.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph_manager.py

index 2ceb72f1ddb822bf657995eb74afb1a6569fed51..11c7950922556d81d11cc44ef78feb633070d1a1 100644 (file)
@@ -262,9 +262,12 @@ class OSDThrasher(Thrasher):
                     random.random() < self.chance_move_pg):
                 exp_osd = random.choice(self.dead_osds[:-1])
                 exp_remote = self.ceph_manager.find_remote('osd', exp_osd)
-            prefix = ['--data-path', FSPATH.format(id=osd),
-                      '--journal-path', JPATH.format(id=osd),
-                      '--log-file=/var/log/ceph/objectstore_tool.$pid.log']
+            prefix = [
+                '--no-mon-config',
+                '--data-path', FSPATH.format(id=osd),
+                '--journal-path', JPATH.format(id=osd),
+                '--log-file=/var/log/ceph/objectstore_tool.$pid.log',
+            ]
             cmd = prefix + ['--op', 'list-pgs']
 
             if not self.ceph_manager.cephadm: