]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: make nvme-gw adds be able to handle multiple services/groups
authorAdam King <adking@redhat.com>
Wed, 31 Jul 2024 17:30:02 +0000 (13:30 -0400)
committerAdam King <adking@redhat.com>
Tue, 13 Aug 2024 15:54:45 +0000 (11:54 -0400)
commit2a6b105b8ae9cb63702d83461560e65b7fabd085
tree29036af22b4d62c7a44c7ed00950fa8875252b6f
parentd7b00eab08b006c5d10268a5aab7bc8dfc146c08
mgr/cephadm: make nvme-gw adds be able to handle multiple services/groups

Before this was grabbing the service spec for the first daemon
description in the list. This meant every daemon would be added
with the pool/group of whatever that spec happened to specify.
This patch grabs the spec, and therefore also the pool/group
individually for each nvmeof daemon

Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/services/nvmeof.py