router: Fixes #2719 program VR nics by device id order for VPC#2888
router: Fixes #2719 program VR nics by device id order for VPC#2888yadvr merged 1 commit intoapache:4.11from
Conversation
This fixes apache#2719 where private gateway IP might be incorrectly programmed on a guest network nic. The VR would now check ipassoc requests by mac addresses than provided nic/device id in case they are wrong. The root cause is that the device id information is lost when aggregated commands are created upon starting of a new VPC VR, without the correct device id in ip_associations json it mis-programs the VR. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
@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-2336 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@PaulAngus if you've time this week, can you review this as well in your environment where you were able to see the bug? |
|
LTGM based on specific functionality fix test. just need to wait for overall smoke tests. test_01_vpc_privategw_acl (tests.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_01_vpc_privategw_acl | Status : SUCCESS === Ran 4 tests in 687.214s OK |
|
Thanks @PaulAngus for reviewing and testing. |
|
Trillian test result (tid-3066)
|
|
@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-2338 |
…ouds' Adição de suporte à migração de snapshots e backups incrementais com KVM Closes #2888 See merge request scclouds/scclouds!1248
This fixes #2719 where private gateway IP might be incorrectly
programmed on a guest network nic. The VR would now check ipassoc
requests by mac addresses than provided nic/device id in case they are
wrong.
The root cause is that the device id information is lost when aggregated
commands are created upon starting of a new VPC VR, without the correct
device id in ip_associations json it mis-programs the VR.
Types of changes
GitHub Issue/PRs
#2719
How Has This Been Tested?
Deploy VPC
Deploy a guest VM on a tier
Add a private gateway
Restart the VPC with cleanup=true
The private gateway should be on correct dev idx (previously both guest network and private gw would be on eth2, eth3 will not have any ip)
/cc @PaulAngus @borisstoyanov
@blueorangutan package