Bug 158892

Summary: ccsd crashes if asked for values from a node with no children
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: ccsAssignee: Lon Hohberger <lhh>
Status: CLOSED CURRENTRELEASE QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHCS4U1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-22 20:01:21 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:
Bug Depends On:    
Bug Blocks: 158891    
Attachments:
Description Flags
Fixed behavior none

Description Lon Hohberger 2005-05-26 16:28:16 UTC
Description of problem:

Fenced was asking for this from ccsd in order to see if the local node
name was present in the cluster configuration:

    /cluster/clusternodes/clusternode[@name="cyan"]

Unfortunately, because there were no children of that XML node (no
fencing configured), ccsd was crashing.

Version-Release number of selected component (if applicable):
-RHEL4U1 -RHEL4 -RHEL4


How reproducible: 100%

Steps to Reproduce:
1. Create configuration with no fencing specified for a node.
2. Start ccsd on that node.
2. Start fenced on that node.
  
Actual results:
ccsd crashes (SIGSEGV)


Expected results:


Additional info:

This fix is dependent on a fix to ccsd which prevents it from crashing in this case.

Comment 1 Lon Hohberger 2005-05-26 16:28:17 UTC
Created attachment 114875 [details]
Fixed behavior

Comment 2 Lon Hohberger 2005-05-26 16:58:30 UTC
Patches in CVS