Bug 863920 - system-config-lvm fails to read thin provisioned lvm data
Summary: system-config-lvm fails to read thin provisioned lvm data
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-lvm
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Grac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-08 04:19 UTC by Yogesh Sharma
Modified: 2012-10-09 00:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-08 07:57:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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