-
Notifications
You must be signed in to change notification settings - Fork 655
dhcp leases expire before ROS requests a new lease #2047
Comments
what is the expiry time set on the DHCP server? |
@SvenDowideit 24 hours |
According to the logs the DHCP expiry time is actually not 24h but varies between 1h or 2h.
In 1.0.4 the logs contain entries for the renewals but in v1.0.0 there are no such entries (probably because the dhcpcd daemon is not started with the |
We also observed on one host whose eth0 interface ended up being configured with two DHCP IP addresses with only the later being actively renewed and the first one then being assigned to another hosts by DHCP server. Which meant we then had two hosts advertising the same IP address in the network.
|
I added
|
After enable debug by
|
@janeczku Do you have any detailed steps to reproduce it? It is better to file another issue. |
To enable debug in RancherOS-v1.1.2-rc2, we can see DHCP renew logs. Let's close this issue. |
RancherOS Version: (ros os version)
1.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
vmware
Noticing that IP addresses are being given to other hosts even though an ROS host had the initial lease on it. Theory is ROS isn't asking for a new lease before the current one expires
The text was updated successfully, but these errors were encountered: