Bug 893205

Summary: AttributeError: can't set attribute
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: g.kaviyarasu, jonathan, sbueno, stephent98, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:369310f75c65a12cff7520977d48026491f464e8a63fea718e5da798ee0a320f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-16 13:51:39 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
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog none

Description Steve Tyler 2013-01-08 21:54:13 UTC
Description of problem:
Attempt to resize encrypted partition in Manual Partitioning.
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3501, in set_device_size
    device.size = size
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2221, in newDevice
    size = factory.set_device_size(container, device=device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1193, in _save_right_side
    raid_level=raid_level)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2480, in on_apply_clicked
    self._save_right_side(self._current_selector)
AttributeError: can't set attribute

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.11
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18

Comment 1 Steve Tyler 2013-01-08 21:54:17 UTC
Created attachment 675088 [details]
File: anaconda-tb

Comment 2 Steve Tyler 2013-01-08 21:54:19 UTC
Created attachment 675089 [details]
File: anaconda.log

Comment 3 Steve Tyler 2013-01-08 21:54:20 UTC
Created attachment 675090 [details]
File: environ

Comment 4 Steve Tyler 2013-01-08 21:54:22 UTC
Created attachment 675091 [details]
File: ifcfg.log

Comment 5 Steve Tyler 2013-01-08 21:54:23 UTC
Created attachment 675092 [details]
File: packaging.log

Comment 6 Steve Tyler 2013-01-08 21:54:25 UTC
Created attachment 675093 [details]
File: program.log

Comment 7 Steve Tyler 2013-01-08 21:54:26 UTC
Created attachment 675094 [details]
File: storage.log

Comment 8 Steve Tyler 2013-01-08 21:54:28 UTC
Created attachment 675095 [details]
File: syslog

Comment 9 Steve Tyler 2013-01-08 22:16:02 UTC
Start with a 12 GB disk having default storage configuration and a minimal install:
[liveuser@localhost ~]$ lsblk -o NAME,SIZE,TYPE,FSTYPE /dev/sda
NAME                    SIZE TYPE FSTYPE
sda                      12G disk 
├─sda1                  500M part ext4
└─sda2                 11.5G part LVM2_member
  ├─fedora-swap (dm-2)    4G lvm  swap
  └─fedora-root (dm-3)  7.6G lvm  ext4

Proceed to Manual Partitioning.
Click Root.
Click "+" to expand Customize...
Click Reformat, Encrypt.
Enter "/" for Mount Point.
Click Apply Changes.
Click New Fedora ... to expand.
Click Root, if not already selected.
Enter 4000 for Desired Capacity.
Click Apply Changes.
Exception occurs: AttributeError: can't set attribute

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

Comment 10 David Lehman 2013-05-16 13:51:39 UTC
This should be fixed in both the alpha and forthcoming beta of fedora 19. Feel free to reopen this bug if that is not the case.