mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
qa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool
The config is currently fetched at osd.admin, so the keyring is not found. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
7fefcdb6d3
commit
81c735fc9c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user