Thomas Lamprecht 248b2d3614 remove backup locks when starting all VMs on boot
If on bootup one of our VMs is locked by an backup we safely can
assume that this backup job does not run anymore and that the lock
has no reason anymore and just hinders uptime of services.

As at this time we (the node) have quorum so we may safely assume
that we have a consistent view of the cluster and all our VMs really
belong to us. We just need to ensure that we do not run into an
automatic backup jobs, so execute our code with VZDumps lock or
timeout.
Log in the Task and Sys log that we removed the lock, so that an
admin easily sees that there may be need for cleaning leftovers from
an interrupted backup.

Addresses bug #1024

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 09:04:21 +01:00
..
2011-08-23 16:23:46 +02:00
2016-08-24 10:10:07 +02:00
2013-01-22 11:44:41 +01:00
2016-09-07 11:45:42 +02:00
2017-03-09 10:34:48 +01:00
2011-12-20 07:04:39 +01:00