Bug 452664 - Anaconda crashs when installing via cdrom using a kickstart available on a nfs server.
Anaconda crashs when installing via cdrom using a kickstart available on a nf...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
5.3
All Linux
high Severity high
: rc
: ---
Assigned To: Radek Vykydal
Alexander Todorov
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-24 08:33 EDT by Adam Stokes
Modified: 2011-01-24 18:07 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-20 16:35:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
call dhcpNetDevice (644 bytes, patch)
2008-06-24 08:33 EDT, Adam Stokes
no flags Details | Diff
Adam Stokes' patch updated with one more pumpNetDevice call replacement (1.34 KB, patch)
2008-06-30 08:49 EDT, Radek Vykydal
no flags Details | Diff

  None (edit)
Description Adam Stokes 2008-06-24 08:33:58 EDT
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@redhat.com>
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
Comment 1 Adam Stokes 2008-06-24 08:33:59 EDT
Created attachment 310133 [details]
call dhcpNetDevice
Comment 2 RHEL Product and Program Management 2008-06-24 08:49:41 EDT
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.
Comment 3 RHEL Product and Program Management 2008-06-24 10:26:28 EDT
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.
Comment 6 Radek Vykydal 2008-06-30 08:49:53 EDT
Created attachment 310577 [details]
Adam Stokes' patch updated with one more pumpNetDevice call replacement
Comment 7 Radek Vykydal 2008-06-30 08:53:00 EDT
Note on reproducibility:
I had to set some "network --hostname" in ks to hit the issue
Comment 8 Brad Peters 2008-07-16 16:57:10 EDT
Hi Radek, 

How are things looking with this patch?  Is there anything I or IBM can do to help?
Comment 9 Radek Vykydal 2008-07-17 02:48:20 EDT
(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).
Comment 10 Radek Vykydal 2008-07-22 11:59:52 EDT
resolved with
commit 6ed3d0b3d71c7a3ebe1faa4283782c1bf724abac
Comment 11 Radek Vykydal 2008-09-10 08:26:07 EDT
Included in 11.1.2.116.
Comment 13 Alexander Todorov 2008-11-12 08:46:46 EST
Performed an install using a Xen guest booting from disc1 and a ks.cfg file on nfs server. Install completed successfully. Moving to VERIFIED.
Comment 15 errata-xmlrpc 2009-01-20 16:35:33 EST
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

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