Red Hat Bugzilla – Bug 764852
Provide connection timeout between cli and glusterd
Last modified: 2011-08-22 11:06:26 EDT
Currently, cli blocks for 120 seconds if glusterd is not running. Need a mechanism to reduce this timeout interval.
PATCH: http://patches.gluster.com/patch/7779 in release-3.1 (cli: Exit if glusterd is not operational in non-prompt modes)
PATCH: http://patches.gluster.com/patch/7761 in master (cli: Exit if glusterd is not operational in non-prompt modes)
Its fixed now. Checked with release-3.1 branch. And if glusterd is not running, then cli errors out with the error.
gluster volume create new bigbang:/tmp/new
Connection failed. Please check if gluster daemon is operational.
CHANGE: http://review.gluster.com/297 (Change-Id: Icab7965f570e3c422e5b18b89bc418f3598c2c4d) merged in release-3.2 by Vijay Bellur (email@example.com)