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

Robert Middleswarth robert at middleswarth.net
Tue Jun 26 19:50:10 UTC 2012


On 06/26/2012 03:40 PM, Itamar Heim wrote:
> 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?
Yes I do but I don't see the data being passed to the VM.  So I need to 
try and trace though the process to see if I am missing a step to see why.

Thanks
Robert
>
>>
>> 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