]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: fix NodeProxySpec deserialization from JSON 69882/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 1 Jul 2026 13:28:31 +0000 (15:28 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 2 Jul 2026 15:46:56 +0000 (17:46 +0200)
commit428898401662ac04dd33cef1806e857c75768c71
tree6cbf9507f8d18e549fda893c599b15ccbab7c64b
parent7c49869645fb6cdb104eeb286bef1adaffa45528
node-proxy: fix NodeProxySpec deserialization from JSON

NodeProxySpec.__init__() only accepts service_type and placement,
but ServiceSpec.from_json() passes all stored fields (ssl,
certificate_source, unmanaged, ...)

This breaks 'ceph orch ls' after the mgr reloads a node-proxy spec.

This commit forwards the standard ServiceSpec parameters to the
parent.

Fixes: https://tracker.ceph.com/issues/77874
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py