Red Hat Bugzilla – Bug 496345
Anaconda fails to bring up network interface
Last modified: 2009-04-20 09:58:56 EDT
Description of problem:
During kvm guest installation of rawhide on Fedora 10 host, anaconda cannot bring up the eth0 interface. It fails (with the error message below) for both DHCP and Static configurations. I have tried both "Generic 2.6 kernel" (which provides a Realtek 8139 card to the VM) and "Fedora 10" (uses VirtIO drivers). The VM network is bridged with the host's network.
However, at that point of the installation, if I switch to console #2, I can run "dhclient eth0", immediately get an address from a DHCP server, and ping a host on the Internet. This verifies that the problem is with anaconda (or possibly NetworkManager).
Version-Release number of selected component (if applicable):
boot.iso from 4/16/09
Steps to Reproduce:
1. Use virt-manager on Fedora 10 to create a new guest
2. Use boot.iso as installation media
3. Try to get past the network setup screen in anaconda
An "Error Configuring Network" dialog popups with the message: "An error occurred trying to bring up the eth0 network interface.
Network should be configured.
On console #4, I see the following two messages several times:
nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0.new
nm-system-settings: ifcfg-rh: error: Couldn't parse file '/etc/sysconfig/network-scripts/ifcfg-eth0.new'
and then the following two messages:
nm-system-settings: ifcfg-rh: updating /etc/sysconfig/network-scripts/
nm-system-settings: update: assertion `context != NULL' failed
This was fixed with a new build of NetworkManager.