/etc/init.d/ceph script will restart stop start the daemon twice
hi,
we use the ceph 0.613, write all the and when operate(restart|start|stop) the cluster daemon(osd|mds|mon), it will excecute the operation twice.
from the code init-ceph.in:get_localname_listget_name_list "$@"
for name in $what; do
.....
done
so the result $what will include twice the local daemons, shall we only use the get_name_list? what's get_localname_list do here?
thanks!
huangjun
Quoted 4 lines · huangjun
hi,
we use the ceph 0.613, write all the and when operate(restart|start|stop) the cluster daemon(osd|mds|mon), it will excecute the operation twice.
Quoted 8 lines
from the code init-ceph.in:
get_localname_listget_name_list"$@"
for name in $what; do
.....
done
so the result $what will include twice the local daemons, shall we only use theget_name_list? what'sget_localname_listdo here?
It sounds like you have the osds listed in ceph.conf (with a host = ... line) *and* have touched /var/lib/ceph/osd/*/sysvinit ? You should only do one or the other.. preferably touching the sysvinit file so that ceph.conf is simple (this is what ceph-deploy does).
sage