From 35f0a655c8c9e9bea2344ab31f6418d822d7357c Mon Sep 17 00:00:00 2001 From: Arnaud Veron Date: Wed, 26 May 2021 15:44:05 +0200 Subject: [PATCH] Add boot method for linux lv * lv resource taken from a local mutualized vg are auto-activated at boot time * this is evaluated as 'up' status and can lead to an aggregated warn status at the service level * the boot method deactivate lv resources at daemon start --- opensvc/drivers/resource/disk/lv/linux.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opensvc/drivers/resource/disk/lv/linux.py b/opensvc/drivers/resource/disk/lv/linux.py index 2d9a0110f3..18cd5e1370 100644 --- a/opensvc/drivers/resource/disk/lv/linux.py +++ b/opensvc/drivers/resource/disk/lv/linux.py @@ -166,3 +166,5 @@ def provisioner(self): self.svc.node.unset_lazy("devtree") + def boot(self): + self.do_stop()