Bug 2086437

Summary: EgressQoS CRD not available
Product: OpenShift Container Platform Reporter: obraunsh
Component: NetworkingAssignee: obraunsh
Networking sub component: ovn-kubernetes QA Contact: Ying Wang <yingwang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: itsoiref, yingwang
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.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: 2022-08-10 11:12:00 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:

Description obraunsh 2022-05-16 06:56:54 UTC
Description of problem:
EgressQoS API is not available in 4.11 latest
Server Version: 4.11.0-0.nightly-2022-05-11-054135

$ cat egressqos.yaml 
apiVersion: k8s.ovn.org/v1
kind: EgressQoS
metadata:
  name: default
  namespace: default
spec:
  egress:
  - dscp: 40
    dstCIDR: 172.18.0.6/32
  - dscp: 50
    dstCIDR: 172.18.0.7/32
    podSelector:
      matchLabels:
        app: demo

$ oc apply -f egressqos.yaml 
error: unable to recognize "egressqos.yaml": no matches for kind "EgressQoS" in version "k8s.ovn.org/v1"

$ oc get crds | grep egressqos
$



How reproducible:
Always


Expected results:
Resource should be created successfully.

Comment 5 Ying Wang 2022-05-18 10:07:13 UTC
Checked the same on version 4.11.0-0.nightly-2022-05-18-010528, it works fine.

# oc create -f egressqos.yaml 
egressqos.k8s.ovn.org/default created
[root@f33-h13-000-r640 yingwang]# oc get crds | grep egressqos
egressqoses.k8s.ovn.org                                           2022-05-18T09:17:31Z
[root@f33-h13-000-r640 yingwang]# cat egressqos.yaml 
apiVersion: k8s.ovn.org/v1
kind: EgressQoS
metadata:
  name: default
  namespace: default
spec:
  egress:
  - dscp: 40
    dstCIDR: 172.18.0.6/32
  - dscp: 50
    dstCIDR: 172.18.0.7/32
    podSelector:
      matchLabels:
        app: demo
[root@f33-h13-000-r640 yingwang]#

Comment 7 errata-xmlrpc 2022-08-10 11:12:00 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069