From: Jason Dillaman Date: Thu, 26 Jul 2018 13:31:32 +0000 (-0400) Subject: vstart: do not attempt to re-initialize dashboard for existing cluster X-Git-Tag: v14.0.1~691^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=81a4ab54bb85f5539c9600871796322c48914769;p=ceph-ci.git vstart: do not attempt to re-initialize dashboard for existing cluster The dashboard should only be initialized when the "-n" option is specified to create a new cluster. This avoid errors when restarting an existing cluster and it attempts to initialize the dashboard again. Fixes: https://tracker.ceph.com/issues/24019 Signed-off-by: Jason Dillaman --- diff --git a/src/vstart.sh b/src/vstart.sh index fbb4aecca9d..37151eee38b 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -709,30 +709,30 @@ start_mgr() { key_fn=$CEPH_DEV_DIR/mgr.$name/keyring $SUDO $CEPH_BIN/ceph-authtool --create-keyring --gen-key --name=mgr.$name $key_fn ceph_adm -i $key_fn auth add mgr.$name mon 'allow profile mgr' mds 'allow *' osd 'allow *' - fi - wconf <