]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: assert the service_type during config/create
authorMichael Fritch <mfritch@suse.com>
Wed, 15 Jul 2020 22:23:59 +0000 (16:23 -0600)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 23 Jul 2020 13:20:10 +0000 (15:20 +0200)
commitae61c21349a77f8cc770213537e099158ffd600d
treecf636a052a6c77abbaac8bcc9d29daa333d20f69
parent417c0deb6d46aa854cd28d0cb784142ad83a9840
mgr/cephadm: assert the service_type during config/create

ensure the passed ServiceSpec type matches the CephadmService type

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit f8186bd72f807df3c8a31b8c515d2a9e4bb69d09)
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/services/iscsi.py
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/services/nfs.py