-
Notifications
You must be signed in to change notification settings - Fork 65
blocked-edges/4.11.6: Declare OVNNetworkPolicyLongName risk #2552
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
blocked-edges/4.11.6: Declare OVNNetworkPolicyLongName risk #2552
Conversation
A regression introduced in 4.11.6 may lead to OVN control plane failure and workload disruption.
24d422d to
c641333
Compare
wking
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: PratikMahajan, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixing a typo from c641333 (blocked-edges/4.11.6: declare OVNNetworkPolicyLongName risk, 2022-09-27, openshift#2552). Otherwise the blocked-edges parsers thing this is informative docs, and not an actual risk declaration. With this change: $ hack/show-edges.py candidate-4.11 | grep ' 4[.]11[.]6$' 4.10.16 -(blocked: OVNNetworkPolicyLongName)-> 4.11.6 4.10.17 -(blocked: OVNNetworkPolicyLongName)-> 4.11.6 4.10.18 -(blocked: OVNNetworkPolicyLongName)-> 4.11.6 ...same OVNNetworkPolicyLongName for everything else going into 4.11.6... which is what we want.
The PromQL approach is similar to what we used in c641333 (blocked-edges/4.11.6: declare OVNNetworkPolicyLongName risk, 2022-09-27, openshift#2552), except: * I'm using the PerformanceProfiles resource. * I'm using apiserver_storage_objects instead of cluster:usage:resources:sum, to cut out one lossy layer of indirection [1]. Generated by writing the 4.13.0 declaration by hand, and then copying out to other 4.13 releases with: $ curl -s 'https://api.openshift.com/api/upgrades_info/graph?channel=candidate-4.13' | jq -r '.nodes[].version' | grep '^4[.]13[.]' | grep -v '^4[.]13[.]0$' | while read V; do sed "s/4[.]13[.]0/${V}/g" blocked-edges/4.13.0-PerformanceProfilesCPUQuota.yaml > "blocked-edges/${V}-PerformanceProfilesCPUQuota.yaml"; done $ git add blocked-edges/4.13.*PerformanceProfilesCPUQuota.yaml [1]: https://github.com/openshift/cluster-monitoring-operator/blob/70dd5c9a414448ace1d07090730510d5922b6b18/jsonnet/rules.libsonnet#L291-L292C20
The PromQL approach is similar to what we used in c641333 (blocked-edges/4.11.6: declare OVNNetworkPolicyLongName risk, 2022-09-27, openshift#2552), except: * I'm using the PerformanceProfiles resource. * I'm using apiserver_storage_objects instead of cluster:usage:resources:sum, to cut out one lossy layer of indirection [1]. Generated by writing the 4.13.0 declaration by hand, and then copying out to other 4.13 releases with: $ curl -s 'https://api.openshift.com/api/upgrades_info/graph?channel=candidate-4.13' | jq -r '.nodes[].version' | grep '^4[.]13[.]' | grep -v '^4[.]13[.]0$' | while read V; do sed "s/4[.]13[.]0/${V}/g" blocked-edges/4.13.0-PerformanceProfilesCPUQuota.yaml > "blocked-edges/${V}-PerformanceProfilesCPUQuota.yaml"; done $ git add blocked-edges/4.13.*PerformanceProfilesCPUQuota.yaml [1]: https://github.com/openshift/cluster-monitoring-operator/blob/70dd5c9a414448ace1d07090730510d5922b6b18/jsonnet/rules.libsonnet#L291-L292C20
The PromQL approach is similar to what we used in c641333 (blocked-edges/4.11.6: declare OVNNetworkPolicyLongName risk, 2022-09-27, openshift#2552), except: * I'm using the PerformanceProfiles resource. * I'm using apiserver_storage_objects instead of cluster:usage:resources:sum, to cut out one lossy layer of indirection [1]. Generated by writing the 4.13.0 declaration by hand, and then copying out to other 4.13 releases with: $ curl -s 'https://api.openshift.com/api/upgrades_info/graph?channel=candidate-4.13' | jq -r '.nodes[].version' | grep '^4[.]13[.]' | grep -v '^4[.]13[.]0$' | while read V; do sed "s/4[.]13[.]0/${V}/g" blocked-edges/4.13.0-PerformanceProfilesCPUQuota.yaml > "blocked-edges/${V}-PerformanceProfilesCPUQuota.yaml"; done $ git add blocked-edges/4.13.*PerformanceProfilesCPUQuota.yaml [1]: https://github.com/openshift/cluster-monitoring-operator/blob/70dd5c9a414448ace1d07090730510d5922b6b18/jsonnet/rules.libsonnet#L291-L292C20
The PromQL approach is similar to what we used in c641333 (blocked-edges/4.11.6: declare OVNNetworkPolicyLongName risk, 2022-09-27, openshift#2552), except: * I'm using the PerformanceProfiles resource. * I'm using apiserver_storage_objects instead of cluster:usage:resources:sum, to cut out one lossy layer of indirection [1]. Generated by writing the 4.13.0 declaration by hand, and then copying out to other 4.13 releases with: $ curl -s 'https://api.openshift.com/api/upgrades_info/graph?channel=candidate-4.13' | jq -r '.nodes[].version' | grep '^4[.]13[.]' | grep -v '^4[.]13[.]0$' | while read V; do sed "s/4[.]13[.]0/${V}/g" blocked-edges/4.13.0-PerformanceProfilesCPUQuota.yaml > "blocked-edges/${V}-PerformanceProfilesCPUQuota.yaml"; done $ git add blocked-edges/4.13.*PerformanceProfilesCPUQuota.yaml [1]: https://github.com/openshift/cluster-monitoring-operator/blob/70dd5c9a414448ace1d07090730510d5922b6b18/jsonnet/rules.libsonnet#L291-L292C20
A regression introduced in 4.11.6 may lead to OVN control plane failure and workload disruption.