We can't configure the cluster if “oned” is not started

* postservice/30-one-mng (main): wait for the daemon to be queriable.

Ref: #23594
This commit is contained in:
Daniel Dehennin 2018-04-18 10:25:08 +02:00
parent 939f1b7591
commit 69447136bf

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
. /usr/lib/eole/utils.sh
function error()
{
MSG=${1}
@ -427,6 +429,7 @@ function manage_datastores()
function main()
{
wait_true_retcode "Wait for oned to be started" "onecluster show 0 > /dev/null"
#
# Rename default cluster
clst_name=$(CreoleGet one_cluster_name)