[pve-devel] [PATCH V3 pve-ha-manager] Fix shutdown order of ceph daemons.

Wolfgang Link w.link at proxmox.com
Thu Apr 27 12:02:35 CEST 2017


It is important that all storages stop after pve-ha-lrm.

If the storages  stops to early the vm loses disksand can not shutdown.

This can ends in fencing the node.
---
 debian/pve-ha-lrm.service | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/pve-ha-lrm.service b/debian/pve-ha-lrm.service
index 3dc2ebc..12143f3 100644
--- a/debian/pve-ha-lrm.service
+++ b/debian/pve-ha-lrm.service
@@ -6,6 +6,8 @@ Wants=watchdog-mux.service
 Wants=pvedaemon.service
 Wants=pve-ha-crm.service
 Wants=lxc.service
+Wants=pve-storage.target
+After=pve-storage.target
 After=pve-ha-crm.service
 After=pve-cluster.service
 After=corosync.service
-- 
2.1.4





More information about the pve-devel mailing list