Skip to content

Router never receives IP address.

When doing range deploy after setting up everything for the GOAD configuration file after trying to start it with ludus range deploy the router vm starts up but never receives an ipv4 address just an ipv6. After that the deploy script errors out with the following log message:

TASK [Wait for VM to acquire an IP address] ************************************
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (30 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (29 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (28 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (27 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (26 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (25 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (24 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (23 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (22 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (21 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (20 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (19 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (18 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (17 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (16 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (15 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (14 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (13 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (12 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (11 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (10 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (9 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (8 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (7 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (6 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (5 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (4 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (3 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (2 retries left).
FAILED - RETRYING: [localhost]: Wait for VM to acquire an IP address (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 30, "changed": false, "cmd": ["ansible-inventory", "-i", "/opt/ludus/ansible/range-management/proxmox.py", "--host", "virigould-router-debian11-x64"], "delta": "0:00:02.478439", "end": "2024-08-02 18:17:38.565069", "msg": "", "rc": 0, "start": "2024-08-02 18:17:36.086630", "stderr": "", "stderr_lines": [], "stdout": "{\n    \"ansible_become\": true,\n    \"ansible_become_method\": \"sudo\",\n    \"ansible_connection\": \"ssh\",\n    \"ansible_host\": \"\",\n    \"ansible_ssh_common_args\": \"-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null\",\n    \"ansible_ssh_pass\": \"debian\",\n    \"ansible_sudo_pass\": \"debian\",\n    \"ansible_user\": \"debian\",\n    \"proxmox_balloon_min\": 536870912,\n    \"proxmox_cpu\": 0.00231183664809841,\n    \"proxmox_cpus\": 2,\n    \"proxmox_disk\": 0,\n    \"proxmox_diskread\": 0,\n    \"proxmox_diskwrite\": 0,\n    \"proxmox_maxdisk\": 214748364800,\n    \"proxmox_maxmem\": 2147483648,\n    \"proxmox_mem\": 201034001,\n    \"proxmox_name\": \"virigould-router-debian11-x64\",\n    \"proxmox_netin\": 340,\n    \"proxmox_netout\": 2576,\n    \"proxmox_os_id\": \"debian\",\n    \"proxmox_os_kernel\": \"5.10.0-31-amd64\",\n    \"proxmox_os_machine\": \"x86_64\",\n    \"proxmox_os_name\": \"Debian GNU/Linux\",\n    \"proxmox_os_version_id\": \"11\",\n    \"proxmox_pid\": 1190100,\n    \"proxmox_shares\": 1000,\n    \"proxmox_status\": \"running\",\n    \"proxmox_type\": \"qemu\",\n    \"proxmox_uptime\": 232,\n    \"proxmox_vmid\": 112\n}", "stdout_lines": ["{", "    \"ansible_become\": true,", "    \"ansible_become_method\": \"sudo\",", "    \"ansible_connection\": \"ssh\",", "    \"ansible_host\": \"\",", "    \"ansible_ssh_common_args\": \"-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null\",", "    \"ansible_ssh_pass\": \"debian\",", "    \"ansible_sudo_pass\": \"debian\",", "    \"ansible_user\": \"debian\",", "    \"proxmox_balloon_min\": 536870912,", "    \"proxmox_cpu\": 0.00231183664809841,", "    \"proxmox_cpus\": 2,", "    \"proxmox_disk\": 0,", "    \"proxmox_diskread\": 0,", "    \"proxmox_diskwrite\": 0,", "    \"proxmox_maxdisk\": 214748364800,", "    \"proxmox_maxmem\": 2147483648,", "    \"proxmox_mem\": 201034001,", "    \"proxmox_name\": \"virigould-router-debian11-x64\",", "    \"proxmox_netin\": 340,", "    \"proxmox_netout\": 2576,", "    \"proxmox_os_id\": \"debian\",", "    \"proxmox_os_kernel\": \"5.10.0-31-amd64\",", "    \"proxmox_os_machine\": \"x86_64\",", "    \"proxmox_os_name\": \"Debian GNU/Linux\",", "    \"proxmox_os_version_id\": \"11\",", "    \"proxmox_pid\": 1190100,", "    \"proxmox_shares\": 1000,", "    \"proxmox_status\": \"running\",", "    \"proxmox_type\": \"qemu\",", "    \"proxmox_uptime\": 232,", "    \"proxmox_vmid\": 112", "}"]}

Any help would be much appreciated.

Edited by Caleb Gould