Sometimes, cluster isn't up and radosgw hang there for
getting configuration value. Use ceph-conf instead of
radosgw to get the value.
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
Tested-by: Changcheng Liu <changcheng.liu@intel.com>
user="$DEFAULT_USER"
fi
- log_file=`$RADOSGW -n $name --show-config-value log_file`
+ log_file=`ceph-conf -n $name --show-config-value log_file`
if [ -n "$log_file" ]; then
if [ ! -e "$log_file" ]; then
touch "$log_file"
timeout=0
for name in $dlist
do
- t=`$RADOSGW -n $name --show-config-value rgw_exit_timeout_secs`
+ t=`ceph-conf -n $name --show-config-value rgw_exit_timeout_secs`
if [ $t -gt $timeout ]; then timeout=$t; fi
done