mimic: Sync charms.ceph for misc fixes

Ensures mon cluster is not queried early in unit lifecycle
when the cluster is not bootstrapped or accessible by the
ceph-osd unit.

Block device sizes are set in local config so querying the
monitor is OK to skip.

Change-Id: Iea37455b0946560056ee665e819ee0a2a4a7832c
This commit is contained in:
James Page 2018-07-24 06:51:45 +01:00
parent bb3a7f198c
commit a26b5e4551
1 changed files with 1 additions and 0 deletions

View File

@ -1717,6 +1717,7 @@ def get_conf(variable):
return subprocess.check_output([
'ceph-osd',
'--show-config-value={}'.format(variable),
'--no-mon-config',
]).strip()