Skip to content

Adjust NetworkPolicy OVS flows for compatibility with (as-yet-unreleased) OVS 2.8 - #15930

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
danwinship:ovs-2.8-compat
Aug 23, 2017
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
danwinship:ovs-2.8-compat

Conversation

@danwinship

Copy link
Copy Markdown
Contributor

A (proposed) upcoming change to OVS 2.8 changes the behavior of flows using ct(), and we'll need this patch to remain compatible.

Specifically, without this change, the later flow "table=80, priority=200, ip, ct_state=+rpl, actions=output:NXM_NX_REG2[]" will never match, because the ct_state will have been cleared in the current context by the call to ct(nat). With the change, processing of the packet after the table 30 rule continues in a context where ct_state is still set. (In OVS 2.7, the patch is basically a no-op; ct_state is set in both contexts.)

@openshift-merge-robot openshift-merge-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 23, 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 Aug 23, 2017
@danwinship

Copy link
Copy Markdown
Contributor Author

/test extended_networking

@knobunc knobunc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks Dan

@knobunc

knobunc commented Aug 23, 2017 •

Copy link
Copy Markdown
Contributor

/approve
/lgtm

@danwinship

Copy link
Copy Markdown
Contributor Author

flake #15912
/retest

@knobunc

knobunc commented Aug 23, 2017

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 23, 2017
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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

Details 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
Copy Markdown
Contributor

Automatic merge from submit-queue (batch tested with PRs 15899, 15887, 15866, 15935, 15930)

@openshift-merge-robot
openshift-merge-robot merged commit 924f525 into openshift:master Aug 23, 2017
@danwinship
danwinship deleted the ovs-2.8-compat branch October 19, 2017 19:04
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants