Bug 863582 - KeyError: 'payload'
Summary: KeyError: 'payload'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6545acf7a7b7e7cf651044398db...
: 863593 863711 (view as bug list)
Depends On:
Blocks: F18Beta, F18BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2012-10-05 22:10 UTC by Steve Tyler
Modified: 2012-10-16 00:24 UTC (History)
8 users (show)

Fixed In Version: anaconda-18.14-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-16 00:24:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: ifcfg.log (641 bytes, text/plain)
2012-10-05 22:10 UTC, Steve Tyler
no flags Details
File: anaconda-tb (3.28 MB, text/plain)
2012-10-05 22:10 UTC, Steve Tyler
no flags Details
File: environ (885 bytes, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: type (9 bytes, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: storage.log (1.97 MB, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: version (2 bytes, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: program.log (786.82 KB, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: product (6 bytes, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: anaconda.log (40.58 KB, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: hashmarkername (8 bytes, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: cmdline_file (162 bytes, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: release (33 bytes, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details
File: messages (491.85 KB, text/plain)
2012-10-05 22:11 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2012-10-05 22:10:45 UTC
Version-Release number of selected component:
anaconda-18.13-1.fc18.x86_64

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
kernel:         3.6.0-0.rc6.git0.2.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.13 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 130, in __init__
:    self.payload = kwargs.pop("payload")
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 607, in on_continue_clicked
:    dialog = InstallOptions1Dialog(self.data)
:KeyError: 'payload'

Comment 1 Steve Tyler 2012-10-05 22:10:47 UTC
Created attachment 622477 [details]
File: ifcfg.log

Comment 2 Steve Tyler 2012-10-05 22:10:58 UTC
Created attachment 622478 [details]
File: anaconda-tb

Comment 3 Steve Tyler 2012-10-05 22:11:00 UTC
Created attachment 622479 [details]
File: environ

Comment 4 Steve Tyler 2012-10-05 22:11:01 UTC
Created attachment 622480 [details]
File: type

Comment 5 Steve Tyler 2012-10-05 22:11:07 UTC
Created attachment 622481 [details]
File: storage.log

Comment 6 Steve Tyler 2012-10-05 22:11:09 UTC
Created attachment 622482 [details]
File: version

Comment 7 Steve Tyler 2012-10-05 22:11:13 UTC
Created attachment 622483 [details]
File: program.log

Comment 8 Steve Tyler 2012-10-05 22:11:15 UTC
Created attachment 622484 [details]
File: product

Comment 9 Steve Tyler 2012-10-05 22:11:16 UTC
Created attachment 622485 [details]
File: anaconda.log

Comment 10 Steve Tyler 2012-10-05 22:11:18 UTC
Created attachment 622486 [details]
File: hashmarkername

Comment 11 Steve Tyler 2012-10-05 22:11:19 UTC
Created attachment 622487 [details]
File: cmdline_file

Comment 12 Steve Tyler 2012-10-05 22:11:21 UTC
Created attachment 622488 [details]
File: release

Comment 13 Steve Tyler 2012-10-05 22:11:24 UTC
Created attachment 622489 [details]
File: messages

Comment 14 Steve Tyler 2012-10-05 22:30:01 UTC
Reproduced with:
1. Click "Installation Destination".
2. Click "Continue".

With Fedora-18-Nightly-20121003.08-x86_64-Live-desktop.iso in a VM.

The target was an empty VM disk image:
$ qemu-img create f18-test-3.img 10G
$ hexdump -C f18-test-3.img 
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
280000000

$ qemu-kvm -m 2048 -hda f18-test-3.img -cdrom ~/xfr/fedora/nightly-composes/Fedora-18-Nightly-20121003.08-x86_64-Live-desktop.iso -usb -vga qxl -boot menu=on

Comment 15 Adam Williamson 2012-10-05 22:55:33 UTC
Just picking an empty disk as an install target for a live install with anaconda 18.13.

Package: anaconda-18.13-1.fc18.x86_64
OS Release: Fedora release 18

Comment 16 Adam Williamson 2012-10-05 23:04:15 UTC
note that, interestingly, you can simply go to the disk selection spoke, have a disk selected, and click 'Done' at top left, and it'll work - anaconda will go with autopart on that disk, assuming it has enough free space. you don't actually have to click 'Continue'. that seems a little strange from a UI perspective, but it works around this bug.

Comment 17 Adam Williamson 2012-10-05 23:05:56 UTC
even with that workaround, this is obviously a beta blocker, it prevents access to custom partitioning or the 'help me free space' process, so it hits Alpha "The installer must be able to complete an installation using automatic partitioning to any sufficiently large target disk, whether unformatted, empty, or containing any kind of existing data".

Comment 18 Adam Williamson 2012-10-06 00:28:09 UTC
I believe this bug actually happens _only_ if the target disk is empty (no partitions, I guess is the definition of 'empty' here.) if the target disk is populated, it seems to work OK (though of course you might hit https://bugzilla.redhat.com/show_bug.cgi?id=863348 later).

Comment 19 Tim Flink 2012-10-06 00:35:18 UTC
I attempted to install in a VM with f18b-smoke5 (anaconda-18.13-1) using an empty disk

When I selected the disk and attempted to use autopart, this traceback showed up.


Package: anaconda-18.13
OS Release: Fedora release 18

Comment 20 Tim Flink 2012-10-06 00:37:34 UTC
(In reply to comment #18)
> I believe this bug actually happens _only_ if the target disk is empty (no
> partitions, I guess is the definition of 'empty' here.) if the target disk
> is populated, it seems to work OK (though of course you might hit
> https://bugzilla.redhat.com/show_bug.cgi?id=863348 later).

I tried an install using f18b-smoke5 (anaconda-18.13-1) on a disk that had an old install of F18 on it. I hit https://bugzilla.redhat.com/show_bug.cgi?id=863593 which looks similar to my uneducated eyes but I could well be wrong.

Comment 21 Adam Williamson 2012-10-06 01:05:32 UTC
well you hit it later, which is interesting. I did a test with a populated disk where I could get into the guided 'free up space' workflow and then it crashed when trying to remove partitions - but it crashed with 863348, not 863593. I also did a test with a populated disk and using *custom* partitioning, and that actually worked properly: I could remove the existing partitions and create new ones and complete the install, all successfully.

Comment 22 John Reiser 2012-10-06 15:34:03 UTC
For Installation Destination, choose harddrive with GPT but no partitions.  Click Continue.

Package: anaconda-18.13
OS Release: Fedora release 18

Comment 23 Chris Lumens 2012-10-06 19:08:03 UTC
*** Bug 863593 has been marked as a duplicate of this bug. ***

Comment 24 Chris Lumens 2012-10-06 21:38:10 UTC
This is kinda hastily put together, but you can try:

updates=http://clumens.fedorapeople.org/13updates.img

And then I'll deal with really submitting patches next week.

Comment 25 Chris Lumens 2012-10-06 21:42:36 UTC
*** Bug 863711 has been marked as a duplicate of this bug. ***

Comment 26 Fedora Update System 2012-10-09 00:20:44 UTC
anaconda-18.14-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.14-1.fc18

Comment 27 Fedora Update System 2012-10-09 17:20:08 UTC
Package anaconda-18.14-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.14-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15707/anaconda-18.14-1.fc18
then log in and leave karma (feedback).

Comment 28 Adam Williamson 2012-10-10 18:22:15 UTC
Discussed at 2012-10-10 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-10/f18beta-blocker-review-3.2012-10-10-16.05.log.txt . Accepted as a blocker per Alpha criterion "The installer must be able to complete an installation using automatic partitioning to any sufficiently large target disk, whether unformatted, empty, or containing any kind of existing data".

Comment 29 Kamil Páral 2012-10-15 14:20:52 UTC
I can't reproduce the original bug with anaconda 18.12 and therefore I can't verify that it's fixed.

Steve, Tim, Adam, please try to reproduce with Beta TC4, thanks.

Comment 30 Steve Tyler 2012-10-15 14:28:47 UTC
(In reply to comment #29)
> I can't reproduce the original bug with anaconda 18.12 and therefore I can't
> verify that it's fixed.
> 
> Steve, Tim, Adam, please try to reproduce with Beta TC4, thanks.

The reports are against 18.13 ...

Comment 31 Adam Williamson 2012-10-16 00:24:56 UTC
I can still reproduce this with my test image that had 18.13, and I can't reproduce it in TC3 (which had 18.14) or TC4 (18.16), so we can close this (18.14 went stable).


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