Re: [ovirt-users] Comma Seperated Value doesn't accept by custom properties

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 Thread-779::DEBUG::2015-06-09 09:04:05,301::vm::2294::vm.Vm::(_startUnderlyingVm) vmId=`600f6fa9-0c08-42ec-bbbd-939a07beb61c`::_ongoingCreations released Thread-779::ERROR::2015-06-09 09:04:05,302::vm::2331::vm.Vm::(_startUnderlyingVm) vmId=`600f6fa9-0c08-42ec-bbbd-939a07beb61c`::The vm start process failed Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 2271, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 3299, in _run domxml = hooks.before_vm_start(self._buildCmdLine(), self.conf) File "/usr/share/vdsm/hooks.py", line 142, in before_vm_start return _runHooksDir(domxml, 'before_vm_start', vmconf=vmconf) File "/usr/share/vdsm/hooks.py", line 110, in _runHooksDir raise HookError() HookError Thread-779::DEBUG::2015-06-09 09:04:05,303::vm::2786::vm.Vm::(setDownStatus) vmId=`600f6fa9-0c08-42ec-bbbd-939a07beb61c`::Changed state to Down: VM terminated with error (code=1) --------------------- On Tue, Jun 9, 2015 at 9:13 AM, Punit Dambiwal <hypunit@gmail.com> wrote:
Hi Dan,
Please find the Vdsm logs here :-
1. With 2 NIC (VM failed to bootup) :- http://paste.ubuntu.com/11660142/ 2. Removed the secondary NIC and run the VM again....VM can bootup :- http://paste.ubuntu.com/11660197/
Thanks, Punit
On Mon, Jun 8, 2015 at 8:35 PM, Dan Kenigsberg <danken@redhat.com> wrote:
On Mon, Jun 08, 2015 at 05:43:40PM +0800, Punit Dambiwal wrote:
Hi Dan,
Can save now the comma separate ip address...but still the problem persists....
1. If one Network interface...i can add multiple ip addresses with comma separated... 2. But if i add another network interface to this VM....VM cannot boot up... 3. What need to do if i want to assign multiple ip address on multiple network interface ??
Can you share your vdsm.log of this boot failure?
Regards, Dan.

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.

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.
participants (2)
-
Dan Kenigsberg
-
Punit Dambiwal