]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
agent/node-proxy: fix wrong host name used in data endpoint
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 30 Jan 2024 16:38:31 +0000 (16:38 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 30 Jan 2024 17:02:40 +0000 (17:02 +0000)
commitc44758cb525dac45d89671f499a4e8dfaa7135af
tree9682e25afae46c273368f3d8716e459267303694
parentf518138e464a4c9c2334f7f9c5aeb7a4deb7ff79
agent/node-proxy: fix wrong host name used in data endpoint

data['cephx']['name'] will return something like:

node-proxy.hostname123

the prefix "node-proxy." has the be removed otherwise there will be
a mismatch between what is actually expected.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 224dd36df9c57e2162407ea0b98598f401884060)
src/pybind/mgr/cephadm/agent.py