12.02.2013 09:53, Dan Kenigsberg kirjoitti:
On Mon, Feb 11, 2013 at 03:56:48PM +0100, Peter V. Saveliev wrote:

system: RHEL 6.3
vdsm: ovirt master head

Trying to migrate a VM, created from *CLI* , I've got two errors (at
least) on the target host:

1. the network interface has no «network» attribute (libvirtvm.py:936)
2. the network interface has no «macAddr» attribute (libvirtvm.py:2972)

So, we have an issue

1. either in vdsClient
2. or with the migration algo
3. or with NetworkInterfaceDevice class

Right now I'm tracing what's wrong there, but if you have any ideas,
it will be nice.
Are both source and target the same?

Yes.

Would you provide the complete traceback, as well as the whole

Thread-18::ERROR::2013-02-11 13:50:02,764::vm::715::vm.Vm::(_startUnderlyingVm) vmId=`4808bd18-b6f8-4c9f-b9c4-953543fd69d7`::The vm start process failed
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 677, in _startUnderlyingVm
    self._run()
  File "/usr/share/vdsm/libvirtvm.py", line 1452, in _run
    **dev))
  File "/usr/share/vdsm/libvirtvm.py", line 931, in __init__
    self._customize()
  File "/usr/share/vdsm/libvirtvm.py", line 936, in _customize
    self.driver = vhosts.get(self.network, False)
AttributeError: 'NetworkInterfaceDevice' object has no attribute 'network'
Thread-18::DEBUG::2013-02-11 13:50:02,767::vm::1064::vm.Vm::(setDownStatus) vmId=`4808bd18-b6f8-4c9f-b9c4-953543fd69d7`::Changed state to Down: 'NetworkInterfaceDevice' object has no attribute 'network'


migrationCreate command from the destination log?

Dan.

vdsClient 0 create /dev/null vmId=`uuidgen` macAddr=00:11:22:33:44:55 memSize=256 display=vnc

--
Peter V. Saveliev

_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to