We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e2802d commit decc9a1Copy full SHA for decc9a1
docker/ceph/restart-dashboard.sh
@@ -4,5 +4,5 @@ set -e
4
5
cd /ceph/build
6
7
-"$CEPH_BIN"/ceph mgr module disable dashboard
8
-"$CEPH_BIN"/ceph mgr module enable dashboard --force
+MGR_ID=$("$CEPH_BIN"/ceph mgr stat | awk -v FS='"active_name": ' 'NF>1{print $2}' | tr -d '",')
+"$CEPH_BIN"/ceph mgr fail $MGR_ID
0 commit comments