Bug 892395 - shouldn't be able to unset VG name
Summary: shouldn't be able to unset VG name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:162c1741c4ca0aafc1116b1c36a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-07 01:21 UTC by Reartes Guillermo
Modified: 2013-05-10 05:51 UTC (History)
6 users (show)

Fixed In Version: anaconda-19.0-1
Clone Of:
Environment:
Last Closed: 2013-05-10 05:51:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (722.05 KB, text/plain)
2013-01-07 01:21 UTC, Reartes Guillermo
no flags Details
File: anaconda.log (26.88 KB, text/plain)
2013-01-07 01:21 UTC, Reartes Guillermo
no flags Details
File: environ (794 bytes, text/plain)
2013-01-07 01:22 UTC, Reartes Guillermo
no flags Details
File: ifcfg.log (487 bytes, text/plain)
2013-01-07 01:22 UTC, Reartes Guillermo
no flags Details
File: packaging.log (299.03 KB, text/plain)
2013-01-07 01:22 UTC, Reartes Guillermo
no flags Details
File: program.log (28.68 KB, text/plain)
2013-01-07 01:22 UTC, Reartes Guillermo
no flags Details
File: storage.log (145.25 KB, text/plain)
2013-01-07 01:22 UTC, Reartes Guillermo
no flags Details
File: syslog (64.91 KB, text/plain)
2013-01-07 01:22 UTC, Reartes Guillermo
no flags Details

Description Reartes Guillermo 2013-01-07 01:21:33 UTC
Description of problem:
in manual partitioning, i set lvm for a mount point, enter 'modifiy' and removed the vg name, so i believe that it was left as <null>, then i entered 'modify' again and it crashed.
The following was filed automatically by anaconda:
anaconda 18.37.10 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2056, in run_vg_editor
    name=vg_name,
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2094, in on_modify_vg_clicked
    self.run_vg_editor(vg=vg, name=vg_name)
UnboundLocalError: local variable 'vg_name' referenced before assignment

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.10
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18

Comment 1 Reartes Guillermo 2013-01-07 01:21:55 UTC
Created attachment 673588 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2013-01-07 01:21:58 UTC
Created attachment 673589 [details]
File: anaconda.log

Comment 3 Reartes Guillermo 2013-01-07 01:22:00 UTC
Created attachment 673590 [details]
File: environ

Comment 4 Reartes Guillermo 2013-01-07 01:22:03 UTC
Created attachment 673591 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2013-01-07 01:22:13 UTC
Created attachment 673592 [details]
File: packaging.log

Comment 6 Reartes Guillermo 2013-01-07 01:22:16 UTC
Created attachment 673593 [details]
File: program.log

Comment 7 Reartes Guillermo 2013-01-07 01:22:21 UTC
Created attachment 673594 [details]
File: storage.log

Comment 8 Reartes Guillermo 2013-01-07 01:22:25 UTC
Created attachment 673595 [details]
File: syslog

Comment 9 Adam Williamson 2013-05-10 05:51:35 UTC
Tested with 19 Beta TC3. If you blank out the Name: field in 'Configure Volume Group' and hit Save, it won't let you out. So it looks like this is indeed fixed.


Note You need to log in before you can comment on or make changes to this bug.