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

vsphere platform spec validation failure when both legacy and current fields are used

XMLWordPrintable

    • None
    • OpenShift SPLAT - Sprint 258
    • 1
    • False
    • Hide

      None

      Show
      None
    • Adds additional installer warning messages stating that using deprecated and supported fields in the platform spec is not recommended.
    • Bug Fix
    • In Progress

      Description of problem:

         openshift install fails with "failed to lease wait: Invalid configuration for device '0'. generated yaml below:
      additionalTrustBundlePolicy: Proxyonly
      apiVersion: v1
      baseDomain: XXX
      compute:
      - architecture: amd64
        hyperthreading: Enabled
        name: worker
        platform:
          vsphere:
            coresPerSocket: 2
            cpus: 8
            memoryMB: 40960
            osDisk:
              diskSizeGB: 150
            zones:
            - generated-failure-domain
        replicas: 3
      controlPlane:
        architecture: amd64
        hyperthreading: Enabled
        name: master
        platform:
          vsphere:
            coresPerSocket: 2
            cpus: 4
            memoryMB: 32768
            osDisk:
              diskSizeGB: 150
            zones:
            - generated-failure-domain
        replicas: 3
      metadata:
        creationTimestamp: null
        name: dc3
      networking:
        clusterNetwork:
        - cidr: 10.128.0.0/14
          hostPrefix: 23
        machineNetwork:
        - cidr: 10.0.0.0/16
        networkType: OVNKubernetes
        serviceNetwork:
        - 172.30.0.0/16
      platform:
        vsphere:
          apiVIP: 172.21.0.20
          apiVIPs:
          - 172.21.0.20
          cluster: SA-LAB
          datacenter: OVH-SA
          defaultDatastore: DatastoreOCP
          failureDomains:
          - name: generated-failure-domain
            region: generated-region
            server: XXX
            topology:
              computeCluster: /OVH-SA/host/SA-LAB
              datacenter: OVH-SA
              datastore: /OVH-SA/datastore/DatastoreOCP
              networks:
              - ocpdemo
              resourcePool: /OVH-SA/host/SA-LAB/Resources
            zone: generated-zone
          ingressVIP: 172.21.0.21
          ingressVIPs:
          - 172.21.0.21
          network: ocpdemo
      
      ~~~ Truncated~~~

       

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

          

      How reproducible:

          always

      Steps to Reproduce:

          1.openshift-install create cluster
          2.choose Vsphere
          3.
          

      Actual results:

          Error

      Expected results:

          Cluster creation

      Additional info:

          

              jcallen@redhat.com Joseph Callen
              rhn-support-tywalker Tyler Walker
              Wenxin Wei Wenxin Wei
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: