You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/11/24 14:35:42 UTC

[GitHub] [cloudstack] andrijapanicsb opened a new issue #3788: dnsmasq.leases file is missing on the new VR after network restart

andrijapanicsb opened a new issue #3788:
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:
users@infra.apache.org



[GitHub] [cloudstack] andrijapanicsb closed issue #3788: dnsmasq.leases file is missing on the new VR after network restart

Posted by GitBox <gi...@apache.org>.
andrijapanicsb closed issue #3788:
URL: https://github.com/apache/cloudstack/issues/3788


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [cloudstack] PaulAngus commented on issue #3788: dnsmasq.leases file is missing on the new VR after network restart

Posted by GitBox <gi...@apache.org>.
PaulAngus commented on issue #3788:
URL: https://github.com/apache/cloudstack/issues/3788#issuecomment-733013973


   The required fix (repopulating of the leases file) has not yet been implemented, the stated issue has not been resolved.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [cloudstack] andrijapanicsb commented on issue #3788: dnsmasq.leases file is missing on the new VR after network restart

Posted by GitBox <gi...@apache.org>.
andrijapanicsb commented on issue #3788:
URL: https://github.com/apache/cloudstack/issues/3788#issuecomment-746157605


   Fixed now by #4529  - looks fine


----------------------------------------------------------------
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:
users@infra.apache.org