From: Guillaume Abrioux Date: Tue, 20 Jun 2023 11:31:40 +0000 (+0200) Subject: node-proxy: update endpoint url in Reporter.loop() X-Git-Tag: v18.2.4~314^2~80 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3d15fdcaab98bbf7df681766e2c30cc74c990df9;p=ceph.git node-proxy: update endpoint url in Reporter.loop() change the path of the endpoint to something more generic Signed-off-by: Guillaume Abrioux (cherry picked from commit f71dad1a11abf73ab17028e8a983439401c3893f) --- 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