Created attachment 325999 [details] profile information Description of problem: system-config-lvm extremely slow Version-Release number of selected component (if applicable): system-config-lvm-1.1.4-3.1.fc10.noarch How reproducible: always Steps to Reproduce: 1. run system-config-lvm, takes about 20mins to start up Actual results: slooooow start-up Expected results: fast start-up Additional info: s-c-l profile. seems to be an issue with cluster.py, we need most likely need to use cache def __get_info(self): try: c_conf = minidom.parseString(file('/etc/cluster/cluster.conf').read(10000000)).firstChild <----- bad mojo name = c_conf.getAttribute('name') lock = 'dlm' nodes_num = 0 for node in c_conf.childNodes: if node.nodeType == xml.dom.Node.ELEMENT_NODE: if node.nodeName == 'cman': lock = 'dlm' elif node.nodeName == 'gulm': lock = 'gulm' elif node.nodeName == 'clusternodes': nodes = node for node in nodes.childNodes: if node.nodeType == xml.dom.Node.ELEMENT_NODE: if node.nodeName == 'clusternode': nodes_num += 1 if nodes_num != 0:
Created attachment 357205 [details] Proposed patch Patch that adds caching to cluster.conf parsing
system-config-lvm-1.1.8-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/system-config-lvm-1.1.8-1.fc10
system-config-lvm-1.1.9-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/system-config-lvm-1.1.9-1.fc10
system-config-lvm-1.1.9-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-lvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-8861
system-config-lvm-1.1.9-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.