Bug 718312

Summary: Unable to create bridged network interface in virt-manager
Product: [Fedora] Fedora Reporter: Russell Harrison <fedora>
Component: netcfAssignee: Laine Stump <laine>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: laine, lutter, ptalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-01 21:11:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Russell Harrison 2011-07-01 19:02:26 UTC
Description of problem:

Version-Release number of selected component (if applicable):
netcf-libs-0.1.7-1.fc14.i686
netcf-0.1.7-1.fc14.i686
virt-manager-0.8.7-2.fc14.noarch

How reproducible:
Every time I attempt to create a bridged interface.

Steps to Reproduce:
1. Start virt-manager
2. Edit -> Connection Details
3. Click the "Network Interfaces" tab
4. Click the "plus" button to add an interface
5. Select the "Bridged" interface type
6. Click the "Forward" button
7. Select eth0 as the interface to be bridged
8. Click "Finish"
  
Actual results:

Error creating interface: 'Could not define interface: internal error could not get interface XML description (netcf: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node
)'

Expected results:

Bridged network created.


Additional info:

Error creating interface: 'Could not define interface: internal error could not get interface XML description (netcf: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node
)'
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createinterface.py", line 1137, in do_install
    self.interface.install(meter, create=activate)
  File "/usr/lib/python2.7/site-packages/virtinst/Interface.py", line 242, in install
    raise RuntimeError(_("Could not define interface: %s" % str(e)))
RuntimeError: Could not define interface: internal error could not get interface XML description (netcf: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node
)

Comment 1 Laine Stump 2012-04-01 21:11:21 UTC
I'm not sure why this bug hasn't been closed or moved to a newer version of Fedora, since F14 is now out of support. (also not sure how I missed this bug report for so long).

Several bugfixes directly related to this type of error message have gone into netcf in the two releases since 0.1.7.

For those reasons, I'm closing this bug. If you are still experiencing this problem with a newer netcf (e.g. 0.1.9, which is in Fedora 16), please re-open this bug, or a new bug, and mark it against the newer version of Fedora (and include the specific build of netcf you are using).