Uh oh!
There was an error while loading. Please reload this page.
CLOUDSTACK-9500: remove the IP from the databag if it is not used - #1706
CLOUDSTACK-9500: remove the IP from the databag if it is not used#1706vilisseranen wants to merge 1 commit into
Conversation
pdion891
commented
Oct 12, 2016
Hi @remibergsma, We found this issue CLOUDSTACK-9500 where Public IP's is not removed from a VR when the Public IP is release. this cause routing issues because the arp table is refresh at any operation on the VR which reset de MAC for the release IP that can be used into another VR in a VPC deployement model. Is this something you faced? Thanks, |
yadvr
commented
Oct 21, 2016
/cc @murali-reddy |
yadvr
commented
Oct 21, 2016
@blueorangutan package |
blueorangutan
commented
Oct 21, 2016
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Oct 21, 2016
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-71 |
remibergsma
commented
Oct 29, 2016
@pdion891 saw your msg only now. Will have a look when I find some time. Thx! |
ustcweizhou
commented
Nov 1, 2016
this is our change for similar issue |
jburwell
commented
Nov 1, 2016
@murali-reddy have any of your patches addressed this issue? |
yadvr
commented
Nov 2, 2016
@blueorangutan package |
blueorangutan
commented
Nov 2, 2016
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 2, 2016
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-139 |
yadvr
commented
Nov 3, 2016
@blueorangutan test |
blueorangutan
commented
Nov 3, 2016
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Nov 3, 2016
Trillian test result (tid-269)
|
yadvr
commented
Nov 8, 2016
@blueorangutan package |
blueorangutan
commented
Nov 8, 2016
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 8, 2016
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-152 |
yadvr
commented
Nov 8, 2016
@blueorangutan test |
blueorangutan
commented
Nov 8, 2016
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
murali-reddy
commented
Nov 9, 2016
@jburwell#1659 has a fix which complements this patch.Basically when first IP is associated with an interface routing table is created and should be deleted when last IP associated is removed. #1659 handles that case. @vilisseranen could you please see if there is regression. Looks like IP may be getting removed from ips.json data bag, but not really getting dis-associated from the interface. Failure in below tests indicate so. test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Failure 36.36 test_network.py |
blueorangutan
commented
Nov 9, 2016
Trillian test result (tid-315)
|
apache#1706 CLOUDSTACK-9500: remove the IP from the databag if it is not used
jburwell
commented
Nov 9, 2016
@murali-reddy should we merge #1659 and then re-base this PR before running more tests? |
apache#1706 CLOUDSTACK-9500: remove the IP from the databag if it is not used
remibergsma
commented
Nov 16, 2016
@pdion891 Sorry for being late to the party. We've seen this issue too and resolved it in a different way. Removing the ip from the databag probably won't work too well, as it is used to deprovision the old ip address from the router. This is what works well for us instead: https://github.com/MissionCriticalCloud/cosmic/pull/114/files |
yadvr
commented
Nov 20, 2016
@blueorangutan package @nathanejohnson@vilisseranen can we have a conclusion on this PR, thanks. |
blueorangutan
commented
Nov 20, 2016
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 20, 2016
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-195 |
yadvr
commented
Nov 24, 2016
@vilisseranen@nathanejohnson can you consider suggestion from @remibergsma and apply suitable changes, thanks. |
yadvr
commented
Nov 28, 2016
@murali-reddy can you help review this? thanks. |
swill
commented
Dec 9, 2016
The merge conflict between this PR and #1741 is a bit tricky, so I have included this fix in #1741. @vilisseranen and I are currently running both PRs in production so we had to resolve the merge conflict for our deployment. Since the resolution is not trivial, I thought it made sense to just include this fix in my PR. |
swill
commented
Jan 16, 2017
swill
commented
Jan 16, 2017
@vilisseranen can you close this PR? |
vilisseranen
commented
Jan 18, 2017
This PR was not working as expected. See PR from @remibergsma for a proper fix. |
Fix public IPs not being removed from the VR when deprovisionedThis PR replaces #1706. It does not remove the IP from the database, but it does deprovision the IP correctly from the VR when the public IP is removed. * pr/1907: Fix public IPs not being removed from the VR when deprovisioned Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
https://issues.apache.org/jira/browse/CLOUDSTACK-9500
This removes the IP from the databags ips.json and forwardingrules.json when the IP is unused.