Bug 2086437 - EgressQoS CRD not available
Summary: EgressQoS CRD not available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.11.0
Assignee: obraunsh
QA Contact: Ying Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-16 06:56 UTC by obraunsh
Modified: 2022-08-10 11:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:12:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 1430 0 None Merged Bug 2086437: Enable EgressQoS controller 2022-05-17 12:15:39 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:12:11 UTC

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


Note You need to log in before you can comment on or make changes to this bug.