From 067f6c0f16b7bb1a9d0ce91d0a1844ea4e6a3ed3 Mon Sep 17 00:00:00 2001 From: srknk8990 <41755730+srknk8990@users.noreply.github.com> Date: Fri, 1 Nov 2019 12:37:05 -0400 Subject: [PATCH] Fix for the index out of bound exception while installation on PublicIP: False. fix for the index out of bound exception --- convoy/slurm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convoy/slurm.py b/convoy/slurm.py index 43196edc..6134035c 100644 --- a/convoy/slurm.py +++ b/convoy/slurm.py @@ -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(