Add refresh.sh exec on compass-core, so user don't need to manually execute
the refresh.sh script when they what redeploy the openstack without redeploy
the compass-core vm.
Change-Id: I1a6b5ca84d4dd00a3f326b30b68e0ecac022d5ef
Signed-off-by: QiLiang <liangqi1@huawei.com>
_inject_dashboard_conf
}
+function refresh_compass_core () {
+ cmd="/opt/compass/bin/refresh.sh"
+ exec_cmd_on_compass $cmd
+}
+
function wait_ok() {
set +x
log_info "wait_compass_ok enter"
log_error "launch_compass failed"
exit 1
fi
+ else
+ refresh_compass_core
fi
else
machines=`get_host_macs`