Bug 874714 - AttributeError: 'LUKSDevice' object has no attribute 'disk'
Summary: AttributeError: 'LUKSDevice' object has no attribute 'disk'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aead39d72ff60ad74111c02965f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-08 17:48 UTC by Steve Tyler
Modified: 2012-11-24 03:13 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-24 03:13:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (814.34 KB, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: environ (885 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: type (9 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: ifcfg.log (641 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: storage.log (463.97 KB, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: version (2 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: program.log (128.60 KB, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: executable (14 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: product (6 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: anaconda.log (38.24 KB, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: hashmarkername (8 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: cmdline_file (162 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: release (33 bytes, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details
File: messages (151.67 KB, text/plain)
2012-11-08 17:48 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2012-11-08 17:48:23 UTC
Description of problem:
Attempting to reproduce Bug 868505.

Version-Release number of selected component:
anaconda-18.27-1.fc18.x86_64

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

description:
:The following was filed automatically by anaconda:
:anaconda 18.27 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1839, in setContainerMembers
:    if member.disk in remove_disks:
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2037, in newDevice
:    members=members, device=device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1197, in _save_right_side
:    raid_level=raid_level)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1949, in on_selector_clicked
:    self._save_right_side(self._current_selector)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 195, in _onSelectorClicked
:    cb(selector)
:AttributeError: 'LUKSDevice' object has no attribute 'disk'

Comment 1 Steve Tyler 2012-11-08 17:48:27 UTC
Created attachment 640962 [details]
File: anaconda-tb

Comment 2 Steve Tyler 2012-11-08 17:48:29 UTC
Created attachment 640963 [details]
File: environ

Comment 3 Steve Tyler 2012-11-08 17:48:31 UTC
Created attachment 640964 [details]
File: type

Comment 4 Steve Tyler 2012-11-08 17:48:32 UTC
Created attachment 640965 [details]
File: ifcfg.log

Comment 5 Steve Tyler 2012-11-08 17:48:35 UTC
Created attachment 640966 [details]
File: storage.log

Comment 6 Steve Tyler 2012-11-08 17:48:36 UTC
Created attachment 640967 [details]
File: version

Comment 7 Steve Tyler 2012-11-08 17:48:38 UTC
Created attachment 640968 [details]
File: program.log

Comment 8 Steve Tyler 2012-11-08 17:48:41 UTC
Created attachment 640969 [details]
File: executable

Comment 9 Steve Tyler 2012-11-08 17:48:43 UTC
Created attachment 640970 [details]
File: product

Comment 10 Steve Tyler 2012-11-08 17:48:44 UTC
Created attachment 640971 [details]
File: anaconda.log

Comment 11 Steve Tyler 2012-11-08 17:48:46 UTC
Created attachment 640972 [details]
File: hashmarkername

Comment 12 Steve Tyler 2012-11-08 17:48:48 UTC
Created attachment 640973 [details]
File: cmdline_file

Comment 13 Steve Tyler 2012-11-08 17:48:50 UTC
Created attachment 640974 [details]
File: release

Comment 14 Steve Tyler 2012-11-08 17:48:51 UTC
Created attachment 640975 [details]
File: messages

Comment 15 Steve Tyler 2012-11-08 18:32:40 UTC
Here are two reproducers:

Start with an empty 12 GB disk:
$ qemu-img create f18-test-2.img 12G

Variant 1:
Click Installation Destination
Check "Encrypt my data. ..."
Proceed to Manual Partitioning
Auto-create mount points.
Click "+" "Customize...".
Click Root.
Uncheck Encrypt.
Click Root to select.
Click "-" to remove.
Click "+" to add a new mount point.
Enter Mount Point: "/", Capacity: 3000.
Click Add mount point.
<Exception occurs>

Variant 2:
Click Installation Destination
Check "Encrypt my data. ..."
Proceed to Manual Partitioning
Auto-create mount points.
Click "+" "Customize...".
Click Swap.
Uncheck Encrypt.
Click Root to select.
Click "-" to remove.
Click "+" to add a new mount point.
Enter Mount Point: "/", Capacity: 3000.
Click Add mount point.
<Exception occurs>

Command-line:
$ qemu-kvm -m 2048 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Beta/TC7/Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Comment 16 Fedora Update System 2012-11-10 00:55:46 UTC
anaconda-18.28-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-17823/anaconda-18.28-1.fc18

Comment 17 Fedora Update System 2012-11-10 19:38:16 UTC
Package anaconda-18.28-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.28-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17823/anaconda-18.28-1.fc18
then log in and leave karma (feedback).

Comment 18 Adam Williamson (Red Hat non-Fedora) 2012-11-23 06:39:36 UTC
Steve, can you re-test with Beta RC1 and confirm this is fixed? If so, close the bug. Thanks!

Comment 19 Steve Tyler 2012-11-24 03:13:21 UTC
Verifying that a traceback does not occur using the reproducers in Comment 15 with:
anaconda-0:18.29.2-1.fc18.x86_64
Fedora-18-Beta-x86_64-Live-Desktop.iso (RC1)

Thanks.

The reproducers do, however, expose:
Bug 879702 - root volume may be created with 4 MB capacity instead of 3000 MB capacity

Tested with:
$ qemu-kvm -m 2048 -hda f18-test-3.img -cdrom ~/xfr/fedora/F18/F18-Beta/RC1/Fedora-18-Beta-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse


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