[libvirt-users] vdsm hook issues

Martin Kletzander mkletzan at redhat.com
Tue Jan 12 16:01:33 UTC 2016


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
>
>    Do I have to install anything to solve this issue ?
>
>Thanks for help.
>
>
>Regards,
>
>
>
>J.P. Ribeauville
>
>
>P: +33.(0).1.47.17.20.49
>.
>Puteaux 3 Etage 5  Bureau 4
>
>jpribeauville at axway.com<mailto:jpribeauville at axway.com>
>http://www.axway.com<http://www.axway.com/>
>
>
>
>P Pensez à l'environnement avant d'imprimer.
>
>
>

>_______________________________________________
>libvirt-users mailing list
>libvirt-users at redhat.com
>https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160112/705030ad/attachment.sig>


More information about the libvirt-users mailing list