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

Vsphere IPI installation is getting failed with panic: runtime error: invalid memory address or nil pointer dereference

XMLWordPrintable

    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, if the VMware vSphere cluster contained an ESXi host that was offline, the installation failed with a "panic: runtime error: invalid memory address or nil pointer dereference" message. With this update, the error message states that the ESXi host is unavailable. (link:https://issues.redhat.com/browse/OCPBUGS-20350[*OCPBUGS-20350*])
      Show
      Previously, if the VMware vSphere cluster contained an ESXi host that was offline, the installation failed with a "panic: runtime error: invalid memory address or nil pointer dereference" message. With this update, the error message states that the ESXi host is unavailable. (link: https://issues.redhat.com/browse/OCPBUGS-20350 [* OCPBUGS-20350 *])
    • Bug Fix
    • Done

      Description of problem:

      Vsphere IPI installation is getting failed with panic: runtime error: invalid memory address or nil pointer dereference

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

       

      How reproducible:

       

      Steps to Reproduce:

      1. Download 4.13 installation binary
      2. Run openshift-install create cluster command. 

      Actual results:

      Error:
      
      DEBUG   Generating Platform Provisioning Check...
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x3401c4e]goroutine 1 [running]:
      github.com/openshift/installer/pkg/asset/installconfig/vsphere.validateESXiVersion(0xc001524060?, {0xc00018aff0, 0x43}, 0x1?, 0x1?)
              /go/src/github.com/openshift/installer/pkg/asset/installconfig/vsphere/validation.go:279 +0xb6e
      github.com/openshift/installer/pkg/asset/installconfig/vsphere.validateFailureDomain(0xc001524060, 0xc00022c840, 0x0)
              /go/src/github.com/openshift/installer/pkg/asset/installconfig/vsphere/validation.go:167 +0x6b6
      github.com/openshift/installer/pkg/asset/installconfig/vsphere.ValidateForProvisioning(0xc0003d4780)
              /go/src/github.com/openshift/installer/pkg/asset/installconfig/vsphere/validation.go:132 +0x675
      github.com/openshift/installer/pkg/asset/installconfig.(*PlatformProvisionCheck).Generate(0xc0000f2000?, 0x5?)
              /go/src/github.com/openshift/installer/pkg/asset/installconfig/platformprovisioncheck.go:112 +0x45f
      github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc000925e90, {0x1dc012d0, 0x2279afa8}, {0x7c34091, 0x2})
              /go/src/github.com/openshift/installer/pkg/asset/store/store.go:226 +0x5fa
      github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc000925e90, {0x1dc01090, 0x22749ce0}, {0x0, 0x0})
              /go/src/github.com/openshift/installer/pkg/asset/store/store.go:220 +0x75b
      github.com/openshift/installer/pkg/asset/store.(*storeImpl).Fetch(0x7ffe670305f1?, {0x1dc01090, 0x22749ce0}, {0x227267a0, 0x8, 0x8})
              /go/src/github.com/openshift/installer/pkg/asset/store/store.go:76 +0x48
      main.runTargetCmd.func1({0x7ffe670305f1, 0x6})
              /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:260 +0x125
      main.runTargetCmd.func2(0x2272da00?, {0xc000925410?, 0x3?, 0x3?})
              /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:290 +0xe7
      github.com/spf13/cobra.(*Command).execute(0x2272da00, {0xc000925380, 0x3, 0x3})
              /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:920 +0x847
      github.com/spf13/cobra.(*Command).ExecuteC(0xc000210900)
              /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1040 +0x3bd
      github.com/spf13/cobra.(*Command).Execute(...)
              /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:968
      main.installerMain()
              /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:61 +0x2b0
      main.main()
              /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:38 +0xff
      

      Expected results:

      Installation to be completed successfully.

      Additional info:

       

            jcallen@redhat.com Joseph Callen
            rhn-support-amulmule Akash Mulmuley
            Shang Gao Shang Gao
            Mike Pytlak Mike Pytlak
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: