Bug 695389 - Traceback when writing a kickstart for an unused lvm-on-raid (TypeError: 'NoneType' object is not subscriptable)
Summary: Traceback when writing a kickstart for an unused lvm-on-raid (TypeError: 'Non...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:9acc4941fc84851af...
: 696904 698249 (view as bug list)
Depends On:
Blocks: 494832 F15Blocker, F15FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2011-04-11 14:59 UTC by Clyde E. Kunkel
Modified: 2014-09-30 23:40 UTC (History)
11 users (show)

Fixed In Version: anaconda-15.29-1
Clone Of:
Environment:
Last Closed: 2011-04-29 18:44:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (5.59 MB, text/plain)
2011-04-11 14:59 UTC, Clyde E. Kunkel
no flags Details
anaconda traceback when using bz695389.img (6.72 KB, text/plain)
2011-04-20 15:21 UTC, Patrick C. F. Ernzer
no flags Details

Description Clyde E. Kunkel 2011-04-11 14:59:44 UTC
The following was filed automatically by anaconda:
anaconda 15.27 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/__init__.py", line 408, in majorminor
    dev = udev_get_device(sysfs_path[4:])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 1979, in writeKS
    pvs.append("pv.%s" % pv.format.majorminor)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1186, in writeKS
    device.writeKS(f, preexisting=preexisting, noformat=noformat)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/__init__.py", line 379, in writeKS
    self.storage.writeKS(f)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packages.py", line 67, in writeKSConfiguration
    anaconda.writeKS(fn)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 211, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 130, in gotoNext
    self.moveStep()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1257, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1278, in handleRenderCallback
    self.currentWindow.renderCallback()
TypeError: 'NoneType' object is not subscriptable

Comment 1 Clyde E. Kunkel 2011-04-11 14:59:51 UTC
Created attachment 491254 [details]
Attached traceback automatically from anaconda.

Comment 2 Ales Kozumplik 2011-04-11 15:18:29 UTC
assigning this to me, I've seen similar issues.

Comment 3 Ales Kozumplik 2011-04-12 11:08:35 UTC
This is reproducible by trying to install on a system where lvm-on-raid exists which we do not touch during partitioning. The raid gets torn down and get_sysfs_path_by_name() returns None as /sys/class/block/md0 does not exist.

Comment 4 Ales Kozumplik 2011-04-12 17:34:02 UTC
Clyde,

can you please retest with this updates image?
http://akozumpl.fedorapeople.org/bz695389.img

Thank you.

Comment 5 Clyde E. Kunkel 2011-04-12 21:47:42 UTC
Hey, Ales:

Works fine. Normal end of install on LV over raid 10 with CD tray popping open...using the install now to report back to you. I'll leave open and let you close it when your changes show up.

Regards,
OldFart

Comment 6 Ales Kozumplik 2011-04-13 07:13:26 UTC
Proposing as a release blocker, this is easy to hit during upgrades or when installing to an unused disk while leaving other disks intact.

Comment 7 James Laska 2011-04-13 14:17:52 UTC
Qualifies as a final release [1] blocker per the following criteria:

   "The installer must be able to create and install to any workable partition layout using any file system offered in a default installer configuration, LVM, software, hardware or BIOS RAID, or combination of the above "

While this is a kickstart-based installation, it still qualifies per the spirit of the above criteria.

[1] https://fedoraproject.org/wiki/Fedora_15_Final_Release_Criteria

Comment 8 Ales Kozumplik 2011-04-15 06:46:47 UTC
f15-branch: 1605b399f34ac923c457088d182da9db021191c8
master: 106f7d44099f2a11c156ed30d08f14d860c5d4be

Comment 9 Martin Gracik 2011-04-15 09:20:58 UTC
*** Bug 696904 has been marked as a duplicate of this bug. ***

Comment 10 Adam Williamson 2011-04-15 17:35:38 UTC
Discussed at the 2011-04-15 blocker review meeting. Accepted as a blocker as per jlaska's comment #7. Fix is in, waiting for a new anaconda build to confirm.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 11 Chris Lumens 2011-04-20 14:25:09 UTC
*** Bug 698249 has been marked as a duplicate of this bug. ***

Comment 12 Patrick C. F. Ernzer 2011-04-20 15:21:06 UTC
Created attachment 493514 [details]
anaconda traceback when using  bz695389.img

Chris,

bz695389.img does not fix Bug 698249 for me. In fact, the updates image makes anaconda traceback a lot sooner.

Comment 13 Ales Kozumplik 2011-04-21 06:06:21 UTC
(In reply to comment #12)
> Created attachment 493514 [details]
> anaconda traceback when using  bz695389.img
> 
> Chris,
> 
> bz695389.img does not fix Bug 698249 for me. In fact, the updates image makes
> anaconda traceback a lot sooner.

Can you please attach the entire traceback file (it's named /tmp/anaconda-tb-*)?

Comment 15 Ales Kozumplik 2011-04-21 13:23:40 UTC
Patrick,

I think you are hitting a dup of bug 677689 (cciss devices' sysfs paths are not constructed properly). 

Can you please retest with http://akozumpl.fedorapeople.org/bz695389_patrick.img ?

Comment 16 Patrick C. F. Ernzer 2011-04-21 15:05:05 UTC
Ales,

(In reply to comment #15)
> I think you are hitting a dup of bug 677689 (cciss devices' sysfs paths are not
> constructed properly). 
> 
> Can you please retest with
> http://akozumpl.fedorapeople.org/bz695389_patrick.img ?

confirm, that updates image fixes Bug 698249 for me.
Thank you!

Will you adjust 698249 so that it is marked as DUP of the correct bug or do you want me to?

Comment 17 Robyn Bergeron 2011-04-21 17:22:51 UTC
From 04/21 blocker meeting - clumens expects a new build to arrive later today.

Comment 18 Ales Kozumplik 2011-04-22 06:05:23 UTC
> confirm, that updates image fixes Bug 698249 for me.
> Thank you!
> 
> Will you adjust 698249 so that it is marked as DUP of the correct bug or do you
> want me to?

I think it is okay to keep it as it is, those bugs are anyway all closely related and due to recent changes we made to those parts of the code.

Comment 19 James Laska 2011-04-25 14:50:22 UTC
NOTE: I think the fix for this bug, introduces bug#699383

Comment 20 Ales Kozumplik 2011-04-26 08:38:44 UTC
Comitted the fix for the problem from comment 14: cab0b376c390490cff2d0c378a490d3d5affec51.

Comment 21 James Laska 2011-04-29 16:29:19 UTC
anaconda-15-29.1 is now available in Fedora 15 'stable'. 

Clyde, are you still seeing this issue?  I'm guessing no since you were kind enough to add some bodhi karma to the update.  But I'll leave the request outstanding for a bit before we close this issue.

Comment 22 Clyde E. Kunkel 2011-04-29 18:44:08 UTC
No longer seeing.

Comment 23 James Laska 2011-04-29 18:44:43 UTC
(In reply to comment #22)
> No longer seeing.

Clyde you rock, thanks for the feedback :)


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