if self.mgr.warn_on_stray_daemons and daemon_detail:
self.mgr.health_checks['CEPHADM_STRAY_DAEMON'] = {
'severity': 'warning',
- 'summary': '%d stray daemons(s) not managed by cephadm' % (
+ 'summary': '%d stray daemon(s) not managed by cephadm' % (
len(daemon_detail)),
'count': len(daemon_detail),
'detail': daemon_detail,
def create_realm_zonegroup_zone(self, spec: RGWSpec, rgw_id: str) -> None:
if utils.get_cluster_health(self.mgr) != 'HEALTH_OK':
- raise OrchestratorError('Health not ok, will try agin when health ok')
+ raise OrchestratorError('Health not ok, will try again when health ok')
# get keyring needed to run rados commands and strip out just the keyring
keyring = self.get_keyring(rgw_id).split('key = ', 1)[1].rstrip()
DEVICE_HEALTH_TOOMANY = 'DEVICE_HEALTH_TOOMANY'
HEALTH_MESSAGES = {
DEVICE_HEALTH: '%d device(s) expected to fail soon',
- DEVICE_HEALTH_IN_USE: '%d daemons(s) expected to fail soon and still contain data',
+ DEVICE_HEALTH_IN_USE: '%d daemon(s) expected to fail soon and still contain data',
DEVICE_HEALTH_TOOMANY: 'Too many daemons are expected to fail soon',
}