canonical / canonical/microceph
[Feature request] Native support to disable mon service through command
- Dominant language
- Go
- Stars
- 396
- Forks
- 74
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 7
Description
Now if I want to disable the mon service on one of the node in the cluster, I have to
```
sudo snap stop --disable microceph.mon
# Show rows in sql
sudo microceph cluster sql "SELECT * from services"
sudo microceph cluster sql "SELECT * from config"
# Replace the following id with the one that you want to delete"
sudo microceph cluster sql "DELETE from services where id=14"
sudo microceph cluster sql "DELETE from config where id=7"
# Remove mon through ceph command
sudo ceph mon rm {mon-name}
```
Which is not user-friendly and not well-documented. It will be nice if microceph can support command to disable mon service like `sudo microceph disable mon`.
Contributor guide
Assessment
This issue has not been assessed yet.