Bug 951593

Summary: NameError: global name 'old_fstype' is not defined
Product: [Fedora] Fedora Reporter: Ľuboš Kardoš <lkardos>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: anaconda-maint-list, g.kaviyarasu, jonathan, jorton, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:ed95a82d154ade2116d96111d73b86776adfed87df4dffd86490637bfc392335
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-19 05:48:49 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:
Bug Depends On:    
Bug Blocks: 920667    
Attachments:
Description Flags
File: anaconda.log
none
File: backtrace
none
File: environ
none
File: ifcfg.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: anaconda-tb none

Description Ľuboš Kardoš 2013-04-12 14:18:42 UTC
Description of problem:
Steps to reproduce:
1. Start installation on machine with two disks (both 16GB) and proceed to the "MANUAL PARTITIONING" spoke.
2. Remove all mountpoints from previous installations.
3. Create /boot mountpoint 200MB.
4. Create swap mountpoint 1GB.
5. Change value of "Device Type" select box for swap from "LVM" to "Standard Partition". Click on "Update Settings".
6. Change value of "Device Type" select box for swap from "Standard Partition" to "RAID" but don't click on "Update Settings".
7. Change value of "Device Type" select box for swap from "RAID" back to "Standard Partition". Now button "Update Settings" is enabled but it shouldn't be. Click on it. Maybe this  caused following problems but I am not sure.
8. Create /home mountpoint 15GB.
9. Create / mountpoint, don't specify size.
10. Change value of "Device Type" select box for /home from "LVM" to "BTRFS". Click on "Updates Settings".

Actual result:
After clicking on "Update Settings", I see label "Device reconfiguration failed. Click for details" in the bottom of screen. I tried click on it but in a while unkwnow error occured.

Expected result:
No "Device reconfiguration failed" and no "Unknow error"  during installation.

Additional info:
I tried this on two virtual machines. On both I saw "Device reconfiguration failed" but "Unknow error" I saw on just one.
The following was filed automatically by anaconda:
anaconda 19.17-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1131, in _save_right_side
    fstype=old_fstype,
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2055, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2065, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 239, in _onSelectorClicked
    cb(selector)
NameError: global name 'old_fstype' is not defined

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

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Alpha\x20i386 rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-0.rc4.git0.1.fc19.i686
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Alpha

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 239, in _onSelectorClicked
    cb(selector)
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2065, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2055, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1131, in _save_right_side
    fstype=old_fstype,
NameError: global name 'old_fstype' is not defined

Comment 1 Ľuboš Kardoš 2013-04-12 14:18:46 UTC
Created attachment 734762 [details]
File: anaconda.log

Comment 2 Ľuboš Kardoš 2013-04-12 14:18:48 UTC
Created attachment 734763 [details]
File: backtrace

Comment 3 Ľuboš Kardoš 2013-04-12 14:18:50 UTC
Created attachment 734764 [details]
File: environ

Comment 4 Ľuboš Kardoš 2013-04-12 14:18:52 UTC
Created attachment 734765 [details]
File: ifcfg.log

Comment 5 Ľuboš Kardoš 2013-04-12 14:18:55 UTC
Created attachment 734766 [details]
File: lsblk_output

Comment 6 Ľuboš Kardoš 2013-04-12 14:18:57 UTC
Created attachment 734767 [details]
File: nmcli_dev_list

Comment 7 Ľuboš Kardoš 2013-04-12 14:19:00 UTC
Created attachment 734768 [details]
File: packaging.log

Comment 8 Ľuboš Kardoš 2013-04-12 14:19:05 UTC
Created attachment 734769 [details]
File: program.log

Comment 9 Ľuboš Kardoš 2013-04-12 14:19:10 UTC
Created attachment 734770 [details]
File: storage.log

Comment 10 Ľuboš Kardoš 2013-04-12 14:19:15 UTC
Created attachment 734771 [details]
File: syslog

Comment 11 Ľuboš Kardoš 2013-04-12 14:19:22 UTC
Created attachment 734772 [details]
File: anaconda-tb

Comment 12 Fedora Update System 2013-04-15 21:01:47 UTC
python-blivet-0.11-1.fc19,anaconda-19.19-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-blivet-0.11-1.fc19,anaconda-19.19-1.fc19

Comment 13 Fedora Update System 2013-04-16 16:11:06 UTC
Package python-blivet-0.11-1.fc19, anaconda-19.19-1.fc19, lorax-19.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-blivet-0.11-1.fc19 anaconda-19.19-1.fc19 lorax-19.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5795/lorax-19.2-1.fc19,python-blivet-0.11-1.fc19,anaconda-19.19-1.fc19
then log in and leave karma (feedback).

Comment 14 Fedora Update System 2013-04-17 16:27:35 UTC
Package python-blivet-0.11-1.fc19, lorax-19.2-1.fc19, anaconda-19.20-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-blivet-0.11-1.fc19 lorax-19.2-1.fc19 anaconda-19.20-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5795/lorax-19.2-1.fc19,python-blivet-0.11-1.fc19,anaconda-19.20-1.fc19
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2013-04-19 05:48:54 UTC
python-blivet-0.11-1.fc19, lorax-19.2-1.fc19, anaconda-19.20-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.