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

openshift-install gather bootstrap panics

XMLWordPrintable

    • Moderate
    • 2
    • Sprint 224
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: openshift-install gather bootstrap panics when platform is "none"
      Consequence: the openshift-install gather command returns `panic: unsupported platform "none"`
      Fix: support platform "none"
      Result: openshift-install gather bootstrap now works appropriately
      Show
      Cause: openshift-install gather bootstrap panics when platform is "none" Consequence: the openshift-install gather command returns `panic: unsupported platform "none"` Fix: support platform "none" Result: openshift-install gather bootstrap now works appropriately
    • Bug Fix

      Description of problem: upon attempting to install OCP 4.10 UPI on baremetal ppc64le, the openshift-install gather command returns `panic: unsupported platform "none"`

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

      OCP 4.10.16

      openshift-install 4.10.24 

      How reproducible:

      easily

      Steps to Reproduce:
      1. create install config
      2. create manifests
      3. create ignition configs

      4. openshift-install gather bootstrap --log-level "debug"

      Actual results:

      DEBUG OpenShift Installer 4.10.24                  
      DEBUG Built from commit d63a12ba0ec33d492093a8fc0e268a01a075f5da 
      DEBUG Fetching Bootstrap SSH Key Pair...           
      DEBUG Loading Bootstrap SSH Key Pair...            
      DEBUG Using Bootstrap SSH Key Pair loaded from state file 
      DEBUG Reusing previously-fetched Bootstrap SSH Key Pair 
      DEBUG Fetching Install Config...                   
      DEBUG Loading Install Config...                    
      DEBUG   Loading SSH Key...                         
      DEBUG   Loading Base Domain...                     
      DEBUG     Loading Platform...                      
      DEBUG   Loading Cluster Name...                    
      DEBUG     Loading Base Domain...                   
      DEBUG     Loading Platform...                      
      DEBUG   Loading Networking...                      
      DEBUG     Loading Platform...                      
      DEBUG   Loading Pull Secret...                     
      DEBUG   Loading Platform...                        
      DEBUG Loading Install Config from both state file and target directory 
      DEBUG On-disk Install Config matches asset in state file 
      DEBUG Using Install Config loaded from state file  
      DEBUG Reusing previously-fetched Install Config    
      panic: unsupported platform "none"

      goroutine 1 [running]:
      github.com/openshift/installer/pkg/terraform/stages/platform.StagesForPlatform({0x146f2d0a, 0x1619aa08})
              /go/src/github.com/openshift/installer/pkg/terraform/stages/platform/stages.go:55 +0x2ff
      main.runGatherBootstrapCmd({0x14d8e028, 0x1})
              /go/src/github.com/openshift/installer/cmd/openshift-install/gather.go:115 +0x2d6
      main.newGatherBootstrapCmd.func1(0xc001364500, {0xc0005a0b40, 0x2, 0x2})
              /go/src/github.com/openshift/installer/cmd/openshift-install/gather.go:65 +0x59
      github.com/spf13/cobra.(*Command).execute(0xc001364500, {0xc0005a0b20, 0x2, 0x2})
              /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:860 +0x5f8
      github.com/spf13/cobra.(*Command).ExecuteC(0xc001334c80)
              /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:974 +0x3bc
      github.com/spf13/cobra.(*Command).Execute(...)
              /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:902
      main.installerMain()
              /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:72 +0x29e
      main.main()
              /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:50 +0x125

      Expected results:

      I'm not really sure what I expected to happen.  I've never used that gather before..

      I would assume at least no panicking.

      Additional info:

            rdossant Rafael Fonseca dos Santos
            rhn-support-pkirkpat Peter Kirkpatrick
            Jianli Wei Jianli Wei
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: