[Pkg-libvirt-maintainers] Bug#566847: AttributeError: 'NoneType' object has no attribute 'virtual_device_type'
Cole Robinson
crobinso at redhat.com
Mon Jan 25 15:07:30 UTC 2010
On 01/25/2010 09:43 AM, Jonny Lamb wrote:
> Package: virt-manager
> Version: 0.8.2-2
> Severity: normal
>
> I tried creating a new virtual machine today. I reached the end of the
> process and then when it was about to install, it failed with the
> following traceback:
>
> Traceback (most recent call last):
> File "/usr/share/virt-manager/virtManager/create.py", line 1435, in do_install
> dom = guest.start_install(False, meter = meter)
> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 658, in start_install
> self._prepare_install(meter)
> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 717, in _prepare_install
> self._set_defaults()
> File "/usr/lib/pymodules/python2.5/virtinst/FullVirtGuest.py", line 122, in _set_defaults
> for net in self._get_install_devs(VirtualDevice.VIRTUAL_DEV_NET):
> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 520, in _get_install_devs
> return self._dev_build_list(devtype, self._install_devices)
> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 442, in _dev_build_list
> if i.virtual_device_type == devtype:
> AttributeError: 'NoneType' object has no attribute 'virtual_device_type'
>
> If you need any more information, let me know.
>
Fixed upstream now:
http://hg.fedorahosted.org/hg/virt-manager/rev/0ade95843eba
virt-manager was trying to create a guest with no network device
attached, which means it couldn't detect anything to use as the network
source (either a libvirt virtual network, or a bridged NIC). So just an
FYI, even though the bug is fixed, your new guests won't have any
networking.
More information about the Pkg-libvirt-maintainers
mailing list