canonical / canonical/microceph

The disable CLI command does not have respective options all daemons

Open
#581 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
396
Forks
74
Avg merge
2d 20h
Merged PRs (30d)
7

Description

So the MicroCeph APIs do expose the DELETE method on all `services/` endpoints however, the CLI is only defined for `rgw`. There is a `migrate` command which allows for evicting auto services (`mon`/`mgr`/`mds`) however it would be much better if there was an option to disable individual services as well.

```bash
$ sudo microceph disable
Usage:
microceph disable [flags]
microceph disable [command]

Available Commands:
rgw Disable the RGW service on this node

Global Flags:
-d, --debug Show all debug messages
-h, --help Print help
--state-dir Path to store state information
-v, --verbose Show all information messages
--version Print version number

Use "microceph disable [command] --help" for more information about a command.
```

This output is from `squid/stable`.

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.