ceph-exporter port was not opened properly during daemon deployment
forcing the user to open it manually. This change fixes the logic to
open the port automatically.
Fixes: https://tracker.ceph.com/issues/67975
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
"name": "ceph-exporter.test",
"image": "",
"deploy_arguments": [],
- "params": {},
+ "params": {"tcp_ports": [9926]},
"meta": {
"service_name": "ceph-exporter",
- "ports": [],
+ "ports": [9926],
"ip": None,
"deployed_by": [],
"rank": None,
self.prio_limit = prio_limit
self.stats_period = stats_period
+ def get_port_start(self) -> List[int]:
+ return [self.port or 9926]
+
def validate(self) -> None:
super(CephExporterSpec, self).validate()