| mnasiadka | JonathanWright[m]: tried to find the x86-64-v2 packages - and it seems you guys build it only for Kitten? (https://wiki.almalinux.org/development/almalinux-os-kitten-10.html#how-is-almalinux-os-kitten-different-from-centos-stream) | 15:31 |
|---|---|---|
| sean-k-mooney | im not that famialr but i suspect that alma 9 was excluivle built for x86-64-v2 | 17:02 |
| sean-k-mooney | mnasiadka: were you hoping to use them for a diffent disto/release? | 17:03 |
| mnasiadka | sean-k-mooney: no, Kitten seems to be Alma’s ,,Stream’’ - that’s why I’m asking | 17:05 |
| sean-k-mooney | so it was there beta before the 10 stabel release | 17:05 |
| sean-k-mooney | and i guess there integration line | 17:06 |
| sean-k-mooney | https://repo.almalinux.org/almalinux/10/cloud/x86_64_v2/images/AlmaLinux-10-GenericCloud-10.0-20250528.0.x86_64_v2.qcow2 | 17:07 |
| sean-k-mooney | is the cloud ima g i currently use but i tought that was the stable relase not kitten | 17:07 |
| sean-k-mooney | but i have not really looked at it closly | 17:07 |
| mnasiadka | Might be I’m blind and we only need to use some v2 repos in container that we use in DIB - but there’s no easily findable documentation | 17:08 |
| sean-k-mooney | https://repo.almalinux.org/almalinux/10/BaseOS/x86_64_v2/os/Packages/ | 17:09 |
| sean-k-mooney | they have teh rpms there too | 17:09 |
| sean-k-mooney | mnasiadka: its possibel thy do not have a v2 container base image | 17:09 |
| sean-k-mooney | mnasiadka: although they shoudl https://github.com/AlmaLinux/container-images/blob/2f239bc800a366ea4dc42378905c237ae6e4e03a/default/amd64_v2/Dockerfile | 17:10 |
| sean-k-mooney | maybe you need to use a differnt tag | 17:10 |
| sean-k-mooney | my best guess is that the image exists but the automation to tage it does not | 17:15 |
| JonathanWright[m] | There are x86_64_v2 builds for 10 and kitten 10. 9 was only pinned to v2 (not v3) so it doesn't need special builds there. | 17:23 |
| JonathanWright[m] | We do have a v2 base image but it's tricky to find because dockerhub and quay aren't really built to deal with different ISAs of a common architecture. | 17:24 |
| sean-k-mooney | JonathanWright[m]: i think the issue is its not clear if the v2 iamges are built and pushed to https://hub.docker.com/_/almalinux/tags | 17:24 |
| JonathanWright[m] | They are, and there's a way to pull it. Let me find the command. | 17:24 |
| JonathanWright[m] | Correct, v2 only exists on quay because docker hub doesn't support variations of a common base ISA. | 17:25 |
| sean-k-mooney | ah | 17:25 |
| JonathanWright[m] | docker run -it --rm --platform linux/amd64/v2 quay.io/almalinuxorg/almalinux:10 /bin/bash | 17:25 |
| JonathanWright[m] | note the extra /v2 on the end of platform | 17:25 |
| JonathanWright[m] | s/Correct/Correction/ | 17:26 |
| mnasiadka | Ok, that might require some quirks in diskimage-builder, but at least I know the path | 17:27 |
| sean-k-mooney | JonathanWright[m]: the other way around that although proably less correct is to add -v2 to the tag | 17:28 |
| sean-k-mooney | plathform is proably more correct | 17:28 |
| JonathanWright[m] | I think that might be a workaround for dockerhub, yeah | 17:28 |
| JonathanWright[m] | But we've just pushed people to quay for it | 17:29 |
| sean-k-mooney | so that is also why there are 2 amd64 variants right https://quay.io/repository/almalinuxorg/10-base?tab=tags | 17:29 |
| JonathanWright[m] | I don't see two variants? | 17:30 |
| JonathanWright[m] | do you mean 10.0 and 10 ? | 17:30 |
| sean-k-mooney | i mean for any given tag https://quay.io/repository/almalinuxorg/10-base/manifest/sha256:926e495c38418bcac4500f67c91def1b6062cd5e7a7f48be77327abfd8f45528 | 17:31 |
| sean-k-mooney | are are 2 entires for amd64 and 1 for the other architectures | 17:31 |
| JonathanWright[m] | oh yes most likely. quay.io isn't playing nice for me right now so I can't see the GUI (link you sent is busted on my end) | 17:31 |
| sean-k-mooney | i was tryign to see if for any given tag the gui actully would let you know which to use | 17:32 |
| JonathanWright[m] | ok got it to work in a private tab, go figure. yes. | 17:32 |
| JonathanWright[m] | This goes back to quay...kinda sorta supporting it. Behind the scenes it does, but the GUI doesn't differentiate the two unfortunately | 17:32 |
| JonathanWright[m] | I think it will always pull the v3/default build unless you specify v2 | 17:33 |
| sean-k-mooney | ya it proably woudl be vhisable in the image metadata and or via the cli/api | 17:33 |
| sean-k-mooney | i guess maybe one suggestion | 17:34 |
| fungi | i'm not all that active in reviewing dib changes, but if it needs adjustments to support pulling container images from quay then i'm happy to review the changes enabling that | 17:34 |
| sean-k-mooney | it might be good to add an exampel fo --platform linux/amd64/v2 somewhere discoverable | 17:34 |
| sean-k-mooney | perhaps in the description of the image on quay.io | 17:34 |
| JonathanWright[m] | I totally agree. at first we weren't even planning on container images for v2...but demand has been overwhelming (similar story for cloud images). We need to increase documentation around it | 17:35 |
| sean-k-mooney | mnasiadka: if you dont make progress on the contienr based approch you could try the older cloud image approch. the centos elemnt still use that https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/centos/root.d/10-centos-cloud-image | 17:37 |
| sean-k-mooney | you could proably jsut overied the varibale and point it at the v2 alma image to get something working | 17:38 |
| sean-k-mooney | although i woudl not use that element direclty because it will messs up the repo config ecta | 17:38 |
| sean-k-mooney | but the root.d part likley could be used in a new alma elemnt | 17:39 |
| sean-k-mooney | oh never mind you alrady have one for 9 https://github.com/openstack/diskimage-builder/tree/master/diskimage_builder/elements/almalinux-container | 17:39 |
| sean-k-mooney | mnasiadka: https://docs.docker.com/build/building/multi-platform/#cross-compilation look like you can add the platform line in the from statement | 17:41 |
| mnasiadka | Yes, only the containerfile element needs platform passing support and we should be good | 17:41 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!