[ovirt-users] vdsm noipspoof.py vdsm hook problem

InterNetX - Juergen Gotteswinter jg at internetx.com
Mon Dec 29 04:34:08 EST 2014


Hi,

i am trying to get the noipspoof.py Hook up and running, which works
fine so far if i only feed it with a single ip. when trying to add 2+,
like described in the ource (comma seperated), the gui tells me that
this isnt expected / nice and wont let me do this.

I already tried modding the Regex, which made the engine to take a
2nd/3rd ip (comma seperated), but it seems that theres somehere else
something wrong with parsing this.

VDSM throws this:

vdsm vm.Vm ERROR vmId=`4c9cb160-2283-4769-a69c-434e6c992c2b`::The vm
start process failed#012Traceback (most recent call last):#012  File
"/usr/share/vdsm/virt/vm.py", line 2266, in _startUnderlyingVm#012
self._run()#012  File "/usr/share/vdsm/virt/vm.py", line 3332, in
_run#012    domxml = hooks.before_vm_start(self._buildCmdLine(),
self.conf)#012  File "/usr/share/vdsm/hooks.py", line 142, in
before_vm_start#012    return _runHooksDir(domxml, 'before_vm_start',
vmconf=vmconf)#012  File "/usr/share/vdsm/hooks.py", line 110, in
_runHooksDir#012    raise HookError()#012HookError


The VM fails to start, engine tries this on every available host (which,
not surprising fail, too).

Anyone any ideas / patches / hints how to mod this hook ?


Thanks

Juergen


More information about the Users mailing list