Bug 873392

Summary: TypeError: refresh() takes exactly 6 arguments (7 given)
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, g.kaviyarasu, jonathan, stephent98, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a9e9c55e04c824a64edee440d5e92569ac9491f3ff484f531f250bfb1581d67a
Fixed In Version: anaconda-18.25-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 06:23:54 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: product
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: executable
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log
none
storage.log (reproduced with raid5 member)
none
anaconda-tb-p3CNCP none

Description Reartes Guillermo 2012-11-05 18:14:36 UTC
Description of problem:
the guest has 3 disks, one big and two small (1gb each)
in these 1gb disks i created two whole-device fs, an ext4 and a fat32.

then booted F18b TC7 and selected only those two 1gb disks, and kabooom


Version-Release number of selected component:
anaconda-18.24

Additional info:
libreport version: 2.0.17
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.5-2.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.24 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 678, in on_continue_clicked
:    dialog.refresh(required_space, disks_size, disk_free, fs_free, self.autopart, self.autoPartType)
:TypeError: refresh() takes exactly 6 arguments (7 given)

Comment 1 Reartes Guillermo 2012-11-05 18:14:43 UTC
Created attachment 638778 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2012-11-05 18:14:45 UTC
Created attachment 638779 [details]
File: product

Comment 3 Reartes Guillermo 2012-11-05 18:14:47 UTC
Created attachment 638780 [details]
File: type

Comment 4 Reartes Guillermo 2012-11-05 18:14:50 UTC
Created attachment 638781 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2012-11-05 18:14:54 UTC
Created attachment 638782 [details]
File: storage.log

Comment 6 Reartes Guillermo 2012-11-05 18:14:57 UTC
Created attachment 638783 [details]
File: version

Comment 7 Reartes Guillermo 2012-11-05 18:15:00 UTC
Created attachment 638784 [details]
File: environ

Comment 8 Reartes Guillermo 2012-11-05 18:15:02 UTC
Created attachment 638785 [details]
File: executable

Comment 9 Reartes Guillermo 2012-11-05 18:15:05 UTC
Created attachment 638786 [details]
File: anaconda.log

Comment 10 Reartes Guillermo 2012-11-05 18:15:08 UTC
Created attachment 638787 [details]
File: syslog

Comment 11 Reartes Guillermo 2012-11-05 18:15:10 UTC
Created attachment 638788 [details]
File: hashmarkername

Comment 12 Reartes Guillermo 2012-11-05 18:15:12 UTC
Created attachment 638789 [details]
File: packaging.log

Comment 13 Reartes Guillermo 2012-11-05 18:15:15 UTC
Created attachment 638790 [details]
File: cmdline_file

Comment 14 Reartes Guillermo 2012-11-05 18:15:19 UTC
Created attachment 638791 [details]
File: release

Comment 15 Reartes Guillermo 2012-11-05 18:15:22 UTC
Created attachment 638792 [details]
File: program.log

Comment 16 Reartes Guillermo 2012-11-05 19:41:36 UTC
selected only one disks being part of a raid5 array

Package: anaconda-18.24
OS Release: Fedora release 18-Beta-TC7

Comment 17 Reartes Guillermo 2012-11-05 19:43:37 UTC
Created attachment 638892 [details]
storage.log (reproduced with raid5 member)

Comment 18 Steve Tyler 2012-11-05 21:11:19 UTC
Attempt to install to a zero-byte disc image.

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

Comment 19 Steve Tyler 2012-11-05 21:22:22 UTC
Created attachment 638909 [details]
anaconda-tb-p3CNCP

Reproduced by attempting to install to a zero-byte disc image.

Tested with:
$ qemu-img create f18-test-4.img 1 # creates a zero-byte disc image
$ qemu-kvm -m 2048 -hda f18-test-4.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 20 Fedora Update System 2012-11-06 01:37:28 UTC
anaconda-18.25-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.25-1.fc18

Comment 21 Steve Tyler 2012-11-06 03:39:23 UTC
anaconda-18.24-1 reproducer:

Create a zero-byte disc image:
$ qemu-img create f18-test-4.img 1
$ ls -l f18-test-4.img

Start installer:
$ qemu-kvm -m 2048 -hda f18-test-4.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

Click Installation Destination
Click Continue

Comment 22 Steve Tyler 2012-11-06 03:51:32 UTC
Verifying that with anaconda-18.25-1, this bug does not occur with the reproducer in Comment 21. An Installation Options dialog showing '0 B' space is displayed.

Comment 23 Fedora Update System 2012-11-06 18:49:01 UTC
Package anaconda-18.25-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.25-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17691/anaconda-18.25-1.fc18
then log in and leave karma (feedback).

Comment 24 Fedora Update System 2012-11-07 02:09:24 UTC
anaconda-18.26-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.26-1.fc18

Comment 25 Fedora Update System 2012-11-08 03:23:40 UTC
anaconda-18.27-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.27-1.fc18

Comment 26 Adam Williamson 2012-11-23 06:23:54 UTC
This bug looks to have been fixed for several anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.

(ref comment #21)