Forum Discussion

mike_o_339892's avatar
mike_o_339892
Icon for Nimbostratus rankNimbostratus
Nov 05, 2017

AWS Single-AZ Cluster Floating IP Address Reassignment Issue

Hello,

I recently played around a bit with the VE version 13 offering for AWS. My intent was to to set up a single-AZ cluster.

I managed to get everything working, except that, once I defined a Virtual Server and a SNAT List for the same private IP address, the

aws-failover-tgactive.sh
script started failing with the error
Failed to reassign some or all address(es): 10.231.196.76 10.231.196.76 on interface ...
. The error message referenced the offending IP address twice. Attempting to run the AWS CLI command for assigning private IP addresses to an instance (
aws ec2 assign-private-ip-addresses
) does indeed yield and error when specifying the same IP address twice.

Would it be possible to enhance the

prepare_list_of_addresses
shell function to de-duplicate the list of IP addresses to be reassigned?

Thank you, Mike