From 69447136bfee799a32b9db5383002afb98b0c604 Mon Sep 17 00:00:00 2001 From: Daniel Dehennin Date: Wed, 18 Apr 2018 10:25:08 +0200 Subject: [PATCH] =?UTF-8?q?We=20can't=20configure=20the=20cluster=20if=20?= =?UTF-8?q?=E2=80=9Coned=E2=80=9D=20is=20not=20started?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * postservice/30-one-mng (main): wait for the daemon to be queriable. Ref: #23594 --- postservice/30-one-mng | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postservice/30-one-mng b/postservice/30-one-mng index 933996c..af00269 100755 --- a/postservice/30-one-mng +++ b/postservice/30-one-mng @@ -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)