Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Trying to create bridge interface results in: Could not define interface: internal error could not get interface XML description: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node
DescriptionOrion Poplawski
2012-10-05 22:28:44 UTC
Description of problem:
Using virt-manager on Fedora 17, connecting via ssh to libvirtd on EL6. Trying to create a new bridge network, copying the existing eth0 interface, but I get:
Error creating interface: 'Could not define interface: internal error could not get interface XML description: 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 96, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createinterface.py", line 1135, 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: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node
In /var/log/libvirtd.log on the server:
2012-10-05 22:24:11.943+0000: 2098: error : interfaceDefineXML:425 : internal error could not get interface XML description: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node
Line 196:
<xsl:if test="ip/@prefix">
196: <node label="NETMASK" value="{ipcalc:netmask(ip/@prefix)}"/>
</xsl:if>
Version-Release number of selected component (if applicable):
server:
libvirt-0.9.10-21.el6_3.4.x86_64
client:
virt-manager-0.9.4-1.fc17.noarch
libvirt-0.9.11.5-3.fc17.i686
/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
ONBOOT=yes
HWADDR=00:22:19:1D:0C:A4
TYPE=Ethernet
BOOTPROTO=static
IPADDR=4.28.99.164
NETMASK=255.255.255.224
DEFROUTE=yes
GATEWAY=4.28.99.161
GATEWAYDEV=eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:22:19:1d:0c:a4 brd ff:ff:ff:ff:ff:ff
inet 4.28.99.164/27 brd 4.28.99.191 scope global eth0
inet6 fe80::222:19ff:fe1d:ca4/64 scope link
valid_lft forever preferred_lft forever
This is a problem in netcf (which libvirt is calling). Bug 848722 has details of the fix.
*** This bug has been marked as a duplicate of bug 848722 ***
Description of problem: Using virt-manager on Fedora 17, connecting via ssh to libvirtd on EL6. Trying to create a new bridge network, copying the existing eth0 interface, but I get: Error creating interface: 'Could not define interface: internal error could not get interface XML description: 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 96, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/createinterface.py", line 1135, 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: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node In /var/log/libvirtd.log on the server: 2012-10-05 22:24:11.943+0000: 2098: error : interfaceDefineXML:425 : internal error could not get interface XML description: XSLT transformation failed - runtime error: file /usr/share/netcf/xml/initscripts-get.xsl line 196 element node Line 196: <xsl:if test="ip/@prefix"> 196: <node label="NETMASK" value="{ipcalc:netmask(ip/@prefix)}"/> </xsl:if> Version-Release number of selected component (if applicable): server: libvirt-0.9.10-21.el6_3.4.x86_64 client: virt-manager-0.9.4-1.fc17.noarch libvirt-0.9.11.5-3.fc17.i686 /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 ONBOOT=yes HWADDR=00:22:19:1D:0C:A4 TYPE=Ethernet BOOTPROTO=static IPADDR=4.28.99.164 NETMASK=255.255.255.224 DEFROUTE=yes GATEWAY=4.28.99.161 GATEWAYDEV=eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:22:19:1d:0c:a4 brd ff:ff:ff:ff:ff:ff inet 4.28.99.164/27 brd 4.28.99.191 scope global eth0 inet6 fe80::222:19ff:fe1d:ca4/64 scope link valid_lft forever preferred_lft forever