]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: validate hostname in NodeProxyCache
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 16 Feb 2026 13:24:36 +0000 (14:24 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 18 Feb 2026 12:26:01 +0000 (13:26 +0100)
commit1f2f2befc82bf3dee3f09e85ce509bd6a3eb3f49
treed924762b8aa20ef52867f7a8dcd1115cdd11001a
parenta61bd5f07639ec3ef86b954042e9b3a007aa6918
mgr/cephadm: validate hostname in NodeProxyCache

This adds a _resolve_hosts() method to resolve hostname from kwargs
and raise OrchestratorError when the host has no node-proxy data.

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/pybind/mgr/cephadm/agent.py
src/pybind/mgr/cephadm/inventory.py