andrijapanicsb commented on issue #3627: server: Do NOT cleanup dhcp and dns 
when stop a vm
URL: https://github.com/apache/cloudstack/pull/3627#issuecomment-557319517
 
 
   @weizhouapache @rhtyd I think I see a bit of a problem with this one 
(somewhat edge case).
   
   VM1 has default network NET1
   VM1 is attached to NET2 as an additional network - DNS and DHCP configs are 
created for this in the VR of NET2 (/etc/hosts and /etc/dhcphosts.txt
   We later detach VM1 from NET2 (and potentially never again attach it) - 
garbage is left forever in VR of NET2 (this consumes IP if nothing else).
   
   Can you think of any other consequence here?
   I see that when attaching AGAIN VM1 to NET2, a NEW config (new IP) is used 
in DNS and DHCP config, while the OLD IP is still present (in /etc/hosts and 
/etc/dhcphosts.txt) - so this will make issues for sure.
   
   

----------------------------------------------------------------
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