Skip to content

fix: filter ARM64 images from boot disk selection#109

Closed
aditsharma55 wants to merge 9 commits intomainfrom
BREV-8794/add-ubuntu24-image-families
Closed

fix: filter ARM64 images from boot disk selection#109
aditsharma55 wants to merge 9 commits intomainfrom
BREV-8794/add-ubuntu24-image-families

Conversation

@aditsharma55
Copy link
Copy Markdown
Contributor

Summary:

  • Filters out ARM64 images from boot disk selection to prevent BootDisk CPU architecture "arm64" should match platform "amd64" errors on Nebius instance creation
  • Nebius recently added ARM64 images to their public catalog; when getWorkingPublicImageID lists all images, an ARM64 image could be selected before an AMD64 one depending on API listing order
  • Adds ubuntu24.04-cuda13.0 and ubuntu24.04-cuda12 to knownFamilies.
  • Updates commonFamilies with new Ubuntu 24.04 image families (ubuntu24.04-cuda13.0, ubuntu24.04-cuda12, ubuntu24.04-driverless).

Changes
instance.go — buildDiskCreateRequest(), getWorkingPublicImageID(), resolveImageFamily()

  • Added ubuntu24.04-cuda13.0, ubuntu24.04-cuda12 to knownFamilies list.
  • Added ARM64 architecture check after GetLatestByFamily call — if an unknown family resolves to an ARM64 image (compute.ImageSpec_ARM64), falls through to the filtered getWorkingPublicImageID instead of using it directly.
  • Added ARM64 filter in getWorkingPublicImageID loop — skips images where image.Spec.GetCpuArchitecture() == compute.ImageSpec_ARM64, ensuring only AMD64-compatible images are selected for boot disks.
  • Added ubuntu24.04-cuda13.0, ubuntu24.04-cuda12, ubuntu24.04-driverless to commonFamilies list.

@aditsharma55 aditsharma55 requested a review from a team as a code owner April 16, 2026 21:07
@abhtripathi abhtripathi marked this pull request as draft April 17, 2026 08:08
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.

4 participants