andrijapanicsb opened a new issue #3788: dnsmasq.leases file is missing on the 
new VR after network restart
URL: https://github.com/apache/cloudstack/issues/3788
 
 
   
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   VR / DHCP
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.11+
   ~~~
   
   **PROBLEM:**
   After the new VR is created as part of the network restart with cleanup, the 
new VR will have missing or empty "/var/lib/misc/dnsmasq.leases" file
   
   This will cause that the VM after 15 days of running (50% from the currently 
hardcoded 30d lease duration) will try to renew it's DHCP lease by sending 
DHCPREQUEST, but VR/dnsmasq is not aware of that lease (dnsmasq.leases 
missing/empty), so it will send DHCPNAK, so eventually DHPC client will fail 
back to the initialization process and start from scratch with DHCPDISCOVER and 
get its IP again.
   
   This doesn't mean network downtime, but on some older RHEL 6.x systems (that 
assumes CentOS 6.x as well), **the "initialization" process will remove any 
static routes added**, thus causing issues.
   
   We need to ensure that the content of the "/var/lib/misc/dnsmasq.leases" 
file is regenerated/populated with all the needed records on the new VR when 
restarting a network with cleanup.  Alos, rebootRouter / startRouter API while 
"recreate.systemvm.enabled”=”true” also need to produce the same results

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to