<div dir="ltr"><div><div><div><div>Thank you Dan <br><br></div>That actually works but I still have on more question: how can I add more than just one key in custom properties to use with more than one hook?<br></div>the above method seems to allow only one key to be set for the same cluster version<br>
<br></div>Regards<br></div>Liviu<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 25, 2014 at 8:05 PM, Dan Kenigsberg <span dir="ltr"><<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Feb 25, 2014 at 02:53:54PM +1300, Liviu Elama wrote:<br>
> Hi<br>
><br>
> I have a 2 node hosted engine cluster using 3.4 beta3 on centos 6.5 and I'm<br>
> trying to use smbios hook(first try to use a hook) and I can't see the<br>
> smbios key in custom properties when I edit a VM.<br>
><br>
> I have installed the vdsm-hook-smbios on both hosts and restarted vdsm and<br>
> restarted the engine as well.<br>
> I can see the hooks available on each hosts from the engine GUI but I can't<br>
> see the custom property to modify at VM level.<br>
><br>
> Can anyone advise if I'm doing the right thing here or what logs should I<br>
> provide for debugging ?<br>
<br>
</div></div>You have to explicitly enabled your custom property in Engine's<br>
database.<br>
<br>
See <a href="http://www.ovirt.org/Vdsm_Hooks#VM-level_hooks" target="_blank">http://www.ovirt.org/Vdsm_Hooks#VM-level_hooks</a> for an example how<br>
this can be done with the engine-config utility. You could make your<br>
users cozy by limiting their input to the likes of<br>
<br>
{'serial': '1234'}^{'vendor': 'oVirt'}<br>
<br>
or be lazy and allow everything<br>
<br>
engine-config -s "UserDefinedVMProperties=smbios=.*<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan.<br>
</font></span></blockquote></div><br></div>