canonical / canonical/microceph

Maintenance mode enter pre-flight check does not account for other nodes in maintenance mode

Open
#558 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
396
Forks
74
Avg merge
2d 20h
Merged PRs (30d)
7

Description

The checks for `microceph cluster maintenance enter` do not check if other nodes are already in maintenance mode. This means you can currently successfully run:

```
microceph cluster maintenance enter node-1
microceph cluster maintenance enter node-2
... all the nodes
```

There are checks already to try to ensure enough nodes remain active to retain quorum, but they don't account for other nodes being in maintenance mode.

This can be misleading, as in practice, it's risky to have a majority of nodes in maintenance mode.

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.