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

SDN-4196: blocked-edges/*-OVNKubeMasterDSPrestop: Precise 'from' expressions #4379

Conversation

wking
Copy link
Member

@wking wking commented Nov 13, 2023

From SDN-4196:

clusters that have upgraded from 4.10->4.11 will be vulnerable and will be affected by this issue when/if they eventually upgrade to 4.12.41+, 4.13.16+ or 4.14+

So this commit increases the precision on cfe51de (#4377)'s declarations, so updates into the regression like 4.12.40 -> 4.12.41 are labeled with the risk, while updates within post-regression releases like 4.12.41 -> 4.12.42 are not labeled with the risk (because those clusters must have already addressed the issue, or were never exposed in the first place).

Generated with:

$ sed -i 's/^from: .*/from: 4[.](11[.].*|12[.]([0-9]|[1-3][0-9]|40)[+].*)/' blocked-edges/4.12.*-OVNKubeMasterDSPrestop.yaml
$ sed -i 's/^from: .*/from: 4[.](12[.]([0-9]|[1-3][0-9]|40)|13[.]([0-9]|1[0-5]))[+].*/' blocked-edges/4.13.*-OVNKubeMasterDSPrestop.yaml
$ sed -i 's/^from: .*/from: 4[.](13[.]([0-9]|1[0-5])[+].*|14[.]0-.*)/' blocked-edges/4.14.*-OVNKubeMasterDSPrestop.yaml

