]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
orchestrator: support complex osd creation
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 23 Mar 2022 09:04:45 +0000 (10:04 +0100)
committerAdam King <adking@redhat.com>
Tue, 3 May 2022 00:48:33 +0000 (20:48 -0400)
commitcb3a6c17d367c6348d58a5c988444a0a6e98dbfa
treed992e2cf8a32a6d241f81a6aee68d79b3a56bb5f
parentd569879db7d246e56b61f96a4b6e0beaf8a82b5a
orchestrator: support complex osd creation

This adds the support of complex OSD creation with command
`orch daemon add osd`.
Any argument supported by `DriveGroupSpec()` can be passed on the command line.

Usage:
```
ceph orch daemon add osd host:data_devices=device1,device2,db_devices=device3,osds_per_device=2,...
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8aa2f4745adff0ba3c7a0731cf48ccc1c85b33f3)
doc/cephadm/services/osd.rst
src/pybind/mgr/orchestrator/module.py