]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: bootstrap: verify orch module is running before setting cephadm backend 59681/head
authorAdam King <adking@redhat.com>
Mon, 9 Sep 2024 22:51:17 +0000 (18:51 -0400)
committerAdam King <adking@redhat.com>
Mon, 9 Sep 2024 22:51:17 +0000 (18:51 -0400)
commitfcdae78c3561eaa04295154758bc2c7c4db69d35
treed75c93e51336351abf27e8dd9d3285d748537b7d
parentce2c7d57a2cee71e5d47c6004c4f624ae53a88f5
cephadm: bootstrap: verify orch module is running before setting cephadm backend

There have been occasional failures when bootstrapping with error
messages like

```
Module 'orchestrator' is not enabled/loaded (required by command 'orch set backend'): use `ceph mgr module enable orchestrator` to enable it
```

despite the orchestrator being meant to be an always on module.

Since trying to enable an already enabled module causes no issues,
trying to enable it ourselves seems like a sensible workaround.

Fixes: https://tracker.ceph.com/issues/67969
Signed-off-by: Adam King <adking@redhat.com>
src/cephadm/cephadm.py