]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: Don't valiate ServiceSpec.from_json() in `orch ls`
authorSebastian Wagner <sewagner@redhat.com>
Wed, 10 Nov 2021 14:54:42 +0000 (15:54 +0100)
committerSebastian Wagner <sewagner@redhat.com>
Wed, 19 Jan 2022 10:47:21 +0000 (11:47 +0100)
commit818c242c3cb7f1dfd0c100b32b155018ec0bbe40
tree49b35fdcde0a5c4d62dfc33a8748ec90060792fb
parent214509347f37b695f641aa3d64e478c9dc27ceea
python-common: Don't valiate ServiceSpec.from_json() in `orch ls`

unfortunately `ceph orch ls` may return invalid OSD specs for
OSDs not associated to and specs.

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit 3f38583b7189d99be360d8475fe6ef8cd53dee7c)

Conflicts:
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/orchestrator/tests/test_orchestrator.py
src/python-common/ceph/deployment/service_spec.py