#565895 virt-manager: cannot clone VMs with interface type='ethernet'

#565895#5
Date:
2010-01-19 13:39:39 UTC
From:
To:
I try to clone a VM with this network configuration:

    <interface type='ethernet'>
      <mac address='52:54:00:38:53:95'/>
      <target dev='m0d0'/>
      <model type='e1000'/>
    </interface>

and get this error:

Error setting clone parameters: cannot concatenate 'str' and 'NoneType'
objects

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 664, in
clone_domain
    clone_window.show()
  File "/usr/share/virt-manager/virtManager/clone.py", line 142, in show
    self.reset_state()
  File "/usr/share/virt-manager/virtManager/clone.py", line 190, in
reset_state
    self.populate_network_list()
  File "/usr/share/virt-manager/virtManager/clone.py", line 271, in
populate_network_list
    net_dev and " %s" % net_dev or "")
TypeError: cannot concatenate 'str' and 'NoneType' objects

The culprit seems to be the interface type. This configuration can be
cloned:

    <interface type='ethernet'>
      <mac address='52:54:00:38:53:95'/>
      <target dev='m0d0'/>
      <model type='e1000'/>
    </interface>

#565895#10
Date:
2010-01-19 13:47:44 UTC
From:
To:
On Tue, Jan 19, 2010 at 14:39:39 +0100, Tino Keitel wrote:

[...]

Sorry, I pasted the wrong configuration snipset.

A VM with this network configuration can be cloned:

    <interface type='bridge'>
      <mac address='52:54:00:38:53:95'/>
      <source bridge='virbr0'/>
      <target dev='m0d0'/>
      <model type='e1000'/>
    </interface>

#565895#15
Date:
2014-10-09 10:31:47 UTC
From:
To:
Hi,

Tino Keitel wrote (19 Jan 2010 13:47:44 GMT) :

Thanks for this bug report, and sorry for not following up earlier.
Can you still reproduce this with on current Debian stable, or
testing/sid?

Cheers,
--
intrigeri