Hi Dan,

Thanks....The patch works for me.... !!!

Punit

On Tue, Jun 9, 2015 at 6:58 PM, Dan Kenigsberg <danken@redhat.com> wrote:
On Tue, Jun 09, 2015 at 05:10:02PM +0800, Punit Dambiwal wrote:
> Hi Dan,
>
> Seems the problem is here :-
>
> -----------------------------
>
> Thread-779::INFO::2015-06-09 09:04:05,204::hooks::100::root::(_runHooksDir)
> Thread-779::DEBUG::2015-06-09
> 09:04:05,205::utils::739::root::(execCmd)
> /usr/libexec/vdsm/hooks/before_vm_start/50_noipspoof (cwd None)
> Thread-779::DEBUG::2015-06-09
> 09:04:05,301::utils::759::root::(execCmd) FAILED: <err> = 'Traceback
> (most recent call last):\n  File
> "/usr/libexec/vdsm/hooks/before_vm_start/50_noipspoof", line 85, in
> <module>\n    main()\n  File
> "/usr/libexec/vdsm/hooks/before_vm_start/50_noipspoof", line 52, in
> main\n    interface, =
> domxml.getElementsByTagName(\'interface\')\nValueError: too many
> values to unpack\n'; <rc> = 1
> Thread-779::INFO::2015-06-09
> 09:04:05,301::hooks::100::root::(_runHooksDir) Traceback (most recent
> call last):
>   File "/usr/libexec/vdsm/hooks/before_vm_start/50_noipspoof", line
> 85, in <module>
>     main()
>   File "/usr/libexec/vdsm/hooks/before_vm_start/50_noipspoof", line 52, in main
>     interface, = domxml.getElementsByTagName('interface')
> ValueError: too many values to unpack

Could you try this patch https://gerrit.ovirt.org/42078 to allow
VMs with multiple interfaces?

Dan.