Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-25 Thread Rohit Yadav
org Subject: Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file Hi Rohit; I made the test again on a fresh VR and your solution fixed the issue. Thanks Özhan On Wed, Jan 24, 2018 at 11:26 AM, Rohit Yadav wrote: > Hi Ozhan, > > > With my fix, whene

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-25 Thread Özhan Rüzgar Karaman
> > > > > > - Rohit > > > > <https://cloudstack.apache.org> > > > > > > > > > > From: Özhan Rüzgar Karaman > > Sent: Tuesday, January 23, 2018 1:01:16 PM > > To: dev@cloudstack.apache.org > > Subject:

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-24 Thread Rohit Yadav
org> From: Özhan Rüzgar Karaman Sent: Wednesday, January 24, 2018 7:40:18 AM To: dev@cloudstack.apache.org Subject: Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file Hi Rohit; Today i am short in time but tomorrow i will create a new network and test your fi

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-23 Thread Özhan Rüzgar Karaman
> > - Rohit > > <https://cloudstack.apache.org> > > > > > From: Özhan Rüzgar Karaman > Sent: Tuesday, January 23, 2018 1:01:16 PM > To: dev@cloudstack.apache.org > Subject: Re: [4.11] VR Problem on Releasing Expunged Instance

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-23 Thread Rohit Yadav
erify it: https://github.com/apache/cloudstack/pull/2427/files - Rohit <https://cloudstack.apache.org> From: Özhan Rüzgar Karaman Sent: Tuesday, January 23, 2018 1:01:16 PM To: dev@cloudstack.apache.org Subject: Re: [4.11] VR Problem on Releasi

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-23 Thread Daan Hoogland
tnx Özhan, that sounds like a feasible workaround. The bigger issue is that dhcp_release should be called on instance removal. There is code to delete the dhcp leases file already. I wonder why this isn't called in your case. We actually have complaints that it is being cleaned to rigorously as we

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-23 Thread Özhan Rüzgar Karaman
Hi; We made some more tests to find the root cause of the problem. The problem occur because we crashed(power off) VR for a 4.11 HA test. After rebooting VR, active VM's dhcp lease datas are stucked in /var/lib/misc/dnsmasq.leases file and this creates problems. Our solution is to clear/flush dnsm

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-22 Thread Özhan Rüzgar Karaman
Hi Ivan; I am not sure PR 2393 directly points to my findings, i only tested this scenario on 4.11rc1. I am not a developer so i will not submit a fix, i am only testing 4.11rc because its a LTS release and its quality is very important. Please check the issue on your environment, all details and

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-22 Thread Ivan Kudryavtsev
Reopen issue, do a PR with fix if you can, could it be that VR doesn't have patched code? Also, describe testing scenario, I'll try to look at it in my patched 4.10. 22 янв. 2018 г. 16:52 пользователь "Özhan Rüzgar Karaman" < oruzgarkara...@gmail.com> написал: > Hi Ivan; > I checked 2 PR's and th

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-22 Thread Özhan Rüzgar Karaman
Hi Ivan; I checked 2 PR's and they are exist on 4.11rc1 but issue still exists on my environment. When a new vm uses IP from old expunged vm then leases file creates problem. Please check the logs that i submitted on first email, issue is clear there and in my opinion it still exists on 4.11rc1. B

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-22 Thread Ivan Kudryavtsev
- https://github.com/apache/cloudstack/pull/2366 -https://github.com/apache/cloudstack/pull/2393 22 янв. 2018 г. 16:32 пользователь "Ivan Kudryavtsev" < kudryavtsev...@bw-sw.com> написал: > Hi, Ozhan. MACs are not removed upon vm removal, but they are overriden > upon vm creation with same ip (or

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-22 Thread Özhan Rüzgar Karaman
Hi Ivan; I made several tests with same scenario on 4.11rc1 and got same results, did your 2 PR's currently exists on 4.11 rc1 in which i am testing or it will exist on future rc2? If they exists on 4.11rc1 then we have a problem Thanks Özhan On Mon, Jan 22, 2018 at 12:32 PM, Ivan Kudryavtsev wr

Re: [4.11] VR Problem on Releasing Expunged Instance IP from dnsmasq.leases file

2018-01-22 Thread Ivan Kudryavtsev
Hi, Ozhan. MACs are not removed upon vm removal, but they are overriden upon vm creation with same ip (or same hostname). It should work fine, 4.10, 4.11 received 2 PRs to fix several possible bugs. I tested the case when IP is reused. 22 янв. 2018 г. 16:07 пользователь "Özhan Rüzgar Karaman" < or