mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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']
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user