system-config-lvm crashes with error - 'NoneType' object is not iterable
Issue
- When issue system-config-lvm it gives error -
# system-config-lvm
Traceback (most recent call last):
File "/usr/sbin/system-config-lvm", line 172, in <module>
runFullGUI()
File "/usr/sbin/system-config-lvm", line 157, in runFullGUI
blvm = baselvm(glade_xml, app)
File "/usr/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 136, in __init__
self.prepare_tree()
File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 225, in prepare_tree
self.model_factory.reload()
File "/usr/share/system-config-lvm/lvm_model.py", line 165, in reload
self.__PVs = self.__query_partitions()
File "/usr/share/system-config-lvm/lvm_model.py", line 276, in __query_partitions
pv.setPartition(old_pv.getPartition())
File "/usr/share/system-config-lvm/PhysicalVolume.py", line 135, in setPartition
def setPartition(self, (devname, part)):
TypeError: 'NoneType' object is not iterable
Environment
- Red Hat Enterprise Linux 6.4
- LVM2
- fdisk
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.