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.
Description of problem:
While trying to recreate bug 847733 I've fixed the network scripts, and removed libvirt and vdsm
Now tried to install.
Host rebooted successfully and went immediately to non operation, no rhevm bridge, log show the below. The reboot happened probably due to upstream Bug 786386
Mon, 13 Aug 2012 11:44:59 DEBUG makeBridge found the following bridge paramaters: ['ONBOOT=yes', 'VLAN=yes', 'IPV6INIT=no', 'IPADDR=23.2.2.35', 'DNS1=23.2.2.1', 'VLAN=yes', 'DEFROUTE=yes', 'PREFIX=24', 'BOOTP
ROTO=none', 'GATEWAY=23.2.2.1']
Mon, 13 Aug 2012 11:44:59 DEBUG ['/usr/share/vdsm/addNetwork', 'rhevm', '51', '', 'em1', 'ONBOOT=yes', 'VLAN=yes', 'IPV6INIT=no', 'IPADDR=23.2.2.35', 'DNS1=23.2.2.1', 'VLAN=yes', 'DEFROUTE=yes', 'PREFIX=24',
'BOOTPROTO=none', 'GATEWAY=23.2.2.1', 'blockingdhcp=true']
Mon, 13 Aug 2012 11:45:00 DEBUG
Mon, 13 Aug 2012 11:45:00 DEBUG Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/share/vdsm/configNetwork.py", line 1329, in <module>
main()
File "/usr/share/vdsm/configNetwork.py", line 1298, in main
addNetwork(bridge, **kwargs)
File "/usr/share/vdsm/configNetwork.py", line 640, in addNetwork
_netinfo = netinfo.NetInfo()
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 340, in __init__
_netinfo = get()
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 251, in get
d['networks'][netname] = { 'ports': ports(devname),
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 91, in ports
return os.listdir('/sys/class/net/' + bridge + '/brif')
OSError: [Errno 2] No such file or directory: '/sys/class/net/rhevm/brif'
Mon, 13 Aug 2012 11:45:00 DEBUG makeBridge Failed to add rhevm bridge out=
err=Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/share/vdsm/configNetwork.py", line 1329, in <module>
main()
File "/usr/share/vdsm/configNetwork.py", line 1298, in main
addNetwork(bridge, **kwargs)
File "/usr/share/vdsm/configNetwork.py", line 640, in addNetwork
_netinfo = netinfo.NetInfo()
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 340, in __init__
_netinfo = get()
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 251, in get
d['networks'][netname] = { 'ports': ports(devname),
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 91, in ports
return os.listdir('/sys/class/net/' + bridge + '/brif')
OSError: [Errno 2] No such file or directory: '/sys/class/net/rhevm/brif'
ret=255
Mon, 13 Aug 2012 11:45:00 ERROR makeBridge errored: out=
err=Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/share/vdsm/configNetwork.py", line 1329, in <module>
main()
File "/usr/share/vdsm/configNetwork.py", line 1298, in main
addNetwork(bridge, **kwargs)
File "/usr/share/vdsm/configNetwork.py", line 640, in addNetwork
_netinfo = netinfo.NetInfo()
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 340, in __init__
_netinfo = get()
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 251, in get
d['networks'][netname] = { 'ports': ports(devname),
File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 91, in ports
return os.listdir('/sys/class/net/' + bridge + '/brif')
OSError: [Errno 2] No such file or directory: '/sys/class/net/rhevm/brif'
Dan, as discussed on the phone, this may be a known effect of libvirt DB not cleaned up before re-install, but I could not find a bug related to that.
The scenario to recreate:
Remove libvirt and vdsm after rhevm bridge was created.
Restore all network script to before the bridge.
Reboot
Now try to add to rhevm.
If /etc/libvirt is removed then the above does not happen, however then you encounter Bug 847733 immediately.