Bug 1746119
Summary: | Installer fails to create a cluster on GCP when using N2 machine type with allow_stopping_for_update set to false | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Naga Ravi Chaitanya Elluri <nelluri> | ||||||
Component: | Installer | Assignee: | Patrick Dillon <padillon> | ||||||
Installer sub component: | openshift-installer | QA Contact: | Weihua Meng <wmeng> | ||||||
Status: | CLOSED ERRATA | Docs Contact: | |||||||
Severity: | high | ||||||||
Priority: | unspecified | CC: | akamra, ddharwar, nelluri | ||||||
Version: | 4.2.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | 4.2.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | All | ||||||||
Whiteboard: | aos-scalability-42 | ||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2019-10-16 06:37: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: | |||||||||
Attachments: |
|
Looking at the logs, it looks like we are trying to modify the instances during bootstrap destroy. 1) we should identify why there is a change on these master machines, nothing should be changing for them.. 2) maybe fix the issue for now with lifecycle options https://www.terraform.io/docs/configuration/resources.html#lifecycle-lifecycle-customizations Created attachment 1608691 [details]
Sample install config
Fixed. 4.2.0-0.nightly-2019-09-12-072817 Install cluster success with n2-standard-4 type 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, 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-2019:2922 |
Created attachment 1608690 [details] Install log Description of problem: The installer fails with the following error when trying to create a cluster on GCP using N2 machine type: level=error msg="Error: Changing the machine_type, min_cpu_platform, or service_account on an instance requires stopping it. To acknowledge this, please set allow_stopping_for_update = true in your config." Version-Release number of the following components: root@ip-172-31-66-170: ~/scale-ci-deploy # bin/openshift-install version bin/openshift-install v4.2.0-201908201019-dirty built from commit c2bdbb618c25500e2fa4602c73c506358cc59ae7 release image registry.svc.ci.openshift.org/ocp/release@sha256:d0bc8d66b0ed4d5b4f2da5a1fb93e0589b88c5fcf94763bb8b56b0f022b3f51d Payload: registry.svc.ci.openshift.org/ocp/release:4.2.0-0.nightly-2019-08-20-162755 How reproducible: Always Steps to Reproduce: 1. Set the machine type of Masters and Workers to N2. The zones need to be us-central1-a and us-central1-c as they are only zones which support N2 instances. 2. Install the cluster. Actual results: Error: Changing the machine_type, min_cpu_platform, or service_account on an instance requires stopping it. To acknowledge this, please set allow_stopping_for_update = true in your config. Expected results: Cluster installed successfully. Additional info: Attached the openshift install log.