From f71dad1a11abf73ab17028e8a983439401c3893f Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 20 Jun 2023 13:31:40 +0200 Subject: [PATCH] node-proxy: update endpoint url in Reporter.loop() change the path of the endpoint to something more generic Signed-off-by: Guillaume Abrioux --- src/cephadm/node-proxy/reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cephadm/node-proxy/reporter.py b/src/cephadm/node-proxy/reporter.py index 3636e1ab3fa6b..a5ba531d1a8de 100644 --- a/src/cephadm/node-proxy/reporter.py +++ b/src/cephadm/node-proxy/reporter.py @@ -37,7 +37,7 @@ class Reporter: d = self.system.get_system() try: # TODO: add a timeout parameter to the reporter in the config file - requests.post(f"{self.observer_url}/fake_endpoint", json=d, timeout=5) + requests.post(f"{self.observer_url}/", json=d, timeout=5) except requests.exceptions.RequestException as e: log.logger.error(f"The reporter couldn't send data to the mgr: {e}") # Need to add a new parameter 'max_retries' to the reporter if it can't -- 2.39.5