Bug 139711 - Traceback when removing LV with mounted filesystem.
Summary: Traceback when removing LV with mounted filesystem.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: system-config-lvm
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jim Parsons
QA Contact: Jim Parsons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-17 18:04 UTC by Derek Anderson
Modified: 2009-04-16 23:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-19 21:52:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Derek Anderson 2004-11-17 18:04:42 UTC
Description of problem:
Create an LV and make and mount a filesystem on it.  Navigate to the
logical view of the LV and click "Remove Logical Volume".  After
confirming that you're really really sure you want to do this and lose
your data the operation proceeds.

Got this traceback:
Traceback (most recent call last):
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 321, in
on_tree_selection_changed
    lv_data = self.model_factory.get_data_for_LV(lv_name)
  File "/usr/share/system-config-lvm/lvm_model.py", line 665, in
get_data_for_LV
    words = lines[0].split(",")
IndexError: list index out of range

Version-Release number of selected component (if applicable):
system-config-lvm-0.9.11-1.0

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Derek Anderson 2004-11-17 21:44:49 UTC
This does not seem to be reproducible.  I'll try to get a consistent
recipe and update here.

Comment 2 Derek Anderson 2004-11-17 22:15:00 UTC
The key to making this happen is to have LVs of the same name in
different VGs.

For instance, create:
/dev/VG1/LV1 and
/dev/VG2/LV1

There are other more ubiquitous symptoms, which I just noticed.  In
the left hand navitation tree if you open up to the logical view of
both VGs, the duplicate named LV is constantly highlighted.

Comment 3 Jim Parsons 2004-11-19 03:29:49 UTC
This bug was a great catch. Now LVs in different VGs can have the same
names without bad things happening to the tree selection mechanism.
Fixed in 0.9.12-1.0

Comment 4 Derek Anderson 2004-11-19 21:52:59 UTC
Verified in system-config-lvm-0.9.12-1.0.


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