Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-945

create egressqos with wrong syntax/value rules success

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.12
    • None
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-917. The following is the description of the original issue:

      Description of problem:

       

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2097579
      Create/edit egressqos with wrong synax/value rules like below success.
      
      # oc get egressqos default -o yaml
      apiVersion: k8s.ovn.org/v1
      kind: EgressQoS
      metadata:
        creationTimestamp: "2022-06-16T02:20:22Z"
        generation: 3
        name: default
        namespace: abc
        resourceVersion: "903874"
        uid: f72c07c8-a8b8-4cb9-9399-c69e55b67a71
      spec:
        egress:
        - dscp: 30
          dstCIDR: abc&!ABC/24
        - dscp: 46
          dstCIDR: 3.144.110.173/35
          podSelector:
            matchLabels:
              name: test-pods
        - dscp: 50
          dstCIDR: asb::/158
        - dscp: 10
          dstCIDR: 0.0.0.0/0
      
      
      
      
      Version-Release number of selected component (if applicable):
      
      # oc version
      Client Version: 4.11.0-0.nightly-2022-06-11-054027
      Kustomize Version: v4.5.4
      Server Version: 4.11.0-0.nightly-2022-06-11-054027
      Kubernetes Version: v1.24.0+cb71478
      
      
      How reproducible:
      
      1. create project
      
      2. create egressqos with the yaml above.
      
      Actual results:
      
      
      
      Expected results:
      
      egressqos should not be able to created successfully 

      Actual results:

       

      Expected results:

       

      Additional info:

       

              obraunsh@redhat.com Ori Braunshtein
              openshift-crt-jira-prow OpenShift Prow Bot
              Ying Wang Ying Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: