Bug 1297905

Summary: AttributeError: 'LiveImagePayload' object has no attribute 'requiredDeviceSize'
Product: [Fedora] Fedora Reporter: lea89 <leajcastro>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, awilliam, bugzilla, dshea, g.kaviyarasu, jonathan, noel.mcloughlin, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8b1001e21cec6c2ddfe156c906de437998b094fe2fc78ef232f685a8c9b0fe33;VARIANT_ID=workstation;
Fixed In Version: anaconda-24.10-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-01 08:43:58 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: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log
none
File: Screenshot from 2016-01-12 13-04-53.png
none
Screenshot of Error dialog (after reporting error) none

Description lea89 2016-01-12 18:09:09 UTC
Description of problem:
El problema surgue cuando se selecciona el destino de la instalación. Al configurar el particionamiento de manera automática se genera el error. 

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/gui/spokes/lib/resize.py", line 88, in __init__
    required_dev_size = self.payload.requiredDeviceSize(FS.biggestOverheadFS())
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 848, in _run_dialogs
    resize_dialog = ResizeDialog(self.data, self.storage, self.payload)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 969, in on_back_clicked
    rc = self._run_dialogs(disks, start_with=dialog)
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.4.0-0.rc8.git3.1.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 lea89 2016-01-12 18:11:09 UTC
Created attachment 1114059 [details]
File: anaconda-tb

Comment 2 lea89 2016-01-12 18:11:12 UTC
Created attachment 1114060 [details]
File: anaconda.log

Comment 3 lea89 2016-01-12 18:11:14 UTC
Created attachment 1114061 [details]
File: environ

Comment 4 lea89 2016-01-12 18:11:49 UTC
Created attachment 1114062 [details]
File: journalctl

Comment 5 lea89 2016-01-12 18:11:51 UTC
Created attachment 1114063 [details]
File: lsblk_output

Comment 6 lea89 2016-01-12 18:12:19 UTC
Created attachment 1114064 [details]
File: lvm.log

Comment 7 lea89 2016-01-12 18:12:21 UTC
Created attachment 1114065 [details]
File: nmcli_dev_list

Comment 8 lea89 2016-01-12 18:12:23 UTC
Created attachment 1114066 [details]
File: os_info

Comment 9 lea89 2016-01-12 18:12:27 UTC
Created attachment 1114067 [details]
File: program.log

Comment 10 lea89 2016-01-12 18:12:33 UTC
Created attachment 1114068 [details]
File: storage.log

Comment 11 lea89 2016-01-12 18:12:35 UTC
Created attachment 1114069 [details]
File: ifcfg.log

Comment 12 lea89 2016-01-12 18:12:39 UTC
Created attachment 1114070 [details]
File: Screenshot from 2016-01-12 13-04-53.png

Comment 14 Adam Williamson 2016-01-18 19:41:53 UTC
Another user experienced a similar problem:

Booted 2016-01-18 Rawhide nightly Workstation live image, ran the insaller, went to INSTALLATION DESTINATION, clicked Done (the single virtIO disk attached to the VM was selection), INSTALLATION OPTIONS popped up as the disk is full, hit 'Reclaim space', crash.

The disk contains an existing Fedora install, can't recall the exact details of that install, probably another Rawhide install from a recent nightly.

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-rawhide-20 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.5.0-0.rc0.git1.1.fc24.x86_64
other involved packages: anaconda-gui-24.9-1.fc24.x86_64
package:        anaconda-core-24.9-1.fc24.x86_64
packaging.log:  
product:        Fedora
reason:         AttributeError: 'LiveImagePayload' object has no attribute 'requiredDeviceSize'
release:        Fedora release 24 (Rawhide)
version:        rawhide

Comment 15 Noel McLoughlin 2016-01-31 00:06:23 UTC
Another user experienced a similar problem:


1. Lunch rawhide live DVD 
2. Start "Install to Disk"
3. Select Partitioning
4. Select [Done] without making any modifications or taking any actions.

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 rd.live.check
hashmarkername: anaconda
kernel:         4.5.0-0.rc1.git0.2.fc24.x86_64
other involved packages: anaconda-gui-24.9-1.fc24.x86_64
package:        anaconda-core-24.9-1.fc24.x86_64
packaging.log:  
product:        Fedora
reason:         AttributeError: 'LiveImagePayload' object has no attribute 'requiredDeviceSize'
release:        Fedora release 24 (Rawhide)
version:        rawhide

Comment 16 Noel McLoughlin 2016-01-31 00:09:52 UTC
Created attachment 1119704 [details]
Screenshot of Error dialog (after reporting error)

Comment 17 Noel McLoughlin 2016-01-31 00:30:39 UTC
Started again. Increased disk image size to 8GB from 5GB.  During anaconda "install to disk" phase I entered/exited partitioning without making any modifications & Selections and issue not reproduced.  Was able to [Begin Installation] of Rawhide with no crash.

Comment 18 Adam Williamson 2016-01-31 01:09:37 UTC
This bug's already believed to be fixed in anaconda 24.10, but you were testing with an image with 24.9.

Comment 19 Noel McLoughlin 2016-01-31 12:19:50 UTC
ok, thanks for pointing this out, will retest with later image.

Comment 20 Noel McLoughlin 2016-01-31 13:42:05 UTC
Yes. Fixed in anaconda 24.10 
Tested Fedora-Live-Workstation-x86_64-rawhide-20160131.iso

Comment 21 Noel McLoughlin 2016-01-31 13:44:15 UTC
*** Bug 1303332 has been marked as a duplicate of this bug. ***

Comment 22 Adam Williamson 2016-02-01 08:43:58 UTC
Thanks for confirming the fix!

Comment 23 Chris Murphy 2016-02-04 03:19:03 UTC
Another user experienced a similar problem:

1. Autopartitioning path
2. Clicked on Reclaim Space button
crash

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
hashmarkername: anaconda
kernel:         4.5.0-0.rc0.git9.1.fc24.x86_64
other involved packages: anaconda-gui-24.9-1.fc24.x86_64
package:        anaconda-core-24.9-1.fc24.x86_64
packaging.log:  
product:        Fedora
reason:         AttributeError: 'LiveImagePayload' object has no attribute 'requiredDeviceSize'
release:        Fedora release 24 (Rawhide)
version:        rawhide

Comment 24 David Shea 2016-02-08 19:00:43 UTC
*** Bug 1304589 has been marked as a duplicate of this bug. ***