Skip to content

Commit

Permalink
qa: assign prometheus ports during selftest
Browse files Browse the repository at this point in the history
This was throwing IOError("Port 9283 not free on '::'",)
when trying to serve, since merging ceph#19744

It's because the standbys (on the same node as the active) are
now trying to listen too.

Fixes: https://tracker.ceph.com/issues/22755
Signed-off-by: John Spray <john.spray@redhat.com>
  • Loading branch information
John Spray committed Jan 23, 2018
1 parent dd4f322 commit e2c68d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qa/tasks/mgr/test_module_selftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def test_zabbix(self):
self._selftest_plugin("zabbix")

def test_prometheus(self):
self._assign_ports("prometheus", "server_port", min_port=8100)
self._selftest_plugin("prometheus")

def test_influx(self):
Expand Down

0 comments on commit e2c68d5

Please sign in to comment.