Symptoms:
<timestamp> INFO provisioning ... Retrying to create new IPs.
<timestamp> ERROR provisioning ... Exception [java.lang.IllegalArgumentException: Couldn't allocate an IP address for resource /resources/network-interfaces/.... No IP addresses were remaining] thrown when allocating IPs.
Use this command to tail the logs from the Appliance shell session:
vracli logs --service provisioning-service-app -f
Aria Automation 8.x
The used Network Profile has an overlapping IP Range and therefor tries to allocate an IP even no IP is available.
Open the used Network Profile and review the configured IP Ranges for each Network, to have a better overview click the table header "Start IP Address".
Example given:
IP-Range-1: 192.168.0.10 - 192.168.0.100
IP-Range-2: 192.168.0.20 - 192.168.0.40
The IP-Range-2 shows all addresses are allocated and IP-Range-1 shows IP addresses available.
To review allocated IP addresses, navigate to Infrastructure > Resources > Networks > IP Addresses, then click on the header "IP Address" to order by IP.
You can use the filter to select only the impacted Network Profile.
You should find then for IP-Range-1 addresses 192.168.0.10 - 192.168.0.19 are allocated and also 192.168.0.41 - 192.168.0.100 are allocated.
In this case there is no free IP available in IP-Range-1 as the available IPs have been used by IP-Range-2.
To resolve the issue please allocate more IP addresses or release unused IPs.