BOSH conflicts with AWS Load Balancer (LB) IP Address
search cancel

BOSH conflicts with AWS Load Balancer (LB) IP Address

book

Article ID: 293747

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

When configuring deployments using an external Load Balancer (LB) from AWS or any IAAS, BOSH attempts to use IP addresses that are already in use in AWS.

The error below may occur during an Apply Changes or when recreating VMs. The problem occurs because BOSH assumes it has control of all of the IP addresses in the subnet given to it:

Error: Unknown CPI error 'Unknown' with message 'Address 172.##.###.## is in use.' in 'create_vm' CPI method (CPI request ID: 'cpi-835241') 



Environment

Product Version: 2.10

Resolution

To resolve this issue, Load Balancer (LB) IPs need to be added to the reserved IP list in the Networking Tab for the subnet. Since BOSH is only aware of BOSH deployed VM IP addresses, this will prevent the IPs from being assigned to TAS VMs. 


Refer to Configuring BOSH Director on AWS - Step 3: Director Config Page for more information.