From: Sage Weil Date: Tue, 12 Oct 2021 14:43:05 +0000 (-0500) Subject: mgr/rook: fix mds service list X-Git-Tag: v17.1.0~656^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43549%2Fhead;p=ceph.git mgr/rook: fix mds service list Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/rook/module.py b/src/pybind/mgr/rook/module.py index 104780d93f7..06f4ef42062 100644 --- a/src/pybind/mgr/rook/module.py +++ b/src/pybind/mgr/rook/module.py @@ -284,16 +284,16 @@ class RookOrchestrator(MgrModule, orchestrator.Orchestrator): total_mds = active if fs['spec'].get('metadataServer', {}).get('activeStandby', False): total_mds = active * 2 - spec[svc] = orchestrator.ServiceDescription( - spec=ServiceSpec( - service_type='mds', - service_id=fs['metadata']['name'], - placement=PlacementSpec(count=active), - ), - size=total_mds, - container_image_name=image_name, - last_refresh=now, - ) + spec[svc] = orchestrator.ServiceDescription( + spec=ServiceSpec( + service_type='mds', + service_id=fs['metadata']['name'], + placement=PlacementSpec(count=active), + ), + size=total_mds, + container_image_name=image_name, + last_refresh=now, + ) if service_type == 'rgw' or service_type is None: # CephObjectstores