Bug 155049

Summary: backtrace when attempting to 'add a shared resource to this service'
Product: [Retired] Red Hat Cluster Suite Reporter: Corey Marthaler <cmarthal>
Component: redhat-config-clusterAssignee: Jim Parsons <jparsons>
Status: CLOSED NEXTRELEASE QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-26 20:29:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2005-04-15 20:42:27 UTC
Description of problem:
Traceback (most recent call last):
  File "/usr/share/system-config-cluster/ServiceController.py", line 158, in
on_add_shared
    self.populate_shared_tree()
  File "/usr/share/system-config-cluster/ServiceController.py", line 149, in
populate_shared_tree
    resources = resources_ptr.getChildren()
AttributeError: 'NoneType' object has no attribute 'getChildren'


Version-Release number of selected component (if applicable):
system-config-cluster-0.9.33-1.0.noarch.rpm

Comment 1 Jim Parsons 2005-04-26 12:20:16 UTC
This occurred because the conf file had no <resources> section. This condition
is handled in 0.9.36-1.0

Comment 2 Corey Marthaler 2005-04-26 20:29:42 UTC
fix verified in 0.9.36-1.0.