Uploaded image for project: 'Multiple Architecture Enablement'
  1. Multiple Architecture Enablement
  2. MULTIARCH-2574

PowerVS create cluster command failed when unknown CIS domain passed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Undefined
    • None
    • None
    • Multi-Arch
    • None
    • False
    • None
    • False
    • NEW
    • OCPSTRAT-216 - [Dev-preview] Support x86 control-plane with Power data-plane for HyperShift on BM
    • NEW

    Description

      Tried to create hypershift cluster with the below command 
       

      dharaneesh@Dharaneeshwarans-MacBook-Pro-2 hypershift % ./bin/hypershift create cluster powervs \   --region tok --zone tok04 \   --ssh-key /Users/dharaneesh/.ssh/id_rsa.pub --resource-group ibm-hypershift-dev --infra-id dhar-tok-infra --vpc-region jp-tok --name dhar-tok \   --pull-secret /Users/dharaneesh/pull-secret --base-domain scnl-ibm.com --render --node-pool-replicas=2 \   --release-image quay.io/openshift-release-dev/ocp-release:4.11.0-0.nightly-multi-2022-06-03-203447 \   --control-plane-operator-image quay.io/dravicha/hypershift:latest > ../clusternew1.ya ml

       
      Where ibm-hypershift-dev is not a valid CIS domain name.
       
      Below are the cli output.
       
       

      2022-06-06T11:49:27+05:30 INFO dhar-tok-infra Setup infra started panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3d0aa0b]   goroutine 1 [running]: github.com/openshift/hypershift/cmd/infra/powervs.(*Infra).setupBaseDomain.func1({0x0, 0x0}) /Users/dharaneesh/dev/commit-2/hypershift/cmd/infra/powervs/create.go:386 +0x3eb github.com/openshift/hypershift/cmd/infra/powervs.pagingHelper(0xc000dbec30) /Users/dharaneesh/dev/commit-2/hypershift/cmd/infra/powervs/util.go:29 +0x53 github.com/openshift/hypershift/cmd/infra/powervs.(*Infra).setupBaseDomain(0xc00014ac00, 0xc0003fe000) /Users/dharaneesh/dev/commit-2/hypershift/cmd/infra/powervs/create.go:397 +0x44b github.com/openshift/hypershift/cmd/infra/powervs.(*Infra).SetupInfra(0xc00014ac00, 0xc0003fe000) /Users/dharaneesh/dev/commit-2/hypershift/cmd/infra/powervs/create.go:259 +0x379 github.com/openshift/hypershift/cmd/cluster/powervs.applyPlatformSpecificsValues({0x4baa698, 0xc00005e580}, 0xc00047d180, 0xc0005db400) /Users/dharaneesh/dev/commit-2/hypershift/cmd/cluster/powervs/create.go:143 +0x83b github.com/openshift/hypershift/cmd/cluster/core.CreateCluster({0x4baa698, 0xc00005e580}, 0xc0005db400, 0x497e870) /Users/dharaneesh/dev/commit-2/hypershift/cmd/cluster/core/create.go:371 +0x1c8 github.com/openshift/hypershift/cmd/cluster/powervs.CreateCluster({0x4baa698, 0xc00005e580}, 0xc0005db400) /Users/dharaneesh/dev/commit-2/hypershift/cmd/cluster/powervs/create.go:93 +0xc6 github.com/openshift/hypershift/cmd/cluster/powervs.NewCreateCommand.func2(0xc0008d2c80, {0xc0005e0480, 0x0, 0x18}) /Users/dharaneesh/dev/commit-2/hypershift/cmd/cluster/powervs/create.go:77 +0x1df github.com/spf13/cobra.(*Command).execute(0xc0008d2c80, {0xc00004c200, 0x18, 0x18}) /Users/dharaneesh/dev/commit-2/hypershift/vendor/github.com/spf13/cobra/command.go:860 +0xb67 github.com/spf13/cobra.(*Command).ExecuteC(0xc000440f00) /Users/dharaneesh/dev/commit-2/hypershift/vendor/github.com/spf13/cobra/command.go:974 +0x8b3 github.com/spf13/cobra.(*Command).Execute(0xc000440f00) /Users/dharaneesh/dev/commit-2/hypershift/vendor/github.com/spf13/cobra/command.go:902 +0x2f github.com/spf13/cobra.(*Command).ExecuteContext(0xc000440f00, {0x4baa698, 0xc000bc1cc0}) /Users/dharaneesh/dev/commit-2/hypershift/vendor/github.com/spf13/cobra/command.go:895 +0x73 main.main() /Users/dharaneesh/dev/commit-2/hypershift/main.go:68 +0x585

       

      Attachments

        Activity

          People

            dravicha Dharaneeshwaran Ravichandran
            dravicha Dharaneeshwaran Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: