Bug 863920 - system-config-lvm fails to read thin provisioned lvm data
system-config-lvm fails to read thin provisioned lvm data
Product: Fedora
Classification: Fedora
Component: system-config-lvm (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Marek Grac
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-10-08 00:19 EDT by Yogesh Sharma
Modified: 2012-10-08 20:20 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-10-08 03:57:37 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Yogesh Sharma 2012-10-08 00:19:19 EDT
I have manually created a thin volume and after that when I ran system-config-lvm, it crashes with following traceback

Traceback (most recent call last):
  File "/sbin/system-config-lvm", line 172, in <module>
  File "/sbin/system-config-lvm", line 157, in runFullGUI
    blvm = baselvm(glade_xml, app)
  File "/sbin/system-config-lvm", line 105, in __init__
    self.volume_tab_view = Volume_Tab_View(glade_xml, self.lvmm, self.main_win)
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 133, in __init__
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 214, in prepare_tree
  File "/usr/share/system-config-lvm/lvm_model.py", line 168, in reload
  File "/usr/share/system-config-lvm/lvm_model.py", line 526, in __query_LVs
    extent_block = ExtentBlock(pv, lv, ph_ext_beg, seg_size)
  File "/usr/share/system-config-lvm/ExtentBlock.py", line 14, in __init__
AttributeError: 'NoneType' object has no attribute 'add_extent_block'

I was following "Thin Pools and Thin Volumes" from http://www.kernelcrash.com/blog/linux-lvm-in-2012/2012/08/08/
Comment 1 Marek Grac 2012-10-08 03:57:37 EDT

Currently, I can't see a way how to easilly add support for this issue :/ system-config-lvm is going to be replaced by other tool and we do not plan to add any new features to s-c-lvm. Sorry.
Comment 2 Yogesh Sharma 2012-10-08 20:13:42 EDT
Sounds good, may be adding list of tools in this bug would help others.

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