Bug 461160 - AttributeError: KickstartData instance has no attribute 'encrypted'
Summary: AttributeError: KickstartData instance has no attribute 'encrypted'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: pykickstart
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact:
URL: http://rhts.redhat.com/cgi-bin/rhts/j...
Whiteboard:
: 461287 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-04 16:54 UTC by Jeff Burke
Modified: 2009-01-20 21:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 21:02:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0221 0 normal SHIPPED_LIVE pykickstart bug fix update 2009-01-20 16:04:41 UTC

Description Jeff Burke 2008-09-04 16:54:46 UTC
Description of problem:

* RHEL5.3-Server-20080904.nightly i386
* error appears through automate RHTS testing
* behavior appears arch independent

trying to install a minimal system, a traceback occurs which causes the
installer to fail:

Running anaconda, the Red Hat Enterprise Linux Server system installer - please wait...
Probing for video card:   Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1)
Running pre-install scripts
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 954, in ?
    instClass.setInstallData(anaconda)
  File "/usr/lib/anaconda/kickstart.py", line 874, in setInstallData
    self.ksparser.readKickstart(self.file)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 1151, in readKickstart
    self.handleCommand(lineno, args)
  File "/usr/lib/anaconda/kickstart.py", line 762, in handleCommand
    self.handler.handlers[cmd](cmdArgs)
  File "/usr/lib/anaconda/kickstart.py", line 121, in doAutoPart
    if self.ksdata.encrypted:
AttributeError: KickstartData instance has no attribute 'encrypted'
install exited abnormally [1/1] 
sending termination signals...done
sending kill signals...done
disabling swap...
unmounting filesystems...
        /mnt/runtime done
        disabling /dev/loop0
        /proc/bus/usb done
        /proc done
        /dev/pts done
        /sys done
        /tmp/ramfs done
        /mnt/source done
        /selinux done
you may safely reboot your system

Version-Release number of selected component (if applicable):
RHEL5.3-Server-20080904.nightly

How reproducible:
always

Steps to Reproduce:
1. Try a nfs install from pxe with a ks.cfg file
  
Additional info:
This may be a indirect consequence of the bug fix for https://bugzilla.redhat.com/show_bug.cgi?id=460375

Comment 1 Chris Lumens 2008-09-04 17:19:32 UTC
Standing by with a patch for just as soon as this gets approval.

Comment 2 RHEL Program Management 2008-09-04 17:36:00 UTC
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 3 David Lehman 2008-09-05 16:57:49 UTC
*** Bug 461287 has been marked as a duplicate of this bug. ***

Comment 4 Chris Lumens 2008-09-08 15:47:36 UTC
This should be fixed in the next build of pykickstart.  Thanks for the bug report.

Comment 9 errata-xmlrpc 2009-01-20 21:02:34 UTC
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-0221.html


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