#438 GCE images with same family but different arch
Closed: fixed 2 months ago by jcline. Opened 2 months ago by ajorg.

The aarch64 and x86-64 images both use the same image family name.

$ gcloud compute images list --no-standard-images --project fedora-cloud --filter family~^fedora-cloud-42$
NAME                         PROJECT       FAMILY           DEPRECATED  STATUS
fedora-cloud-42-1-1-aarch64  fedora-cloud  fedora-cloud-42              READY
fedora-cloud-42-1-1-x86-64   fedora-cloud  fedora-cloud-42              READY

It would be awesome if that worked the way you'd hope, but it doesn't. Instead GCE will pick the one that was registered last, and that will be incompatible with whatever architecture it isn't.

Can I ask that new images use suffixes in their family names, and that existing family names be deprecated?


For FCOS we have:

  • fedora-coreos-stable
  • fedora-coreos-stable-arm64

image families which was what was recommended to me by Zach Marano at the time.

If I could have gone back to the beginning I would have had the arch on the x86_64 one by default too.

Okay, I deployed the fix yesterday so this morning there's a whole fresh set of images under fedora-cloud-{40,41,42,rawhide}-{x86-64,aarch64} and I've deprecated the old images (the Rawhide images I just deleted as they're frequently garbage-collected anyway).

If anything else looks weird/incorrect with the images do let us know, and thanks!

Metadata Update from @jcline:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 months ago

Log in to comment on this ticket.

Metadata