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.
Bug 618618 - interfaceNumOfInterfaces:187 : internal error failed to get number of interfaces on host
Summary: interfaceNumOfInterfaces:187 : internal error failed to get number of interfa...
Keywords:
Status: CLOSED DUPLICATE of bug 613886
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: netcf
Version: 6.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Laine Stump
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-27 11:56 UTC by Alexander Todorov
Modified: 2010-07-27 19:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-27 19:59:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2010-07-27 11:56:08 UTC
Description of problem:
With latest snap #8 libvirt doesn't create bridged network on the host system. I have my ifcfg files correctly setup (as per documentation) and virt-manager shows only NAT network. 

/var/log/messages says:

Jul 27 07:50:52 hp-bl685cg6-01 libvirtd: 07:50:52.906: error : interfaceNumOfInterfaces:187 : internal error failed to get number of interfaces on host (netcf: unspecified error - errors in loading some config files)
Jul 27 07:50:52 hp-bl685cg6-01 libvirtd: 07:50:52.920: error : interfaceNumOfDefinedInterfaces:229 : internal error failed to get number of defined interfaces on host (netcf: unspecified error - errors in loading some config files)

Which keeps repeating. 

Version-Release number of selected component (if applicable):
libvirt-0.8.1-15.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install and start libvirt
2. Configure bridged networking as per Virtualization Guide document
3.
  
Actual results:
ifconfig reports successfull creation of the br0 bridge device but libvirt fails to detect/use this. There are errors in /var/log/messages and virt-manager.log.

Expected results:
libvirt uses the bridged device for default networking of virtual guests.

Additional info:

The virt-manager log error is:

[Tue, 27 Jul 2010 07:54:52 virt-manager 2471] ERROR (connection:1245) Unable to list inactive interfaces
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1243, in _update_interfaces
    newInactiveNames = self.vmm.listDefinedInterfaces()
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1789, in listDefinedInterfaces
    if ret is None: raise libvirtError ('virConnectListDefinedInterfaces() failed', conn=self)
libvirtError: internal error failed to get number of defined interfaces on host (netcf: unspecified error - errors in loading some config files)


My ifcfg files are:
ifcfg-eth0 

DEVICE="eth0"
HWADDR="00:24:81:AB:E0:08"
ONBOOT="yes"
BRIDGE=br0


ifcfg-br0 

DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes
DELAY=0


NetworkManager is off, network is on.

Comment 1 Laine Stump 2010-07-27 19:59:20 UTC
This is a problem specifically with netcf-0.1.6-3, documented in Bug 613886. In particular, see https://bugzilla.redhat.com/show_bug.cgi?id=613886#c22.

Since they're the same issue, I'm marking this bug as a duplicate of Bug 613886.

*** This bug has been marked as a duplicate of bug 613886 ***


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