Bug 158892 - ccsd crashes if asked for values from a node with no children
ccsd crashes if asked for values from a node with no children
Status: CLOSED CURRENTRELEASE
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: ccs (Show other bugs)
4
All Linux
medium Severity high
: ---
: ---
Assigned To: Lon Hohberger
Cluster QE
:
Depends On:
Blocks: 158891
  Show dependency treegraph
 
Reported: 2005-05-26 12:28 EDT by Lon Hohberger
Modified: 2009-04-16 16:17 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHCS4U1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-11-22 15:01:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fixed behavior (673 bytes, patch)
2005-05-26 12:28 EDT, Lon Hohberger
no flags Details | Diff

  None (edit)
Description Lon Hohberger 2005-05-26 12:28:16 EDT
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 12:28:17 EDT
Created attachment 114875 [details]
Fixed behavior
Comment 2 Lon Hohberger 2005-05-26 12:58:30 EDT
Patches in CVS

Note You need to log in before you can comment on or make changes to this bug.