diff --git a/crmsh/ui_corosync.py b/crmsh/ui_corosync.py index 9249e01d8..66b67930f 100644 --- a/crmsh/ui_corosync.py +++ b/crmsh/ui_corosync.py @@ -257,6 +257,10 @@ def __save_changed_config(linkmanager, dom, reload: bool): logger.info('Synchronizing corosync.conf in the cluster...') if not corosync.push_configuration(nodes): raise ValueError('Failed to synchronize corosync.conf in the cluster.') + + if not ServiceManager(sh.ClusterShellAdaptorForLocalShell(sh.LocalShell())).service_is_active("corosync.service"): + return + if reload: result = subprocess.run(['corosync-cfgtool', '-R']) if 0 != result.returncode: