Description of problem: When installing RHEL52 via cdrom using a kickstart file available on a nfs server, the installer crash. Version-Release number of selected component (if applicable): anaconda-11.1.2.113 How reproducible: 100% Steps to Reproduce: 1. use cdrom to install 2. put ks information on boot prompt 3. Actual results: Traceback (most recent call first): File "/usr/lib/anaconda/network.py", line 341, in lookupHostname ret = isys.pumpNetDevice(dev.get('device'), dev.get('dhcpclass')) File "/usr/lib/anaconda/network.py", line 531, in write ip = self.lookupHostname() File "/usr/lib/anaconda/yuminstall.py", line 1401, in doPreInstall anaconda.id.network.write(anaconda.rootPath) File "/usr/lib/anaconda/backend.py", line 180, in doPreInstall anaconda.backend.doPreInstall(anaconda) File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext self.moveStep() File "/usr/lib/anaconda/text.py", line 588, in run anaconda.dispatch.gotoNext() File "/usr/bin/anaconda", line 982, in ? anaconda.intf.run(anaconda) AttributeError: 'module' object has no attribute 'pumpNetDevice' Expected results: no error Additional info: There was a commit that removed pumpNetDevice commit ea648b05d102ef69c2fc3883bcdaaffabf2d10f9 Author: David Cantrell <dcantrell> Date: Tue Apr 8 00:21:54 2008 -1000 Make isys.dhcpNetDevice() work in rescue mode (#435978). Remove the isys.pumpNetDevice() function since it's just a passthrough for dhcpNetDevice() at this point. Update the function in isys.c to take in None for the class name. Fix the anyUsingDHCP() function in network.py for rescue mode and update calls as appropriate. Update rescue.py to call dhcpNetDevice() instead of pumpNetDevice(). And update the list of files for the rescue image to include /sbin/dhclient and /sbin/dhcp6c and fallbacks for users. Customer attached a simple patch to call dhcpNetDevice correctly
Created attachment 310133 [details] call dhcpNetDevice
This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Created attachment 310577 [details] Adam Stokes' patch updated with one more pumpNetDevice call replacement
Note on reproducibility: I had to set some "network --hostname" in ks to hit the issue
Hi Radek, How are things looking with this patch? Is there anything I or IBM can do to help?
(In reply to comment #8) > Hi Radek, > > How are things looking with this patch? Is there anything I or IBM can do to help? > Hi Brad, the patch is ready (attachment form comment #6).
resolved with commit 6ed3d0b3d71c7a3ebe1faa4283782c1bf724abac
Included in 11.1.2.116.
Performed an install using a Xen guest booting from disc1 and a ks.cfg file on nfs server. Install completed successfully. Moving to VERIFIED.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0164.html