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

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Apr 26 14:19:00 CEST 2017


On 04/26/2017 01:17 PM, Wolfgang Link wrote:
> It is important that storages stop after pve-ha-lrm.
>
> If the storages  stops to early the vm loses disks
> and can not shutdown.
>
> This can ends in fencing the node.
> ---
>   debian/pve-ha-lrm.service | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/debian/pve-ha-lrm.service b/debian/pve-ha-lrm.service
> index 3dc2ebc..8da0eb4 100644
> --- a/debian/pve-ha-lrm.service
> +++ b/debian/pve-ha-lrm.service
> @@ -6,6 +6,7 @@ Wants=watchdog-mux.service
>   Wants=pvedaemon.service
>   Wants=pve-ha-crm.service
>   Wants=lxc.service
> +After=pve-storage.target
I'd also add the

Wants=pve-storage.target

To ensure that all storages are up when the HA stack begins to start 
VMs/CTs?

Else acked by me.

>   After=pve-ha-crm.service
>   After=pve-cluster.service
>   After=corosync.service





More information about the pve-devel mailing list