Bug 1309018

Summary: AttributeError: 'Expander' object has no attribute 'members'
Product: [Fedora] Fedora Reporter: stan <gryt2>
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: 24CC: anaconda-maint-list, drepper, dshea, g.kaviyarasu, gryt2, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:5a4dd79c42740b8ffcabe98303102862695cddac9c678a4365f47ef131dad5a3;
Fixed In Version: anaconda-24.13-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-29 17:03:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description stan 2016-02-16 17:29:40 UTC
Description of problem:
I created a /boot partition from existing.  When selecting next partition to reuse as /, error occurred.

Version-Release number of selected component:
anaconda-24.12-1

The following was filed automatically by anaconda:
anaconda 24.12-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 304, in remove_page
    for s in target.members:
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 904, in _do_reformat
    self._accordion.remove_page(page.pageTitle)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 137, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1232, in _save_right_side
    encrypted, selector, fs_type)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2288, in _save_current_page
    self._save_right_side(selector)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2298, in on_selector_clicked
    self._save_current_page(old_selector)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 364, in process_event
    cb(old_selector, selector)
AttributeError: 'Expander' object has no attribute 'members'

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   repo=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/ rd.timeout=60 initrd=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/images/pxeboot/initrd.img BOOT_IMAGE=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/images/pxeboot/vmlinuz 
dnf.rpm.log:    Feb 16 17:19:38 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.5.0-0.rc4.git0.1.fc24.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 stan 2016-02-16 17:29:57 UTC
Created attachment 1127643 [details]
File: anaconda-tb

Comment 2 stan 2016-02-16 17:29:59 UTC
Created attachment 1127644 [details]
File: anaconda.log

Comment 3 stan 2016-02-16 17:30:00 UTC
Created attachment 1127645 [details]
File: dnf.log

Comment 4 stan 2016-02-16 17:30:01 UTC
Created attachment 1127646 [details]
File: environ

Comment 5 stan 2016-02-16 17:30:01 UTC
Created attachment 1127647 [details]
File: lsblk_output

Comment 6 stan 2016-02-16 17:30:02 UTC
Created attachment 1127648 [details]
File: nmcli_dev_list

Comment 7 stan 2016-02-16 17:30:03 UTC
Created attachment 1127649 [details]
File: os_info

Comment 8 stan 2016-02-16 17:30:09 UTC
Created attachment 1127650 [details]
File: storage.log

Comment 9 stan 2016-02-16 17:30:11 UTC
Created attachment 1127651 [details]
File: syslog

Comment 10 stan 2016-02-16 17:30:12 UTC
Created attachment 1127652 [details]
File: ifcfg.log

Comment 11 stan 2016-02-16 17:30:12 UTC
Created attachment 1127653 [details]
File: packaging.log

Comment 12 stan 2016-02-16 17:30:17 UTC
Created attachment 1127654 [details]
File: program.log

Comment 13 stan 2016-02-16 20:40:58 UTC
A clarification of what I was doing when the bug happened.  I had reached the hub, and the data storage was available with an exclamation mark, saying I had to allocate storage.  I clicked through, and selected the drive, and selected the box saying I wanted to partition, then clicked done.

On the next page, I first told it that new mount points should be standard partitions.  I then selected the Unknown partition that was an old boot partition.  I told it to use /boot as mount point, and reformat as ext3 (what it already is).  When I clicked on the unknown partition I was going to use as /, the error occurred.

Comment 14 Ulrich Drepper 2016-02-20 18:07:43 UTC
Similar problem has been detected:

Manual paritition configuration.  There are existing partitions on the disk I selected them, one after the other, assigning the same mount points, then then went over them again selecting to reformat.  This is when the crash happened.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 quiet
dnf.rpm.log:    Feb 20 17:57:13 INFO --- logging initialized ---
hashmarkername: anaconda
kernel:         4.5.0-0.rc3.git3.1.fc24.x86_64
package:        anaconda-24.12-1
product:        Fedora
reason:         AttributeError: 'Expander' object has no attribute 'members'
release:        Cannot get release name.
version:        rawhide

Comment 15 Ulrich Drepper 2016-02-20 18:26:55 UTC
Similar problem has been detected:

In the manual partition handling, I removed some existing partitions and then selected in a row the remaining existing partitions which are reused but with "reformat" selected.  After the last one was added I pressed the "+" button to add new partitions which is when the crash happened.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 quiet
dnf.rpm.log:    Feb 20 18:21:19 INFO --- logging initialized ---
hashmarkername: anaconda
kernel:         4.5.0-0.rc3.git3.1.fc24.x86_64
package:        anaconda-24.12-1
product:        Fedora
reason:         AttributeError: 'Expander' object has no attribute 'members'
release:        Cannot get release name.
version:        rawhide

Comment 16 Chris Lumens 2016-02-22 14:27:36 UTC
I believe this is fixed by 6531686558608863046a9a2283c24d8032f476ce, which is in anaconda-24.13.  Please give it a try and let us know.  Thanks.

Comment 17 stan 2016-02-22 21:12:02 UTC
Thanks.  Will do.

Comment 18 stan 2016-02-23 17:12:01 UTC
OK, that worked last night.  I'm using the local bfo.lkrn in /boot and a stanza in /boot/grub2/grub.cfg [1] to boot the installation process.  The original initramfs was slow to download, but I lucked out on the main download and it was quick.  And the install was also very quick, so I now have a brand, spanking new install of Rawhide.  And lots of customization to make it liveable. :-)

The partitioning worked just like it should have.  I selected and assigned the two unused but existing partitions, and when I clicked done after the second one was assigned, I was right back to the hub.  Where I selected software (minimal install with extras standard and editors), and the install proceeded and completed.

I used standard partitioning and reformatted the partitions, ext3 for /boot, and ext4 for /.

Thanks again for your help.

1. 
menuentry 'Boot BFO' --class gnu-linux --class gnu --class os
{
    linux16    /bfo.lkrn                                                                       }                                                                                
The linux16 /bfo.lkrn above should be one line, but the editor won't let that happen after the brace.  Must be interpreting it as code or formatting.

Comment 19 Jan Kurik 2016-02-24 15:22:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 20 David Shea 2016-02-29 14:42:55 UTC
*** Bug 1305636 has been marked as a duplicate of this bug. ***