mimic: pass --no-mon-config for osd config
Ensure that local configuration files are used for all settings, instead of mon set configuration which requires access to the mon cluster which may not be running at the point in time that configuration is required. Change-Id: I1fa80c78d6e6e501848d14098fe88d0df4f9e8bc
This commit is contained in:
parent
afdd9a974d
commit
427e6d38f8
|
@ -1717,6 +1717,7 @@ def get_conf(variable):
|
|||
return subprocess.check_output([
|
||||
'ceph-osd',
|
||||
'--show-config-value={}'.format(variable),
|
||||
'--no-mon-config',
|
||||
]).strip()
|
||||
|
||||
|
||||
|
|
|
@ -628,6 +628,7 @@ class CephTestCase(unittest.TestCase):
|
|||
_check_output.assert_called_with([
|
||||
'ceph-osd',
|
||||
'--show-config-value=bluestore_block_db_size',
|
||||
'--no-mon-config',
|
||||
])
|
||||
|
||||
def test_partition_name(self):
|
||||
|
|
Loading…
Reference in New Issue