[ https://issues.apache.org/jira/browse/CLOUDSTACK-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337486#comment-16337486 ]
ASF subversion and git services commented on CLOUDSTACK-10252: -------------------------------------------------------------- Commit 61a5a297058ce4478766b36d640f76684e31b9c8 in cloudstack's branch refs/heads/master from [~rohithsharma] [ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=61a5a29 ] CLOUDSTACK-10252: Delete dnsmasq leases file on restart (#2427) Delete dnsmasq's leases file when dnsmasq is restarted to avoid it use old ip-mac-address-vm mapping leases. Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> > VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file > --------------------------------------------------------------------- > > Key: CLOUDSTACK-10252 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10252 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Rohit Yadav > Assignee: Rohit Yadav > Priority: Blocker > Fix For: 4.11.0.0 > > > Email on dev@: > Hi; > Today we noticed that one of our new provisioned instance did not get IP > from VR. When we dig into the issue we find that one different mac is > written in dnsmasq.leases file holds new instances IP address. > We checked this mac address from db and we noticed that this mac is used > for old expunged instance. > So from this point we realised that when we destroy an instance its mac did > not removed from dnsmasq.leases file so if we use this ip for a new > instance then we have a problem, our instance could not get IP from VR. > We have one host on our lab environment and its Ubuntu 16.04.3 KVM. Today > we made a HA test and we crashed the host so VR and SystemVM's are rebooted > after we boot host back. I do not think this issue is related to VR reboot > but i like to give information about our environment. > We need to manage dnsmasq.leases file when we expunge an instance. > Thanks > Özhan -- This message was sent by Atlassian JIRA (v7.6.3#76005)