Bug 863920

Summary: system-config-lvm fails to read thin provisioned lvm data
Product: [Fedora] Fedora Reporter: Yogesh Sharma <yogeshsharma>
Component: system-config-lvmAssignee: Marek Grac <mgrac>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: agk, dwysocha, itamar, mbroz, mclasen, mgrac, prockai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-08 07:57:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yogesh Sharma 2012-10-08 04:19:19 UTC
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>
    runFullGUI()
  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__
    self.prepare_tree()
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 214, in prepare_tree
    self.model_factory.reload()
  File "/usr/share/system-config-lvm/lvm_model.py", line 168, in reload
    self.__query_LVs()
  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__
    self.__pv.add_extent_block(self)
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 07:57:37 UTC
Hi,

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-09 00:13:42 UTC
Sounds good, may be adding list of tools in this bug would help others.