Fix Slurm provisioning with no Public IP address (#322)
- Fixes index out of bound exception
This commit is contained in:
Родитель
074ca55a1c
Коммит
c0ea6e58a6
|
@ -908,7 +908,7 @@ def create_slurm_controller(
|
|||
if util.is_none_or_empty(pips):
|
||||
fqdn[i] = None
|
||||
ipinfo[i] = 'private_ip_address={}'.format(
|
||||
nics[i].ip_configurations[i].private_ip_address)
|
||||
nics[i].ip_configurations[0].private_ip_address)
|
||||
else:
|
||||
# refresh public ip for vm
|
||||
pip = network_client.public_ip_addresses.get(
|
||||
|
|
Загрузка…
Ссылка в новой задаче