rhcs-dashboard / ceph-dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

restart-dashboard.sh can be simplified

sebastian-philipp opened this issue · comments

https://github.com/rhcs-dashboard/ceph-dev/blob/master/docker/ceph/restart-dashboard.sh

actually all you need to do is to run ceph mgr fail <pidof mgr>. this will restart the MGR once, instead of twice.

ricardoasmarques/ceph-dev-docker#117

Just stumbled upon this one. Thanks a lot for the tip @sebastian-philipp! I thought the syntax for this was ceph mgr fail <mgr_id> and that switched the active mgr to another one?

right. it's the daemon id.