Bug 2112914

Summary: GCP: Panic when unknown region AND machinesets specified in install config
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: InstallerAssignee: Aditya Narayanaswamy <anarayan>
Installer sub component: openshift-installer QA Contact: Jianli Wei <jiwei>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: anarayan, padillon
Version: 4.10-rc3   
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-13 08:28:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2112928    
Bug Blocks:    

Comment 2 Jianli Wei 2022-09-06 06:14:08 UTC
>Verified with 4.10.0-0.nightly-2022-09-06-041841.

$ openshift-install version
openshift-install 4.10.0-0.nightly-2022-09-06-041841
built from commit 47603b4241dd93b1230809b65c75ba4e4c912a3d
release image registry.ci.openshift.org/ocp/release@sha256:e57e88f93255b1eb1a960016a6f01c70e668a4c45a4de752232b6a7938f0fd95
release architecture amd64
$ yq-3.3.0 r test1/install-config.yaml compute
- architecture: amd64
  hyperthreading: Enabled
  name: worker
  platform:
    gcp:
      osDisk:
        DiskSizeGB: 0
        diskType: ""
      type: e2-standard-4
  replicas: 3
$ yq-3.3.0 r test1/install-config.yaml controlPlane
architecture: amd64
hyperthreading: Enabled
name: master
platform:
  gcp:
    osDisk:
      DiskSizeGB: 0
      diskType: ""
    type: e2-standard-4
replicas: 3
$ yq-3.3.0 r test1/install-config.yaml platform
gcp:
  projectID: openshift-qe
  region: europe-west-8
$ openshift-install create install-config --dir test1
INFO Credentials loaded from file "/home/fedora/.gcp/osServiceAccount.json" 
FATAL failed to fetch Install Config: failed to load asset "Install Config": [platform.gcp.region: Invalid value: "europe-west-8": invalid region, <nil>: Internal error: failed to fetch instance types, this error usually occurs if the region is not found] 
$

Comment 5 errata-xmlrpc 2022-09-13 08:28:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.10.32 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:6372