Request #3734
New VM Hook Request
Status: | Pending | Start date: | 04/01/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Pull request: |
Description
Hi,
It would be great to have a hook for before any action occurs which would cause a virtual machine to enter the DONE state.
For security and trace-ability reasons we need to keep a copy of each VM for a period of time once they are removed, I have tried using the SHUTDOWN and DONE hooks but the disk images are not snapshot-able at these times.
At the moment as a workaround we have a deferred snapshot of each disk being triggered at instantiation however this is far from ideal as then other use cases for disk snapshots are not possible.
We are using OpenNebula 4.10.1 with KVM/Qemu hypervisors and a ceph storage backend.
Thanks
Alex