-
Notifications
You must be signed in to change notification settings - Fork 175
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
Install with static IP takes too long when DHCP is not present on port groups. #3436
Comments
@stuclem, I think we should add a generic release note recommending increased timeout value for static ip installs when using vic-machine. |
@mlh78750 do you have logs (with log level set to debug) for this scenario? |
@hmahmood, let me know the steps to set the log level to debug and I will upload the logs for you. Thanks, |
usability issue. |
This affects container VMs as well. And the timeout for the DHCP failure is about the same as the timeout for attach if you So if you use a non-DHCP environment for bridge network, know that the container will take a while to boot, and that the attach when using run -it will likely fail due to a timeout, but a |
cc @sflxn |
@mikeh mentioned one option is to disable network bring up in the bootstrap iso's and have tether do all the network setup. |
@mdubya66 that's the way it's supposed to be working. Not sure what's getting hung up right now. |
It looks like dhcp is not running @mobla 's setup. I verified systemd-networkd service is not running (which runs the dhcp client). We also didn't see any evidence of dhcp activity in the kernel/systemd logs. However, we did see the docker personality restarting due to the following errors:
Not sure what this is about, but it apparently causes the docker personality to bail. |
@hmahmood that was for the VCH. Can you confirm that the container VM is also configured to not run the DHCP client. I'm trying to figure out why the boot of a container in this environment takes a while. |
The container VM shares the same configuration for the VCH, so it should not have dhcp running as well. I confirmed that systemd-networkd is not running in a busybox containers I brought up. |
@hmahmood: attached the container logs for create VCH taking ~5mins as per your request |
The vmware.log file for the VCH is missing. Also, our systemd config setup seems to be busted; from
Not sure if this is contributing to the problem. |
For the "Too many levels of symbolic links" error: We have systemd 228 installed; the fixes to this issue came after that release. https://github.com/systemd/systemd/blob/master/NEWS |
Attached the vmware.log and tether.debug. Please rename the tar.gz file to zip and unzip it.. |
Added to 0.8 release notes:
|
@npakrasi I don't think that explanation is accurate. We are still investigating, and at last check DHCP is not looking like a cause. Could you just say that some static ip installs may take longer than expected, and a workaround is to increase the timeout? |
Moving this back to To Do because this is the engineering issue, not a doc issue. |
@hmahmood: Uploaded the vmware.log from VCH (took 5 mins) appliance deployed on vCenter.. |
@hmahmood apologies - I only just saw this. Updated the release note as follows:
Does this cover it? |
@stuclem that should cover it. |
exists in 0.8
If you install with static IP's the appliance image will first try to get a dhcp address and then assigns the static ip over writing the address wit the static. But, if there is no DHCP server, the appliance will wait until the dhcp request fails and then will assign the static ip.
Recommend increasing timeout for the install if using static IP's.
The text was updated successfully, but these errors were encountered: