def series_upgrade_prepare(): set_unit_upgrading() # HA services are shutdown when the unit receives series upgrade # notifications from peers so cannot pause services. if not is_unit_paused_set() and not is_waiting_unit_series_upgrade_set(): pause_unit() notify_peers_of_series_upgrade()
def series_upgrade_prepare(): set_unit_upgrading() # HA services are shutdown when the unit receives series upgrade # notifications from peers so cannot pause services. if not is_unit_paused_set() and not is_waiting_unit_series_upgrade_set(): pause_unit() notify_peers_of_series_upgrade() # mark crmsh package as manually installed # so it does not get uninstalled on release upgrade # from xenial to bionic apt_mark('crmsh', 'manual')
def pause(args): """Pause the hacluster services. @raises Exception should the service fail to stop. """ pause_unit()
def series_upgrade_prepare(): set_unit_upgrading() if not is_unit_paused_set(): pause_unit()
def pause(args): """Pause the hacluster services. @raises Exception should the service fail to stop. """ pause_unit()
def series_upgrade_prepare(): set_unit_upgrading() if not is_unit_paused_set(): pause_unit()