Unmount and remove lvm snap vol when freezerc crash

Registered by Fausto Marzi

Currently, if freezerc doesn't successfully finish the execution and exit with an error, the lvm snapshot node is not removed nor unmounted. This behavoir needs to be managed from a command line option like:

--lvm-not-clean: When set this option the lvm snap vol is not unmounted and removed.

Blueprint information

Status:
Not started
Approver:
Fausto Marzi
Priority:
High
Drafter:
Fausto Marzi
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Most of the cases where Freezer would leave lvm volumes have been cleared.

We should still implement a "--action cleanup" in order to fix the cases that are left (kill -9 for example).

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.