]> git.apps.os.sepia.ceph.com Git - ceph-ci.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:00:26 +0000 (17:00 +0000)
commit9a949f1ad74124aa5519c115bc2cf8cbdadc68e9
tree332406c8c688cb32a906b659f7a8260a1b00a98e
parent8ebd93da1b8f147da7e261fdbf352a867bc8b0dd
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>
src/pybind/mgr/cephadm/agent.py