Skip to content
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

Fix up destination MAC of auto-egress-ip packets #17099

Merged

Conversation

danwinship
Copy link
Contributor

@danwinship danwinship commented Oct 31, 2017

Auto egress packets from pods on nodes other than the one with the egress IP were getting dropped. This turns out to be because the packets will be ignored if you output them on tun0 but they don't have tun0's MAC address as the destination MAC. (For local pods, the default route is via tun0, so the MAC is correct, but for remote pods, the default route is via the tun0 on their node, so the MAC was wrong for the node it eventually ended up on.)

Also includes two other auto-egress-ip OVS flow fixes.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1501876
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1507871

@danwinship danwinship added component/networking kind/bug Categorizes issue or PR as related to a bug. sig/networking labels Oct 31, 2017
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 31, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 31, 2017
Copy link
Contributor

@knobunc knobunc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet! The change looks good to me. Glad you found the cause!

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 31, 2017
@knobunc
Copy link
Contributor

knobunc commented Oct 31, 2017

/kind bug
/retest

@danwinship
Copy link
Contributor Author

/retest

@danwinship
Copy link
Contributor Author

oops, it's actually broken

Also, one final OVS flow fix for egress IPs
@openshift-merge-robot openshift-merge-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 31, 2017
@danwinship
Copy link
Contributor Author

@knobunc had to tweak it to not try to read the actual tun0 MAC address from unit tests

@danwinship
Copy link
Contributor Author

added another fix, for https://bugzilla.redhat.com/show_bug.cgi?id=1507871

@danwinship
Copy link
Contributor Author

/retest

2 similar comments
@danwinship
Copy link
Contributor Author

/retest

@knobunc
Copy link
Contributor

knobunc commented Oct 31, 2017

/retest

@knobunc
Copy link
Contributor

knobunc commented Oct 31, 2017

/retest

Flaked on #17105

@knobunc
Copy link
Contributor

knobunc commented Nov 1, 2017

/retest

Flaked on #17105

@eparis
Copy link
Member

eparis commented Nov 1, 2017

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 1, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danwinship, eparis, knobunc

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit 6da6c87 into openshift:master Nov 1, 2017
@danwinship danwinship deleted the egress-ip-fixes-2 branch November 9, 2017 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/networking kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. queue/critical-fix sig/networking size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants