[Users] What is the best way to debug a VDSM hook?

Itamar Heim iheim at redhat.com
Tue Jun 26 19:40:51 UTC 2012


On 06/26/2012 03:39 PM, Robert Middleswarth wrote:
> On 06/26/2012 03:16 PM, Itamar Heim wrote:
>> On 06/26/2012 01:55 PM, Robert Middleswarth wrote:
>>> I installed the hook smbios but it doesn't seem to be working. I was
>>> told earlier I needed to create a custom property to pass the data but
>>> that doesn't seem to be working. Not sure what I am doing wrong. I am
>>> looking for debugging hints on how to show what is being passed to the
>>> hook to confirm it is grabbing the correct info and what is being passed
>>> back to vdsm?
>>
>> do you see smbios when editing the VM custom properties in the UI?
>>
> No I manually added it using the following command.
>
> engine-config -s UserDefinedVMProperties='smbios=^.+$' --cver=3.1

and after restarting the engine, do you see this options under custom 
properties when editing a VM?

>
> Thanks
> Robert
>>>
>>>
>>> http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=tree;f=vdsm_hooks/smbios;h=c61ce8e73dc66791eb0390be3e764541b34c1137;hb=HEAD
>>>
>>>
>>>
>>> Thanks
>>> Robert
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>




More information about the Users mailing list