Bug 64331

Summary: clustat hangs when cluster not setup
Product: Red Hat Enterprise Linux 2.1 Reporter: Tim Burke <tburke>
Component: clumanagerAssignee: Jason Baron <jbaron>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 2.1CC: knoel
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: 2002-05-02 16:30:30 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 Tim Burke 2002-05-02 16:19:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
Install a system and run clustat before configuring the cluster and the clustat
will hang forever.  Similarly, stop the cluster, delete /etc/cluster.conf and
run clustat.

There could be other cluster utilities vulnerable to this problem.

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


How reproducible:
Always

Steps to Reproduce:
1.Run clustat when cluster.conf doesn't exist
2.it hangs forever.
3.
	

Actual Results:  hangs forever

Expected Results:  Exits with error.

Additional info:

This is in some ways at odds with the (much more important) fix put in earlier
to retry if the file doesn't exist.  But in the case of running clustat on a
system which hasn't yet been configured (just to see if the cluster has been
setup already) shouldn't hang forever.

Comment 1 Jason Baron 2002-05-03 16:57:08 UTC
Now, if the cluster has not been set up clustat returns:
"err: /etc/cluster.conf: No such file or directory", instead
of hanging