Bug 1006324 - Adding network hw in Virt-manager: Error adding device: internal error: No <source> 'dev' attribute specified with <interface type='direct'/>
Summary: Adding network hw in Virt-manager: Error adding device: internal error: No <s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 12:45 UTC by Lukas Brabec
Modified: 2013-10-04 01:56 UTC (History)
5 users (show)

Fixed In Version: virt-manager-0.10.0-3.gita2e52067.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-04 01:56:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Brabec 2013-09-10 12:45:17 UTC
When adding network hardware to virtual machine in virt-manager an error occurs: 

Error adding device: internal error: No <source> 'dev' attribute specified with <interface type='direct'/>

with traceback:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 1248, in add_device
    self.vm.add_device(self._dev)
  File "/usr/share/virt-manager/virtManager/domain.py", line 498, in add_device
    self.redefine_cached()
  File "/usr/share/virt-manager/virtManager/domain.py", line 424, in redefine_cached
    self._redefine_xml(xml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 166, in _redefine_xml
    return self._redefine_helper(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 156, in _redefine_helper
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 964, in _define
    self.conn.define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 767, in define_domain
    return self._backend.defineXML(xml)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2924, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: internal error: No <source> 'dev' attribute specified with <interface type='direct'/>


Version-Release number of selected component (if applicable):
virt-manager-0.10.0-2.git948b5359.fc20.noarch
Fedora 20 Alpha TC5 with virtualization group installed



Steps to Reproduce:
1. run virt-manager
2. create new machine
3. add hardware -> network
4. click finish

Comment 1 Cole Robinson 2013-09-24 14:02:03 UTC
Thanks for the report, fixed upstream now

Comment 2 Fedora Update System 2013-09-24 15:15:26 UTC
virt-manager-0.10.0-3.gita2e52067.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-0.10.0-3.gita2e52067.fc20

Comment 3 Fedora Update System 2013-09-26 06:13:41 UTC
Package virt-manager-0.10.0-3.gita2e52067.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-0.10.0-3.gita2e52067.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-17628/virt-manager-0.10.0-3.gita2e52067.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-10-04 01:56:49 UTC
virt-manager-0.10.0-3.gita2e52067.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.