Bug 1913399

Summary: switch to v1beta1 for the priority and fairness APIs
Product: OpenShift Container Platform Reporter: Abu Kashem <akashem>
Component: NetworkingAssignee: Alexander Constantinescu <aconstan>
Networking sub component: openshift-sdn QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: aconstan, bbennett
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:35:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1967388    

Description Abu Kashem 2021-01-06 16:49:13 UTC
Description of problem:
Switch to v1beta1 for the priority and fairness APIs. 

https://github.com/openshift/cluster-network-operator/pull/920/files#r552553510

Comment 1 Abu Kashem 2021-01-07 14:48:04 UTC
Clarification: 
- We should change the API version of the p&f rules to 'v1beta1' in 4.8. 
- For 4.7, let's leave the version to 'v1alpha1'

We support upgrade and downgrade: 4.7 to 4.6 downgrade would behave very badly (in a skew case).

So as far as 4.7 is concerned, we don't need to do anything for this and I have set the target release to blank since I don't see a 4.8 yet.

Comment 2 Alexander Constantinescu 2021-01-07 14:50:01 UTC
OK, I am holding off the PR in that case, until after code freeze.

Comment 3 Abu Kashem 2021-01-08 22:02:36 UTC
changing the version to 4.8, as it applies to 4.8 only.

Comment 4 Abu Kashem 2021-02-03 22:54:25 UTC
setting the target release to 4.8 now.

Comment 6 zhaozhanqi 2021-02-22 09:10:03 UTC
Verified this bug on 4.8.0-0.nightly-2021-02-21-102854


 #oc get FlowSchema openshift-sdn -o yaml
apiVersion: flowcontrol.apiserver.k8s.io/v1beta1
kind: FlowSchema
metadata:
  annotations:
    include.release.openshift.io/self-managed-high-availability: "true"
  creationTimestamp: "2021-02-22T06:01:58Z"
  generation: 1
  managedFields:
  - apiVersion: flowcontrol.apiserver.k8s.io/v1beta1



 #oc get FlowSchema openshift-ovn-kubernetes -o yaml | grep apiVersion
apiVersion: flowcontrol.apiserver.k8s.io/v1beta1
  - apiVersion: flowcontrol.apiserver.k8s.io/v1beta1
            f:apiVersion: {}
  - apiVersion: operator.openshift.io/v1

Comment 9 errata-xmlrpc 2021-07-27 22:35:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438