Bug 1949582

Summary: OCP v4.7 installation with OVN-Kubernetes fails with error "egress bandwidth restriction -1 is not equals"
Product: OpenShift Container Platform Reporter: Rohit Jamadar <rjamadar>
Component: NetworkingAssignee: Federico Paolinelli <fpaoline>
Networking sub component: ovn-kubernetes QA Contact: Weibin Liang <weliang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aconstan, fpaoline, memodi, trozet, weliang
Version: 4.7   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1962819 (view as bug list) Environment:
Last Closed: 2021-07-27 23:00:33 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:
Bug Depends On:    
Bug Blocks: 1962819    

Comment 6 Weibin Liang 2021-05-27 20:23:12 UTC
Tested and verified in both GCP UPI and AWS IPI clusters by using cluster-network-03-config.yml from comment 2.

[weliang@weliang ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.7.0-0.nightly-2021-05-27-075039   True        False         9m32s   Cluster version is 4.7.0-0.nightly-2021-05-27-075039
[weliang@weliang ~]$ oc get nodes
NAME                                                    STATUS   ROLES    AGE   VERSION
tszegcp052721b-nlxcj-master-0.c.openshift-qe.internal   Ready    master   33m   v1.20.0+df9c838
tszegcp052721b-nlxcj-master-1.c.openshift-qe.internal   Ready    master   34m   v1.20.0+df9c838
tszegcp052721b-nlxcj-master-2.c.openshift-qe.internal   Ready    master   34m   v1.20.0+df9c838
tszegcp052721b-nlxcj-worker-0.c.openshift-qe.internal   Ready    worker   23m   v1.20.0+df9c838
tszegcp052721b-nlxcj-worker-1.c.openshift-qe.internal   Ready    worker   23m   v1.20.0+df9c838
[weliang@weliang ~]$ oc get co
NAME                                       VERSION                             AVAILABLE   PROGRESSING   DEGRADED   SINCE
authentication                             4.7.0-0.nightly-2021-05-27-075039   True        False         False      13m
baremetal                                  4.7.0-0.nightly-2021-05-27-075039   True        False         False      33m
cloud-credential                           4.7.0-0.nightly-2021-05-27-075039   True        False         False      36m
cluster-autoscaler                         4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
config-operator                            4.7.0-0.nightly-2021-05-27-075039   True        False         False      33m
console                                    4.7.0-0.nightly-2021-05-27-075039   True        False         False      20m
csi-snapshot-controller                    4.7.0-0.nightly-2021-05-27-075039   True        False         False      33m
dns                                        4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
etcd                                       4.7.0-0.nightly-2021-05-27-075039   True        False         False      31m
image-registry                             4.7.0-0.nightly-2021-05-27-075039   True        False         False      22m
ingress                                    4.7.0-0.nightly-2021-05-27-075039   True        False         False      22m
insights                                   4.7.0-0.nightly-2021-05-27-075039   True        False         False      26m
kube-apiserver                             4.7.0-0.nightly-2021-05-27-075039   True        False         False      30m
kube-controller-manager                    4.7.0-0.nightly-2021-05-27-075039   True        False         False      31m
kube-scheduler                             4.7.0-0.nightly-2021-05-27-075039   True        False         False      31m
kube-storage-version-migrator              4.7.0-0.nightly-2021-05-27-075039   True        False         False      21m
machine-api                                4.7.0-0.nightly-2021-05-27-075039   True        False         False      23m
machine-approver                           4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
machine-config                             4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
marketplace                                4.7.0-0.nightly-2021-05-27-075039   True        False         False      31m
monitoring                                 4.7.0-0.nightly-2021-05-27-075039   True        False         False      21m
network                                    4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
node-tuning                                4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
openshift-apiserver                        4.7.0-0.nightly-2021-05-27-075039   True        False         False      27m
openshift-controller-manager               4.7.0-0.nightly-2021-05-27-075039   True        False         False      27m
openshift-samples                          4.7.0-0.nightly-2021-05-27-075039   True        False         False      26m
operator-lifecycle-manager                 4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
operator-lifecycle-manager-catalog         4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
operator-lifecycle-manager-packageserver   4.7.0-0.nightly-2021-05-27-075039   True        False         False      27m
service-ca                                 4.7.0-0.nightly-2021-05-27-075039   True        False         False      33m
storage                                    4.7.0-0.nightly-2021-05-27-075039   True        False         False      32m
[weliang@weliang ~]$ oc get networks.operator.openshift.io cluster -o yaml
apiVersion: operator.openshift.io/v1
kind: Network
metadata:
  creationTimestamp: "2021-05-27T19:39:03Z"
  generation: 32
  managedFields:
  - apiVersion: operator.openshift.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec:
        .: {}
        f:clusterNetwork: {}
        f:defaultNetwork:
          .: {}
          f:ovnKubernetesConfig:
            .: {}
            f:genevePort: {}
            f:mtu: {}
        f:disableMultiNetwork: {}
        f:serviceNetwork: {}
    manager: cluster-bootstrap
    operation: Update
    time: "2021-05-27T19:39:03Z"
  - apiVersion: operator.openshift.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec:
        f:defaultNetwork:
          f:type: {}
        f:managementState: {}
        f:observedConfig: {}
        f:unsupportedConfigOverrides: {}
      f:status:
        .: {}
        f:conditions: {}
        f:readyReplicas: {}
        f:version: {}
    manager: cluster-network-operator
    operation: Update
    time: "2021-05-27T19:43:15Z"
  name: cluster
  resourceVersion: "22127"
  selfLink: /apis/operator.openshift.io/v1/networks/cluster
  uid: 6f79ec84-9f57-4f10-b0aa-a35036dffc22
spec:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  defaultNetwork:
    ovnKubernetesConfig:
      genevePort: 6081
      mtu: 1400
    type: OpenShiftSDN
  disableMultiNetwork: true
  disableNetworkDiagnostics: false
  logLevel: Normal
  managementState: Managed
  observedConfig: null
  operatorLogLevel: Normal
  serviceNetwork:
  - 172.30.0.0/16
  unsupportedConfigOverrides: null
status:
  conditions:
  - lastTransitionTime: "2021-05-27T19:43:15Z"
    status: "False"
    type: ManagementStateDegraded
  - lastTransitionTime: "2021-05-27T19:43:15Z"
    status: "False"
    type: Degraded
  - lastTransitionTime: "2021-05-27T19:43:15Z"
    status: "True"
    type: Upgradeable
  - lastTransitionTime: "2021-05-27T19:55:56Z"
    status: "False"
    type: Progressing
  - lastTransitionTime: "2021-05-27T19:45:07Z"
    status: "True"
    type: Available
  readyReplicas: 0
  version: 4.7.0-0.nightly-2021-05-27-075039
[weliang@weliang ~]$

Comment 9 errata-xmlrpc 2021-07-27 23:00:33 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