Bug 2102324
Summary: | GCP: Panic when unknown region AND machinesets specified in install config | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Patrick Dillon <padillon> |
Component: | Installer | Assignee: | Aditya Narayanaswamy <anarayan> |
Installer sub component: | openshift-installer | QA Contact: | Jianli Wei <jiwei> |
Status: | CLOSED ERRATA | Docs Contact: | Mike Pytlak <mpytlak> |
Severity: | low | ||
Priority: | low | CC: | anarayan, mpytlak |
Version: | 4.10-rc3 | ||
Target Milestone: | --- | ||
Target Release: | 4.12.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
* Previously, when an installation on Google Cloud provider (GCP) failed because an invalid GCP region was specified, the resulting error message did not mention this as the cause of the failure. This update improves the error message, which now states the region is not valid. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2102324[*BZ#2102324*])
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-17 19:50:54 UTC | Type: | Bug |
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: | |||
Bug Blocks: | 2112913, 2112928 |
Description
Patrick Dillon
2022-06-29 16:48:34 UTC
Verified with a build having the PR (https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-origin-installer-launch-gcp-modern/1548879863383855104), reasonable error message shows up now. $ openshift-install version openshift-install 4.11.0-0.ci.test-2022-07-18-045521-ci-ln-4f0hn9t-latest built from commit 2160b2cf50caa34773c1563e25a58774f1cba744 release image registry.build05.ci.openshift.org/ci-ln-4f0hn9t/release@sha256:cd4ab92709a2b74b741bac3a4307b416ff4e5fc9a8eefcbd589ec5060942d069 release architecture amd64 $ yq-3.3.0 r test2/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 test2/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 test2/install-config.yaml platform gcp: projectID: openshift-qe region: europe-west-8 $ $ openshift-install create install-config --dir test2 INFO Credentials loaded from file "/home/fedora/.gcp/osServiceAccount.json" ERROR failed to fetch Install Config: failed to load asset "Install Config": failed to create 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] $ Verified with 4.12.0-0.nightly-2022-07-25-010250. $ openshift-install version openshift-install 4.12.0-0.nightly-2022-07-25-010250 built from commit 4ecf43ce0ee68edda209739165d0973f9d66c2c4 release image registry.ci.openshift.org/ocp/release@sha256:2b5339e882f16a8411a5b137b916099083d4bb13bd6ab7a61b8d99eb89910952 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" ERROR failed to fetch Install Config: failed to load asset "Install Config": failed to create 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] $ 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security 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/RHSA-2022:7399 |