Red Hat Bugzilla – Bug 64331
clustat hangs when cluster not setup
Last modified: 2013-03-06 00:55:28 EST
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
There could be other cluster utilities vulnerable to this problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Run clustat when cluster.conf doesn't exist
2.it hangs forever.
Actual Results: hangs forever
Expected Results: Exits with error.
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.
Now, if the cluster has not been set up clustat returns:
"err: /etc/cluster.conf: No such file or directory", instead