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

vagrant-vsphere should error out on an invalid reported IP #274

Open
jkugler opened this issue Dec 7, 2018 · 0 comments
Open

vagrant-vsphere should error out on an invalid reported IP #274

jkugler opened this issue Dec 7, 2018 · 0 comments

Comments

@jkugler
Copy link

jkugler commented Dec 7, 2018

Recently, due to issues beyond our control, we hit a situation where we exhausted IPs from our DHCP server (pro-tip: don't run CI/CD on a subnet with 3-day leases). This would cause the VMs to sometimes report IPs that were not valid. These included IPv6 link-local addreses, as well as 0.0.0.0. Well, apparently for vagrant, 0.0.0.0 translates to localhost. Since the account and ssh key used is the same as that of the Jenkins server (long story, not my decision). So, Chef was able to log in, and start its operation, modifyting the configuration of the Jenkins server.

Yes, I will fully admit there are other issues that need to be solved here (trust me, I'm working on it), but I think it would be prudent to add a blacklist of IPs that are NOT valid and should cause errors if VMs report them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant