reuse ip for non redundant VPC#2712
reuse ip for non redundant VPC#2712yadvr merged 2 commits intoapache:4.11apache/cloudstack:4.11from shapeblue:privateGatewayRestartVpcFixshapeblue/cloudstack:privateGatewayRestartVpcFixCopy head branch name to clipboard
Conversation
|
@blueorangutan package |
|
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2127 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2762)
|
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2131 |
|
@DaanHoogland have you looked at the VPC private gateway test failures? |
|
The failure is a failure to ping. This may have many causes. I think we need to manually test this functionality, to see if either the test or the private gateway (or acl/fw) functionality needs fixing, @PaulAngus |
|
@blueorangutan test |
|
@PaulAngus a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
After fixing the original problem a new bug arises. When restarting a VPC with a tier, the tier seems to come back unconnected and the VPC router and the interface for it has no IP address. |
|
Trillian test result (tid-2771)
|
|
@blueorangutan package |
|
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2140 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2779)
|
As rolling restart does not deallocate an IP before configuring it on a new VR, the code must allow it to be reused on a non-redundant VPCs gateway nic.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
8d45f5a to
24a5baa
Compare
|
Ran tests manually with increased ping thresholds: (rebased against 4.11, no changes to the original commit by Daan) |
|
thanks @rhtyd so we merge? (cc @PaulAngus ) |
|
Still working/testing @DaanHoogland I'll confirm and post once results are here. |
|
The |
|
I know about test_03_vpc_privategw_restart_vpc_cleanup @rhtyd . The only time I got this functionality to work was on manual testing. I think there is something with the order of applying interface and addresses that makes it work or fail :( |
|
There was no clear solution for fixing the nic/ip sequencing/application issue, I could reproduce the error sometimes and sometimes the test would pass when the sequence applied cleanly. Given a workaround for the non-redundant restart VPC with private gateway enabled exists in case a sequence issue is hit (i.e. user should manually destroy the VPC VR and restart the VPC without cleanup selected), I'll merge this /cc @PaulAngus. I verified that the issue does not arise in case of redundant VPCs. |
|
Issue logged - #2719 |
As rolling restart does not deallocate an IP before configuring it on a new VR, the code must allow it to be reused on a non-redundant VPCs gateway nic. In crease ping counts to reduce intermittent failures in smoketests. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

As rolling restart does not deallocate an IP before configuring it on a new VR,
the code must allow it to be reused on a non-redundant VPCs gateway nic.
Description
removed the condition to only look for reuse of IP on redundant VPCs
Types of changes
GitHub Issue/PRs
Screenshots (if appropriate):
How Has This Been Tested?
Checklist:
Testing