Thanks, Itamar. Hooks are really great tool.
No doubt we will use them.
But I still need some clarification about interaction between hooks (on the manager's
side) and libguestfs (on the side of hypervisor/storage).
Виталий Исаев
Инженер-программист
Группа разработки и внедрения ПСЗИ
Департамент информационной безопасности
ОАО <Финтех>
-----Original Message-----
From: Itamar Heim [mailto:iheim@redhat.com]
Sent: Friday, November 22, 2013 2:09 AM
To: Исаев Виталий Анатольевич; Richard W.M. Jones
Cc: libguestfs(a)redhat.com
Subject: Re: HA: [Libguestfs] Accessing iSCSI disc images from the RHEV Manager using
libguestfs
On 11/22/2013 12:02 AM, Исаев Виталий Анатольевич wrote:
...
> i may be missing something, but wouldn't vdsm hooks be a
better fit:
>
http://www.ovirt.org/VDSM-Hooks
>
> for example, I think the "checkimages" one would cover what you are
> trying to do already?
Thank you, this hook was useful, but "gemu-img check" command is
slightly different from our purposes, because we are trying to prevent the booting from
disk image with changed system binaries.
I'll leave the rest to rich, but on this last one:
you can implement any logic you want in a hook, including the libguestfs one. it just
removes the need to listen on rhev-m events iiuc.
>
http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=tree;f=vdsm_hooks;
>
> you can also ask such questions on users(a)ovirt.org.
Thank you for your attention and advises.
Vitaly