]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: Fix various typos
authorVolker Theile <vtheile@suse.com>
Wed, 25 Nov 2020 09:57:45 +0000 (10:57 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 7 Jan 2021 12:01:02 +0000 (13:01 +0100)
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit d3e09b6e04c6a9990807ac1b6ff340a8004fa8f9)

src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/devicehealth/module.py

index 1e91a33abb468921774e49c371629a79ee93b778..502ef8f48dd754a92ceb635485b0f1b525e33f10 100644 (file)
@@ -370,7 +370,7 @@ class CephadmServe:
             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,
index c779ff34f180a82e327b80c66e718bf5a7037e58..ac7fd6efbedd279c2c76ef05443bfe7a1cb64be2 100644 (file)
@@ -614,7 +614,7 @@ class RgwService(CephService):
 
     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()
index 57f35a913cc75b957b5be4524f73e0ddf409b2d0..c4e46854b9c09b95ca275e11498b4514bc9dfe86 100644 (file)
@@ -18,7 +18,7 @@ DEVICE_HEALTH_IN_USE = 'DEVICE_HEALTH_IN_USE'
 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',
 }