openQA: open firewall ports for server->worker ws connections

The new developer mode requires the server to connect to the
worker instance via ws, it seems. We need to allow this through
the firewall. Figuring out the correct port numbers is...fun.
This is just the staging x86_64 hosts for now, for testing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-11-23 12:13:00 -08:00
parent b6a3b13155
commit 4697db3a6b
2 changed files with 13 additions and 0 deletions

View file

@ -5,3 +5,10 @@ eth0_ip: 10.5.124.157
gw: 10.5.124.254
# this interface is plugged in but we don't want or need it
ansible_ifcfg_disabled: ['eth1']
# firewall ports for server->worker websockets connections
# this port is 'QEMUPORT plus 1'
# QEMUPORT is:
# $ENV{QEMUPORT} = ($options{instance}) * 10 + 20002;
# so for worker 1 it's 20012, for worker 2 it's 20022, etc etc
tcp_ports: ['20013', '20023', '20033', '20043']

View file

@ -16,3 +16,9 @@ ansible_ifcfg_whitelist: ['eth0']
# this is a powerful machine, can handle more openQA workers
openqa_workers: 10
# firewall ports for server->worker websockets connections
# this port is 'QEMUPORT plus 1'
# QEMUPORT is:
# $ENV{QEMUPORT} = ($options{instance}) * 10 + 20002;
# so for worker 1 it's 20012, for worker 2 it's 20022, etc etc
tcp_ports: ['20013', '20023', '20033', '20043', '20053', '20063', '20073', '20083', '20093', '20103']