Re: [libvirt-users] vdsm hook issues

2016-01-12 Thread Jean-Pierre Ribeauville
.com Objet : Re: [libvirt-users] vdsm hook issues On Tue, Jan 12, 2016 at 03:17:30PM +, Jean-Pierre Ribeauville wrote: >Hi, > >1) is it enough to add a hook.py in /usr/libexec/vdsm/hooks/before_vm_start >directory , and then shut down and reboot a guest to >see this hook.p

Re: [libvirt-users] vdsm hook issues

2016-01-12 Thread Martin Kletzander
On Tue, Jan 12, 2016 at 03:17:30PM +, Jean-Pierre Ribeauville wrote: Hi, 1) is it enough to add a hook.py in /usr/libexec/vdsm/hooks/before_vm_start directory , and then shut down and reboot a guest to see this hook.py invoked ? Since this is vdsm-related, I would ask on their list.

[libvirt-users] vdsm hook issues

2016-01-12 Thread Jean-Pierre Ribeauville
Hi, 1) is it enough to add a hook.py in /usr/libexec/vdsm/hooks/before_vm_start directory , and then shut down and reboot a guest to see this hook.py invoked ? 2) when running manually my hook.py, I got following error : ImportError: No module named hooking Do I have to install a