Re: Issue on re-deploy to AWS - static IP already reserved/in use

Alexander Lomov

We had the similar issue with AWS. In AWS pannel we couldn't find any
instance that used some IP address, still there was no ability to create an
instance with such IP. We got this bug after we redeployed cluster several

I think it could be AWS problem, so the solution here will be to put this
IP addresses to the list of reserved IPs.

Alex Lomov
*Altoros* — Cloud Foundry deployment, training and integration
*Twitter:* @code1n <> *GitHub:* @allomov

On Thu, May 7, 2015 at 8:10 PM, Dmitriy Kalinin <dkalinin(a)> wrote:

Was that IP previously assigned to a different VM (check via `bosh vms`)?

Currently BOSH does not allow to pick a static IP if it's already in use
by another VM. You could try putting it as a reserved IP, then doing bosh
deploy, and then assigning it as a static IP for the haproxy VM.

On Thu, May 7, 2015 at 3:32 AM, Lev Berman <lev.berman(a)> wrote:

Have you terminated the previous Amazon HA Proxy instance? If not, this
might be the reason of the reserved IP error.

On Thu, May 7, 2015 at 1:11 PM, teddyking <ed(a)> wrote:

Hi BOSH users!

We're running into an error when attempting to re-deploy a failing BOSH
deployment of CF to AWS:

`ha_proxy_z1/0' asked for a static IP but it's already
reserved/in use

We're essentially doing the following:

* Allocate new EIP in AWS
* Generate manifest for CF with the EIP assigned to HA Proxy
* Run `bosh deploy` - this fails because we're hitting AWS API limits
* Run `bosh deploy` again - this now fails due to the above 'already
reserved' error

Is this the expected behaviour?
We've tried manually releasing the EIP in AWS and retrying the
but we still experience the 'already reserved' failure.

We're running BOSH version 1.2922.0 and have attached the relevant
from the debug log.

Any help appreciated.
Ed and Gareth


View this message in context:
Sent from the CF BOSH mailing list archive at
cf-bosh mailing list

Lev Berman

Altoros - Cloud Foundry deployment, training and integration

*: <>*

cf-bosh mailing list

cf-bosh mailing list

Join { to automatically receive all group messages.