]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
python-common: clean-up ServiceSpec.service_id handling
authorMichael Fritch <mfritch@suse.com>
Tue, 30 Jun 2020 22:06:20 +0000 (16:06 -0600)
committerMichael Fritch <mfritch@suse.com>
Wed, 22 Jul 2020 22:41:58 +0000 (16:41 -0600)
commiteecc8fcbcc2ee88e4c873579c69f2012dac8c652
tree64556e785c340efc39d05f10e7a26eda6fbd045b
parent8afb5ec132b24aacdb7418eebb7214d6a6b297e0
python-common: clean-up ServiceSpec.service_id handling

service_id is required for iscsi, mds, nfs, osd, rgw.

any other service_type (mon, mgr, etc.) should not contain a service_id

Fixes: https://tracker.ceph.com/issues/46175
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/orchestrator/_interface.py
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py