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

Openshift IPI deployment on vmware fails with error "'Error while synchronizing spec and status of infrastructures.config.openshift.io/cluster: Error on validating API VIPs and Machine Networks: VIP cannot be found in any machine network'"

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      IPI deployment of OCP on vsphere fails to complete.
      
      
      Network operator in degraded state:
      
      spec: {}
      status:
        conditions:
        - lastTransitionTime: "2024-07-04T10:30:43Z"
          message: 'Error while synchronizing spec and status of infrastructures.config.openshift.io/cluster:
            Error on validating API VIPs and Machine Networks: VIP ''10.xx.xx.xx'' cannot
            be found in any machine network'
      
      oc get infrastructure shows the following:
      
       spec:
          cloudConfig:
            key: config
            name: cloud-provider-config
          platformSpec:
            type: VSphere
            vsphere:
              apiServerInternalIPs:
              - 10.xx.xx.xx
              failureDomains:
              - name: generated-failure-domain
                region: generated-region
                server: vcenter.url.com
                topology:
                  computeCluster: /OpenShift-DC/host/OCP
                  datacenter: OpenShift-DC
                  datastore: /OpenShift-DC/datastore/OCP-PNQ-Datastore
                  networks:
                  - network-id
                  resourcePool: /OpenShift-DC/host/OCP/Resources
                  template: /OpenShift-DC/vm/ocp4ipi07-txnr6-rhcos-generated-region-generated-zone
                zone: generated-zone
              ingressIPs:
              - 10.xx.xx.xx
              machineNetworks:
              - 10.0.0.0/16
      
      
      The machine network is added as default value  `10.0.0.0/16` which was not provided when running create cluster command.  

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

          

      How reproducible:

          100 %

      Steps to Reproduce:

          1. openshift-installer create cluster
          2. post installation check network operator status
          3. oc get infrastructure -o yaml
          

      Actual results:

      Network operator in degraded state    

      Expected results:

      All operator should be available.

      Additional info:

          

              mkowalsk@redhat.com Mat Kowalski
              rhn-support-chdeshpa Chinmay Deshpande
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: