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 <nmordec@ibm.com>
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):