-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.21.0
Description:
[GCP] installing with m3 machine types failed with error like 'failed to create install config: [controlPlane.platform.gcp.type: Not found: "m3"'
Version:
openshift-v4.21.0-rc.2-candidate
How reproducible:
100%
Regression:
No
Steps:
1. prepare cluster yaml for installation
$ cat simple_cluster.yaml
{
"kind": "Cluster",
"ccs": {
"kind": "CCS",
"enabled": true
},
"fips": false,
"gcp": {
"authentication": {
"id": "2epknop583vsvciv2fs2sv75q0vb4dke",
"kind": "WifConfig"
}
},
"billing_model": "standard",
"cloud_provider": {
"kind": "CloudProvider",
"id": "gcp"
},
"etcd_encryption": false,
"flavour": {
"kind": "Flavour",
"id": "osd-4"
},
"multi_az": false,
"name": "yisun-test-m3-megamem-64",
"nodes": {
"compute": 2,
"compute_machine_type": {
"kind": "MachineType",
"id": "m3-megamem-64"
}
},
"region": {
"kind": "CloudRegion",
"id": "us-central1"
},
"version": {
"kind": "Version",
"id": "openshift-v4.21.0-rc.2-candidate",
"channel_group": "candidate"
}
}
2. create the cluster
$ ocm post /api/clusters_mgmt/v1/clusters --body=./simple_cluster.yaml
3. it'll enter ERROR status soon
$ ocm describe cluster 2o2c86qlm6hvq7ui1sdbr4n14hqpu076 ID: 2o2c86qlm6hvq7ui1sdbr4n14hqpu076 External ID: Name: yisun-test-m3-megamem-64 Domain Prefix: f5z9a6h4l2f1t7t Display Name: yisun-test-m3-megamem-64 State: error Details: FallbackInvalidInstallConfig
4. check the cluster's install log, it has:
$ ocm get /api/clusters_mgmt/v1/clusters/2o2c86qlm6hvq7ui1sdbr4n14hqpu076/logs/install ... "Install Config\\\": failed to create install config: compute[0].platform.gcp.type: Not found: \\\"m3\\\"\"\ntime=\"2026-01-26T07:06:13Z\"
5. other m3 node types will have same error:
m3-megamem-128
m3-ultramem-32
m3-ultramem-64
m3-ultramem-128
expected result:
- m3 is a valid machine type and can be used in region = us-central1, we should support it.
- Or, If m3 is not supported, we should have a pre-flight check to return error before the installation process.
Actual result:
Cluster enter error status.