But the floor raise in 17541bd (#4243) moved us past the regression point in 4.13.z -> 4.14 updates, so with the precise regexp, the risk was no longer used for any edges in that minor version bump:

$ hack/show-edges.py candidate-4.14 | grep '4[.]13[.].*OVNKubeMasterDSPrestop.* 4[.]14[.]'
...no hits...

So I'm dropping the 4.14 declarations entirely with:

$ rm -f blocked-edges/4.14.*OVNKubeMasterDSPrestop.yaml

17541bd's minor_min advice and 5592c46's PreRelease risk should be sufficient to keep folks from older 4.13.z from reaching impacted 4.14 without becoming aware of at least some risk.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 13, 2023
@wking wking changed the title blocked-edges/*-OVNKubeMasterDSPrestop: Precise 'from' expressions SDN-4196: blocked-edges/*-OVNKubeMasterDSPrestop: Precise 'from' expressions Nov 13, 2023
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 13, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 13, 2023

@wking: This pull request references SDN-4196 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.15.0" version, but no target version was set.

In response to this:

From SDN-4196:

clusters that have upgraded from 4.10->4.11 will be vulnerable and will be affected by this issue when/if they eventually upgrade to 4.12.41+, 4.13.16+ or 4.14+

So this commit increases the precision on cfe51de (#4377)'s declarations, so updates into the regression like 4.12.40 -> 4.12.41 are labeled with the risk, while updates within post-regression releases like 4.12.41 -> 4.12.42 are not labeled with the risk (because those clusters must have already addressed the issue, or were never exposed in the first place).

Generated with:

$ sed -i 's/^from: .*/from: 4[.](11[.].*|12[.]([0-9]|[1-3][0-9]|40)[.].*)/' blocked-edges/4.12.*-OVNKubeMasterDSPrestop.yaml
$ sed -i 's/^from: .*/from: 4[.](12[.]([0-9]|[1-3][0-9]|40)|13[.]([0-9]|1[0-5]))[.].*/' blocked-edges/4.13.*-OVNKubeMasterDSPrestop.yaml
$ sed -i 's/^from: .*/from: 4[.](13[.]([0-9]|1[0-5])[.].*|14[.].*)/' blocked-edges/4.14.*-OVNKubeMasterDSPrestop.yaml

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wking wking force-pushed the OVNKubeMasterDSPrestop-from-precision branch 3 times, most recently from b009de7 to 39283d9 Compare November 13, 2023 22:24
@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 13, 2023

@wking: This pull request references SDN-4196 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.15.0" version, but no target version was set.

In response to this:

From SDN-4196:

clusters that have upgraded from 4.10->4.11 will be vulnerable and will be affected by this issue when/if they eventually upgrade to 4.12.41+, 4.13.16+ or 4.14+

So this commit increases the precision on cfe51de (#4377)'s declarations, so updates into the regression like 4.12.40 -> 4.12.41 are labeled with the risk, while updates within post-regression releases like 4.12.41 -> 4.12.42 are not labeled with the risk (because those clusters must have already addressed the issue, or were never exposed in the first place).

Generated with:

$ sed -i 's/^from: .*/from: 4[.](11[.].*|12[.]([0-9]|[1-3][0-9]|40)[+].*)/' blocked-edges/4.12.*-OVNKubeMasterDSPrestop.yaml
$ sed -i 's/^from: .*/from: 4[.](12[.]([0-9]|[1-3][0-9]|40)|13[.]([0-9]|1[0-5]))[+].*/' blocked-edges/4.13.*-OVNKubeMasterDSPrestop.yaml
$ sed -i 's/^from: .*/from: 4[.](13[.]([0-9]|1[0-5])[+].*|14[.]0-.*)/' blocked-edges/4.14.*-OVNKubeMasterDSPrestop.yaml

But the floor raise in 17541bd (#4243) moved us past the regression point in 4.13.z -> 4.14 updates, so with the precise regexp, the risk was no longer used for any edges in that minor version bump:

$ hack/show-edges.py candidate-4.14 | grep '4[.]13[.].*OVNKubeMasterDSPrestop.* 4[.]14[.]'
...no hits...

So I'm dropping the 4.14 declarations entirely with:

$ rm -f blocked-edges/4.14.*OVNKubeMasterDSPrestop.yaml

17541bd's minor_min advice and 5592c46's PreRelease risk should be sufficient to keep folks from older 4.13.z from reaching impacted 4.14 without becoming aware of at least some risk.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

From [1]:

  clusters that have upgraded from 4.10->4.11 will be vulnerable and
  will be affected by this issue when/if they eventually upgrade to
  4.12.41+, 4.13.16+ or 4.14+

I'm assuming the 4.14 regression landed in 4.14.0, although it
actually landed earler.  But we have 5592c46
(blocked-edges/4.14.0-*-PreRelease: Point out that 4.14 is GA,
2023-11-13, openshift#4378) declaring a risk of heading into the 4.14
prereleases, so we don't need to pin down where in the 4.14
prereleases this OVN regression landed.

So this commit increases the precision on cfe51de (SDN-4196: Set
`OVNKubeMasterDNPrestop` on OVN clusters installed before 4.11,
2023-11-13, openshift#4377)'s declarations, so updates into the regression like
4.12.40 -> 4.12.41 are labeled with the risk, while updates within
post-regression releases like 4.12.41 -> 4.12.42 are not labeled with
the risk (because those clusters must have already addressed the
issue, or were never exposed in the first place).

Generated with:

  $ sed -i 's/^from: .*/from: 4[.](11[.].*|12[.]([0-9]|[1-3][0-9]|40)[+].*)/' blocked-edges/4.12.*-OVNKubeMasterDSPrestop.yaml
  $ sed -i 's/^from: .*/from: 4[.](12[.]([0-9]|[1-3][0-9]|40)|13[.]([0-9]|1[0-5]))[+].*/' blocked-edges/4.13.*-OVNKubeMasterDSPrestop.yaml
  $ sed -i 's/^from: .*/from: 4[.](13[.]([0-9]|1[0-5])[+].*|14[.]0-.*)/' blocked-edges/4.14.*-OVNKubeMasterDSPrestop.yaml

But the floor raise in 17541bd (build-suggestions/4.14: Bump
minor_min to 4.13.17, 2023-10-16, openshift#4243) moved us past the regression
point in 4.13.z -> 4.14 updates, so with the precise regexp, the risk
was no longer used for any edges in that minor version bump:

  $ hack/show-edges.py candidate-4.14 | grep '4[.]13[.].*OVNKubeMasterDSPrestop.* 4[.]14[.]'
  ...no hits...

So I'm dropping the 4.14 declarations entirely with:

  $ rm -f blocked-edges/4.14.*OVNKubeMasterDSPrestop.yaml

17541bd's minor_min advice and 5592c46's PreRelease risk should
be sufficient to keep folks from older 4.13.z from reaching impacted
4.14 without becoming aware of at least some risk.

[1]: https://issues.redhat.com/browse/SDN-4196
@wking wking force-pushed the OVNKubeMasterDSPrestop-from-precision branch from 39283d9 to b5557d6 Compare November 13, 2023 22:42
Copy link
Contributor

openshift-ci bot commented Nov 13, 2023

@wking: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Copy link
Member

@petr-muller petr-muller left a comment

Choose a reason for hiding this comment

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

LGTM but holding for Lala

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 14, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2023
Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

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

/lgtm

@LalatenduMohanty
Copy link
Member

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 14, 2023
Copy link
Contributor

openshift-ci bot commented Nov 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, petr-muller, wking

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [LalatenduMohanty,petr-muller,wking]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 894952c into openshift:master Nov 14, 2023
5 checks passed
@wking wking deleted the OVNKubeMasterDSPrestop-from-precision branch November 14, 2023 20:41
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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
4 participants