]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
Fix shutdown order of HA and storage services
authorWolfgang Link <w.link@proxmox.com>
Thu, 27 Apr 2017 10:02:35 +0000 (12:02 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 3 May 2017 10:00:03 +0000 (12:00 +0200)
It is important that all storages stop after pve-ha-lrm.

If the storages stop too early the vm loses disks and can not shutdown.

This can end in fencing the node.

debian/pve-ha-lrm.service

index 3dc2ebce7aba3136393ab30399341e742c137808..12143f303a91b5f18d5d631fb417f88445a4b38e 100644 (file)
@@ -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