[Users] modifying vmdisk hook

Dan Kenigsberg danken at redhat.com
Wed Jun 6 07:43:51 UTC 2012


On Tue, Jun 05, 2012 at 06:12:37PM +0200, Nathanaël Blanchet wrote:
> okay, but I was running vdsm 4.9.3.2 from the ovirt 3.0 stable
> repository  and I'm not sure 4.9.6.x is compatible with engine 3.0.
> So I built rpm on a F17 host and then installed the rpm
> vdsm-hook-directlun-4.9.6-0.268.gitfc9e104.fc17.noarch.rpm to the
> host with vdsm 4.9.3.2. According to the logs, issues about "from
> vdsm import utils" are the same.
> I guess it must exist a way to make those scripts work with 4.9.3.2
> because those scripts have been written before this first ovirt
> release had been available.
> Plus, vmdisk works fine but scripts invoking "from vdsm import utils" don't.
> 
> Do you have any idea?

The vdsm package you are importing from is rather new and did not exist
in vdsm-4.9.3.2. You should probably use the hooks from
http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=tree;f=vdsm_hooks;hb=v4.9.3.2
when vdsm-4.9.3.2 is installed.

Dan.



More information about the Users mailing list