-
Notifications
You must be signed in to change notification settings - Fork 56
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
DHCP/IPv6 Issue Fix? #84
Comments
That seems reasonable. Are you on version 0.8.4? So do you find that an ipv6 address is assigned to the vm and then eventually it gets an ipv4 address? |
Yes 0.8.4 Yes that's the behavior I see. I actually see this happen randomly in In the web client context I see that ipv6 will occasionally show first On Sun, Jul 31, 2016, at 04:33 PM, Matt Wrock wrote:
Links: |
I think |
@mwrock I submitted a PR for this feature (in |
This is great - would love to see this incorporated. I was neck deep in this in the past, but got distracted as we were looking to go another direction. |
+1 When might this be merged? |
…l-disks-added-twice Fixes bug where additional disks added twice
We're looking at moving to chef-provisioning-vsphere from knife-vsphere. One thing we hit with knife-vsphere was that sometimes the query happening under the covers to get the guest's IP address would sometimes return the IPv6 first. I experienced this same issue with chef-provisioning-vsphere during my playing and it bombs with something like this:
RI::InvalidURIError: machine[server02] (setup_vm::default line 52) had an error: URI::InvalidURIError: the scheme http does not accept registry part: fe80::c9bb:d19a:ed30:2443:5985 (or bad hostname?)
I noticed this was reported with Issue 67. The advise there was to disable IPv6. I found a few other mentions of this category of problem in
I made a small tweak to lib/chef/provisioning/vsphere_driver/driver.rb that seems to have fixed this. This is in general the same logic we have in place in the knife-vsphere processing. I changed this:
to this:
I'm happy to submit this as a PR and sex it up with some regex, but before I do I wanted to check w/ the community that this is an appropriate fix to the problem.
The text was updated successfully, but these errors were encountered: