Bug 1303332

Summary: AttributeError: 'LiveImagePayload' object has no attribute 'requiredDeviceSize'
Product: [Fedora] Fedora Reporter: Noel McLoughlin <noel.mcloughlin>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:8dc3fb0d022ad0372ba04f33105d4e0405aeeb50e58d6fa4e3aa684092177f23;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1303334 (view as bug list) Environment:
Hypervisor process for VM: <posixuser> 3809 1 43 22:43 ? 00:13:16 qemu-system-x86_64 -enable-kvm -name f24rawhide -S -machine pc-i440fx-trusty,accel=kvm,usb=off -bios OVMF.fd -m 1024 -smp 1,sockets=1,cores=1,threads=1 -uuid 559e3934-ff4e-b613-4d9d-5029d57ab943 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/f24rawhide.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot c -usb -drive file=/var/lib/libvirt/images/f24rawhide.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/home/enoemcl/workspace/ISO/Fedora-Live-Workstation-x86_64-rawhide-20160129.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=26 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:c8:f1:fe,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -vnc 127.0.0.1:1 -vga qxl -global qxl.ram_size=67108864 -global qxl.vram_size=67108864 -device AC97,id=sound0,bus=pci.0,addr=0x4 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
Last Closed: 2016-01-31 13:44:15 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: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log
none
Screenshot of Error dialog
noel.mcloughlin: review-
Screenshot of Error dialog 2
noel.mcloughlin: review-
anaconda-2016-01-30-23:30:46.555124-4018.tar.gz noel.mcloughlin: review-

Description Noel McLoughlin 2016-01-30 23:10:27 UTC
Description of problem:

1. Launch Rawhide Live DVD installer
2. Choose Install to Disk
3. Proceed to Custom partitioning screen
(a) Make some changes (i.e. /boot and /boot/efi and / partition sizes)
(b) Choose [Done] and review "SUMMARY OF CHANGES"
(c) Choose [Cancel & Return to manual partitioning] button instead of [Accept Changes]



Version-Release number of selected component:
anaconda-core-24.9-1.fc24.x86_64

The following was filed automatically by anaconda:
anaconda 24.9-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/lib/space.py", line 80, in check
    dev_required_size = self.payload.requiredDeviceSize(self.storage.rootDevice.format)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 238, in _updateContinue
    if self._checker and not self._checker.check():
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 233, in _handleCompleteness
    self._updateContinue()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 219, in _updateCompleteness
    self._handleCompleteness(spoke, update_continue)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 288, in _update_spokes
    self._updateCompleteness(spoke)
AttributeError: 'LiveImagePayload' object has no attribute 'requiredDeviceSize'

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-WS-x86_64-rawhide-20 ro rd.live.image quiet rhgb
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.5.0-0.rc1.git0.2.fc24.x86_64
other involved packages: anaconda-gui-24.9-1.fc24.x86_64
product:        Fedora
release:        Fedora release 24 (Rawhide)
type:           anaconda
version:        rawhide

Comment 1 Noel McLoughlin 2016-01-30 23:10:53 UTC
Created attachment 1119679 [details]
File: anaconda-tb

Comment 2 Noel McLoughlin 2016-01-30 23:10:55 UTC
Created attachment 1119680 [details]
File: anaconda.log

Comment 3 Noel McLoughlin 2016-01-30 23:10:57 UTC
Created attachment 1119681 [details]
File: environ

Comment 4 Noel McLoughlin 2016-01-30 23:11:11 UTC
Created attachment 1119682 [details]
File: journalctl

Comment 5 Noel McLoughlin 2016-01-30 23:11:12 UTC
Created attachment 1119683 [details]
File: lsblk_output

Comment 6 Noel McLoughlin 2016-01-30 23:11:14 UTC
Created attachment 1119684 [details]
File: nmcli_dev_list

Comment 7 Noel McLoughlin 2016-01-30 23:11:15 UTC
Created attachment 1119685 [details]
File: os_info

Comment 8 Noel McLoughlin 2016-01-30 23:11:17 UTC
Created attachment 1119686 [details]
File: program.log

Comment 9 Noel McLoughlin 2016-01-30 23:11:25 UTC
Created attachment 1119687 [details]
File: storage.log

Comment 10 Noel McLoughlin 2016-01-30 23:11:27 UTC
Created attachment 1119688 [details]
File: ifcfg.log

Comment 11 Noel McLoughlin 2016-01-30 23:13:10 UTC
Created attachment 1119689 [details]
Screenshot of Error dialog

Comment 12 Noel McLoughlin 2016-01-30 23:18:23 UTC
Created attachment 1119690 [details]
Screenshot of Error dialog 2

Comment 13 Noel McLoughlin 2016-01-30 23:20:44 UTC
Forced to select [Quit] and restart installer

Comment 14 Noel McLoughlin 2016-01-30 23:38:51 UTC
Created attachment 1119703 [details]
anaconda-2016-01-30-23:30:46.555124-4018.tar.gz

Replicated immediately, see attachment anaconda-2016-01-30-23:30:46.555124-4018.tar.gz.  Bug in custom partitioning.

Comment 15 Noel McLoughlin 2016-01-31 13:43:55 UTC
Fixed in anaconda 24.10 
Tested Fedora-Live-Workstation-x86_64-rawhide-20160131.iso

Comment 16 Noel McLoughlin 2016-01-31 13:44:15 UTC

*** This bug has been marked as a duplicate of bug 1297905 ***