Red Hat Bugzilla – Bug 864991
REST API: VM custom properties are not passed correctly when running VM using Rest API
Last modified: 2012-12-04 15:01:14 EST
Created attachment 624954 [details]
vdsm and engine logs
Description of problem:
The fileinject hook test fails when running on si20. This hook
should create a file under '/' called "vdsm_hook_test" and contains
the string "vdsm_hook_test_content" after starting a VM which have
When running the test manaually via GUI, the file is uploaded
successfully and everything is OK.
While when running the test manually via the REST API the test fails
i.e. the file is *NOT* created on the vm.
It looks like the custom hook parameters are missing when running vmCreate via REST [see params attachment ]
Create a VM with a custom hook fileinject and start through the UI.
Create a VM using a custom hook fileinject and start the VM via REST API.
UI : works
REST si20: Doesn't work
see attached file 'params'
full vdsm.log attached as well
Created attachment 624955 [details]
params sent with cmCreate
Created attachment 625479 [details]
create vm and start vm XMLs
patch posted upstream:
patch merged upstream:
patch posted downstream:
patch merged downstream:
Bug found and verified