-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix issue when multiple cidrs with different sizes are assigned on a VR #2792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Before patch: After patch: |
|
@RPDiep Thanks! As we want this to go into 4.11, could you maybe rebase against 4.11 and change it in the PR? We'll forward merge it from the 4.11 branch into master so that it reaches 4.12 then as well. |
Without this patch, the VR uses the netmask of the primary network for all assigned cidrs. This patch correctly applies the corresponding netmask.
2b91c8c to
96af47f
Compare
|
Should be good now @wido |
|
@blueorangutan package |
wido
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
|
@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-2230 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2912)
|
borisstoyanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the failures does not seem related
yadvr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Without this patch, the VR uses the netmask of the primary network for all assigned cidrs. This patch correctly applies the corresponding netmask. (cherry picked from commit 33a6ea0)
Without this patch, the VR uses the netmask of the primary network for all assigned cidrs. This patch correctly applies the corresponding netmask. (cherry picked from commit 33a6ea0)
Without this patch, the VR uses the netmask of the primary network for all assigned cidrs.
This patch correctly applies the corresponding netmask.
Description
Types of changes
GitHub Issue/PRs
No issue has yet been reported. We came across this today.
Screenshots (if appropriate):
How Has This Been Tested?
I've live patched the virtual router and rebooted it. Before,
/etc/dnsmasq.d/cloud.confhad wrong netmasks for several networks. After, the networks were set correctly.Checklist:
Testing