Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control-tower deploy fails on "Waiting for the agent on VM '...' to be ready" after running from a non-static ip address (AWS) #174

Open
AndrewYHuang opened this issue Mar 16, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@AndrewYHuang
Copy link

Running control-tower deploy sets the security group rules for the bosh director automatically to my current IP address. (A reasonable assumption to make, which unfortunately doesn't hold true in my case!)

When the deploy script reaches the stage where we connect to the bosh director, my device tries to connect to it using a different IP address.

Ideally, there would be a way to let us specify multiple, or a range, of IP addresses to allow connection to the bosh director, or perhaps skip the terraform security group step entirely.

Potential Workarounds:

  • Modify the security group to add the rules after the terraform deploy step, and before the script reaches the "Waiting for agent" step.
    • This is quite fiddly and very interactive. It also relies on predicting which IP address gets allowed in the security group.
  • (Haven't tried it yet) Use AWS Cloudshell?
@AndrewYHuang AndrewYHuang changed the title Fails on "Waiting for the agent on VM '...' to be ready" after running control-tower deploy from a non-static ip address (AWS) control-tower deploy fails on "Waiting for the agent on VM '...' to be ready" after running from a non-static ip address (AWS) Mar 16, 2022
@crsimmons
Copy link
Contributor

Thanks for raising this. Allowing for a whitelist CIDR or an option for removing the restriction altogether are things we can look at adding in the future.

Out of curiosity what is your setup that causes outbound connections from the same executable to appear as coming from different IPs?

@RichardBradley
Copy link
Contributor

We have outbound load balancing on our office internet, so don't have a stable public IP on our dev machines. It's probably an unusual setup.

@crsimmons crsimmons added the enhancement New feature or request label Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants