Fix missing space in status message

Add space between works in status message whilst ceph-mon units
are waiting for bootstrapped OSD's >= expected-osd-count.

Change-Id: I5178e385c61d5d738e96a307ac9c762ec610f657
This commit is contained in:
James Page 2018-12-12 09:27:07 +00:00
parent 1a250e81a5
commit 4ff50f1944
1 changed files with 6 additions and 3 deletions

View File

@ -797,9 +797,12 @@ def assess_status():
if sufficient_osds(expected_osd_count):
status_set('active', 'Unit is ready and clustered')
else:
status_set('waiting', 'Monitor bootstrapped but waiting for number'
'of OSDs to reach expected-osd-count ({})'
.format(expected_osd_count))
status_set(
'waiting',
'Monitor bootstrapped but waiting for number of'
' OSDs to reach expected-osd-count ({})'
.format(expected_osd_count)
)
else:
# Unit should be running and clustered, but no quorum
# TODO: should this be blocked or waiting?