Skip to content

Conversation

@chucklever
Copy link
Contributor

GCE fourth-generation machine families (C4, C4A, N4) require Hyperdisk for boot disks; they do not support Persistent Disk types like pd-balanced. The current Kconfig.machine.default incorrectly defaults to pd-balanced for all machine families, causing VM creation to fail for C4 and C4A instances.

Each series in SERIES_METADATA now includes a boot_disk_type property specifying the correct disk type for that machine family. The machine_type.j2 template generates TERRAFORM_GCE_IMAGE_TYPE with the appropriate value, ensuring generated Kconfig files contain correct settings.

The Kconfig.machine.default file updates C4_HIGHCPU, C4_STANDARD, C4A_HIGHCPU, C4A_HIGHMEM, and C4A_STANDARD to use hyperdisk-balanced. Older machine series retain pd-balanced since they support Persistent Disk.

GCE fourth-generation machine families (C4, C4A, N4) require Hyperdisk
for boot disks; they do not support Persistent Disk types like
pd-balanced. The current Kconfig.machine.default incorrectly defaults
to pd-balanced for all machine families, causing VM creation to fail
for C4 and C4A instances.

Each series in SERIES_METADATA now includes a boot_disk_type property
specifying the correct disk type for that machine family. The
machine_type.j2 template generates TERRAFORM_GCE_IMAGE_TYPE with the
appropriate value, ensuring generated Kconfig files contain correct
settings.

The Kconfig.machine.default file updates C4_HIGHCPU, C4_STANDARD,
C4A_HIGHCPU, C4A_HIGHMEM, and C4A_STANDARD to use hyperdisk-balanced.
Older machine series retain pd-balanced since they support Persistent
Disk.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <cel@kernel.org>
@chucklever chucklever merged commit 3467175 into main Jan 1, 2026
20 of 22 checks passed
@chucklever chucklever deleted the cel/gce-fixes branch January 1, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants