Set ZUUL_REMOTE_IP to private ipv4 nox-remote job

To allow this job to run on clouds where the host does not know
its own public ip address and therefore traffic from the host to
its own public ip is routed via the gateway address instead of
locally, use the private ip address as the remote ip instead since
it should be available in all instances.

Change-Id: I00992cb6f8007136afa5cc262f1c82e4832c11a3
This commit is contained in:
James E. Blair 2024-09-12 13:43:30 -07:00
parent 8681555c34
commit c46239bcb0

View File

@ -90,7 +90,7 @@
ZUUL_ZK_CERT: /opt/zookeeper/ca/certs/client.pem
ZUUL_ZK_KEY: /opt/zookeeper/ca/keys/clientkey.pem
ZUUL_SSH_KEY: /home/zuul/.ssh/id_rsa
ZUUL_REMOTE_IPV4: "{{ nodepool.interface_ip }}"
ZUUL_REMOTE_IPV4: "{{ nodepool.private_ipv4 }}"
ZUUL_REMOTE_KEEP: "true"
CI: "1"
nox_force_python: "3.11"