Displaying 2 results from an estimated 2 matches for "before_vm_start".
2016 Jan 12
2
vdsm hook issues
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 anything to solve this issue ?
Thanks for help.
Regards,
J.P. Ribeauville
P:...
2016 Jan 12
0
Re: vdsm hook issues
On Tue, Jan 12, 2016 at 03:17:30PM +0000, 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. Or just try it
and you'll see...
>2) when running manually my hook.py, I got following error :
> ImportError: No module named hooking...