ustcweizhou commented on issue #3627: [do not merge] server: Do NOT cleanup 
dhcp and dns when stop a vm
URL: https://github.com/apache/cloudstack/pull/3627#issuecomment-542126350
 
 
   @andrijapanicsb I have updated this PR and tested ok. could you please test 
it ?
   
   1. Before expunging vm
   ```
   root@r-39-VM:~# cat /var/lib/misc/dnsmasq.leases
   1573859468 1e:00:33:00:00:09 10.11.120.232 vm1 *
   root@r-39-VM:~# cat /etc/dhcphosts.txt
   1e:00:33:00:00:09,10.11.120.232,vm1,758h
   ```
   
   2. nothing changes after stopping vm
   
   3. after expunging vm
   ```
   root@r-39-VM:~# cat /var/lib/misc/dnsmasq.leases
   root@r-39-VM:~# cat /etc/dhcphosts.txt
   ```
   

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