canonical / canonical/microceph

[Feature request] Native support to disable mon service through command

Open
#512 4 comments 2 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.