From: NitzanMordhai Date: Wed, 4 Mar 2026 12:38:59 +0000 (+0000) Subject: qa/tasks/mgr: test_module_selftest set influx hostname to avoid warnings during plugi... X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=24d0fbb7071f5622ac8b59aefc2f6aac1075ece3;p=ceph.git qa/tasks/mgr: test_module_selftest set influx hostname to avoid warnings during plugin test This is a follow pr for pr#66376 and complete the set for influx server start. self-test will hit error MGR_INFLUX_NO_SERVER since we dont have hostname configed, the following command will add a test hostname so the error won't appear and fail the test. Fixes: https://tracker.ceph.com/issues/72747 Signed-off-by: Nitzan Mordechai --- diff --git a/qa/tasks/mgr/test_module_selftest.py b/qa/tasks/mgr/test_module_selftest.py index 069031b2a67..db707d9469e 100644 --- a/qa/tasks/mgr/test_module_selftest.py +++ b/qa/tasks/mgr/test_module_selftest.py @@ -41,6 +41,9 @@ class TestModuleSelftest(MgrTestCase): self._selftest_plugin("prometheus") def test_influx(self): + #before we are enabling influx, set config options to avoid errors + self.mgr_cluster.mon_manager.raw_cluster_cmd( + "config", "set", "mgr", "mgr/influx/hostname", "testhost") self._selftest_plugin("influx") def test_diskprediction_local(self):