system-config-lvm crashes with striped mirror volumes in RHEL 5 or 6
Issue
- system-config-lvm crashes when a striped mirror exists on the system:
Traceback (most recent call last):
File "/usr/share/system-config-lvm/system-config-lvm.py", line 170, in ?
runFullGUI()
File "/usr/share/system-config-lvm/system-config-lvm.py", line 155, in runFullGUI
blvm = baselvm(glade_xml, app)
File "/usr/share/system-config-lvm/system-config-lvm.py", 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 171, in reload
self.__link_mirrors()
File "/usr/share/system-config-lvm/lvm_model.py", line 597, in __link_mirrors
segment.add_image(image_lv_real)
File "/usr/share/system-config-lvm/Segment.py", line 108, in add_image
extent = seg.get_extent_block()
AttributeError: StripedSegment instance has no attribute 'get_extent_block'
Environment
- Red Hat Enterprise Linux (RHEL) 5 or 6
system-config-lvmprior to release1.1.5-14.el5- One or more mirrored logical volumes consisting of striped segments
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.