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

datacenters not being validated in vcenters in install-config.yaml

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The installer is not validating the datacenters listed under vcenters for a zonal installation. The datacenters in the failure domain topology, however, are validated. If there is an invalid datacenter in vcenters, but not in the failure domain topology, the cluster will fail to continue to install but will eventually fail.

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

       

      How reproducible:

       

      Steps to Reproduce:

      1. Configure an invalid datacenter in vcenters, but not in failure domain topology.
      2. Perform an installation.
      3.
      

      Actual results:

      installation times out waiting for the storage operator

      Expected results:

      installation should fail in validation

      Additional info:

      Example of bad install-config.yaml
      
      platform:
        vsphere: 
          apiVIPs:
          - 192.168.12.2
          ingressVIPs:
          - 192.168.12.3
          failureDomains: 
          - name: fd-1
            region: us-west
            server: ibmvcenter.vmc-ci.devcluster.openshift.com
            topology:
              computeCluster: "/datacenter-2/host/vcs-mdcnc-workload-4"
              datacenter: datacenter-2
              datastore: "/datacenter-2/datastore/mdcnc-ds-4"
              networks:
              - ocp-ci-seg-12
            zone: us-west-1a
          - name: fd-2
            region: us-east
            server: ibmvcenter.vmc-ci.devcluster.openshift.com
            topology:
              computeCluster: "/IBMCloud/host/vcs-mdcnc-workload-1"
              datacenter: IBMCloud
              datastore: "/IBMCloud/datastore/mdcnc-ds-1"
              networks:
              - ocp-ci-seg-12
            zone: us-east-1a
          - name: fd-3
            region: us-east
            server: ibmvcenter.vmc-ci.devcluster.openshift.com
            topology:
              computeCluster: "/IBMCloud/host/vcs-mdcnc-workload-2"
              datacenter: IBMCloud
              datastore: "/IBMCloud/datastore/mdcnc-ds-2"
              networks:
              - ocp-ci-seg-12
            zone: us-east-1b
          - name: fd-4
            region: us-east
            server: ibmvcenter.vmc-ci.devcluster.openshift.com
            topology:
              computeCluster: "/IBMCloud/host/vcs-mdcnc-workload-3"
              datacenter: IBMCloud
              datastore: "/IBMCloud/datastore/mdcnc-ds-3"
              networks:
              - ocp-ci-seg-12
            zone: us-east-1c            
          vcenters:
          - datacenters:
            - IBMCloud
            - datacenter2
            password: "************"
            port: 443
            server: ibmvcenter.vmc-ci.devcluster.openshift.com
            user: *************
      

              rhn-support-rvanderp Richard Vanderpool
              rhn-support-rvanderp Richard Vanderpool
              None
              None
              Wenxin Wei Wenxin Wei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: