Bug 677571

Summary: kickstart.py: 'LogVolData' object has no attribute 'label'
Product: [Fedora] Fedora Reporter: Ales Kozumplik <akozumpl>
Component: pykickstartAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 15CC: awilliam, clumens, jhrozek, jlaska, jonathan, jzeleny, m.a.young, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:bf1cbe9ae098b4017cc8e3559726bfc8714f7c12734b6e26d607f0440b587d5c
Fixed In Version: pykickstart-1.82-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-11 06:10:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
my kickstart
none
Attached traceback automatically from anaconda. none

Description Ales Kozumplik 2011-02-15 09:31:16 UTC
The following was filed automatically by anaconda:
anaconda 15.20 exception report
Traceback (most recent call first):
  File "/tmp/updates/pyanaconda/kickstart.py", line 494, in execute
    label=self.label,
  File "/tmp/updates/pyanaconda/kickstart.py", line 1208, in execute
    obj.execute()
  File "/tmp/updates/anaconda", line 915, in <module>
    anaconda.ksdata.execute()
AttributeError: 'LogVolData' object has no attribute 'label'

Comment 1 Ales Kozumplik 2011-02-15 09:31:21 UTC
Created attachment 478820 [details]
Attached traceback automatically from anaconda.

Comment 2 Ales Kozumplik 2011-02-15 09:36:10 UTC
Created attachment 478822 [details]
my kickstart

Comment 3 James Laska 2011-02-17 16:14:55 UTC
Created attachment 479361 [details]
Attached traceback automatically from anaconda.

Comment 4 James Laska 2011-02-17 16:15:57 UTC
My reproducer was to install F14, then re-use /root/anaconda-ks.cfg for a F-15 install

Comment 5 Michael Young 2011-02-22 14:30:20 UTC
Could we have pykickstart-1.82-1 for F15 please? Currently there is only a post-fork rawhide/F16 version.

Comment 6 Fedora Update System 2011-02-23 16:29:45 UTC
pykickstart-1.82-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/pykickstart-1.82-1.fc15

Comment 7 Fedora Update System 2011-02-23 20:28:35 UTC
pykickstart-1.82-1.fc15 has been pushed to the Fedora 15 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update pykickstart'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pykickstart-1.82-1.fc15

Comment 8 Chris Lumens 2011-02-24 14:56:16 UTC
*** Bug 680129 has been marked as a duplicate of this bug. ***

Comment 9 James Laska 2011-03-07 19:24:28 UTC
(In reply to comment #5)
> Could we have pykickstart-1.82-1 for F15 please? Currently there is only a
> post-fork rawhide/F16 version.

Greetings Michael, an updated pykickstart package is available for Fedora 15, but requires additional Karma.  Can you add your feedback to the update?

https://admin.fedoraproject.org/updates/pykickstart-1.82-1.fc15

Comment 10 Adam Williamson 2011-03-07 19:54:28 UTC
jlaska: I note you didn't put any karma on it yet :)

Comment 11 James Laska 2011-03-07 20:32:27 UTC
(In reply to comment #10)
> jlaska: I note you didn't put any karma on it yet :)

Geez, just can't sneak one by ya :)   

After discussing with clumens, it seems that this is more than just install the update and apply Karma.  I am rebuilding installation media with the updated pykickstart and will post them for testing.

Comment 12 James Laska 2011-03-07 21:17:49 UTC
I built updated pxeboot images using the newest pykickstart package (pykickstart-1.82-1.fc15).  Kernel and initrd.img are available at http://jlaska.fedorapeople.org/updates/F-15-Alpha-677571

Using those images, I'm still seeing the reported problem using the procedure noted in comment#4.  Talking to clumens, it seems a one-line fix will also be needed in anaconda.

Comment 13 Chris Lumens 2011-03-07 21:29:23 UTC
You can use updates=http://clumens.fedorapeople.org/677571.img to check the kickstart.py portion.

Comment 14 James Laska 2011-03-07 21:36:18 UTC
(In reply to comment #13)
> You can use updates=http://clumens.fedorapeople.org/677571.img to check the
> kickstart.py portion.

Confirmed that the issue is fixed using the updates.img provided and the custom kernel+initrd.img images from comment#12.

I'll give karma for pykickstart based on this and other pykickstart testing.

Comment 15 Michael Young 2011-03-08 10:40:26 UTC
It works for me (until I hit bug 680490) with the new pykickstart.py file added to my own updates.img file (which I had constructed earlier from the new pykickstart-1.82-1.fc15 package but hadn't got working).

I have given it some karma.

Comment 16 Fedora Update System 2011-03-11 06:09:56 UTC
pykickstart-1.82-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.