Thursday, 2024-07-18

opendevreviewWill Szumski proposed openstack/diskimage-builder master: Remove vm element from rocky-container image  https://review.opendev.org/c/openstack/diskimage-builder/+/92442116:03
opendevreviewWill Szumski proposed openstack/diskimage-builder master: Upgrade curl-minimal for RHEL based images built from containers  https://review.opendev.org/c/openstack/diskimage-builder/+/92442416:28
clarkbTheJulia: can you think of any reason https://review.opendev.org/c/openstack/diskimage-builder/+/923815 might be problematic? I think on the opendev and zuul side of things its fine, but I didn't want to single core approve it (that is why the -2 is there I accidentally approved it and then removed my +A causing the failure to merge and a -2)17:14
JayFlooking17:15
JayF+2, not who you asked for but hopefully that's what you wanted :)17:16
clarkbya mostly just a sanity check that installing podman won't create unwanted side effects17:17
clarkbI mean we're already installing a bunch of package manager systems and qemu image tooling, but container runtimes can sometimes be a bit more invasive17:18
TheJuliaI think it is likely fine17:18
clarkbthough I think podman is a bit less so than say docker17:18
TheJuliathe exclusions on that list are slightly alarming but it makes sense17:18
clarkbTheJulia: JayF yall may know the answer to my question in https://review.opendev.org/c/openstack/diskimage-builder/+/924421 too17:33
JayFI really don't know, I don't use DIB much except for VM-specific images or baremetal ramdisks. Most places I've been that use openstack got their images separately17:34
TheJuliaso... hmmm17:36
TheJuliawell, VM is a horribly named element17:36
clarkbyes no argument there17:36
TheJuliaand it just extracts the kernel/ramdisk for partition image usage17:36
TheJuliabaremetal *just* does some cleanup and invokes bootloader17:36
clarkbbaremetal does ^ yup. I really don't think teh two elements are at odds with each other17:36
TheJuliaso removal of vm seems logical17:37
TheJuliaIPA has it's own extraction stuffs if memory serves17:37
clarkbright removing vm is fine as its over prescriptive. My concern is that if we land that commit as is it tells everyone they can't use the two elements to gether but as far as I can tell you can17:37
clarkband there really isn't any harm to doing so17:37
TheJuliayeah, they really are not, but we should really stamp out the VM element anyhow17:37
clarkbuh no17:37
clarkbthe vm element is important for other use cases17:37
clarkbwe might want to rename it17:38
clarkbor alias it or something that doesn't brea kthe world17:38
clarkbthe disk partitioning is important for being bootable in clouds iirc17:38
clarkb*in some clouds. In others you may upload fs and kernel separately17:38
TheJuliaummmmmm17:38
TheJuliathat is not the purpose behind vm17:39
TheJuliai mean, removal overall, will break folks17:39
TheJuliaoh17:39
clarkbthe readme says Sets up a partitioned disk (rather than building just one filesystem with no partition table).17:39
TheJuliaso vm now just removes udev links17:39
TheJuliaand calls block-device and bootloader17:40
clarkboh indeed17:40
TheJuliawhat a mess17:40
clarkboh right block-device is what creates the partition table17:40
TheJuliayeah17:40
clarkbyou get a heuristic setup by default but you can pipe in your own map17:40
TheJulia... so...17:40
TheJuliaugh17:40
clarkbbut there shouldn't be anything that prevents you from using both the baremetal and vm elements together17:41
TheJuliaoverall, it is the one filesystem/partition image case which is kind of disappearing17:41
clarkbif you do you'll get a complete disk image with partition table as well as the kernel artifacts17:41
clarkbno it isn't....17:41
clarkbthe vast majority of lcouds that we work with continue to boot thay awy17:41
clarkbuefi support has been very slow uptake17:41
TheJuliafor VMs it has17:42
TheJuliaif you have a bootable image overall, with proper EFI setup, the kernel/initrd artifact is useless17:42
clarkbyes, but that is the baremtal element17:42
clarkbanyway thats all orthogonal. I just don't want to encode that baremetal and vm elements are not compatibile with one another. They are as far as I can tell.17:42
TheJuliayeah, the baremetal element is what I was thinking17:43
TheJuliathat one can be tossed, as far as I'm concerned, in the recycling bin17:43
TheJuliabit recycling bin at that17:43
clarkbheh17:43
TheJuliamaybe rename "partition_image"17:43
TheJuliayeah, they are afaik compatible17:43
clarkbok so maybe the fixup in that change should be to rewrite teh commit message to something like "Remove the vm element from rocky as some users may want a raw filesystem image instead of a complete image"17:44
TheJuliajust baremetal shouldn't really be used17:44
TheJuliaAt least, in modern scenarios17:44
clarkbthen separately we can think about aliasing/renaming vm to something like "partition_image"17:44
TheJuliaclarkb: I think that is likely the right path, getting at the root context of the change17:44
clarkbthanks I'll respond to myself and ask for that more specific update and call out the idea for improvement to the naming scheme17:46
TheJulia++17:46
TheJuliaSorry for the confusion17:46
clarkbI don't think you're to blame for that. The confusion started a decade ago with some unfortunate naming ;)17:49
TheJuliaOh, the person who named it orinally has already admitted blame :)17:49
clarkbNeilHanlon: do you have a quick moment to look at https://review.opendev.org/c/openstack/diskimage-builder/+/924424 ? I'm not sure I understand all the nuance there and I seem to recall you dealt with something similar at one time. Otherwise teh change looks fine just want to amke sure there isn't some sublte behavior I'm missing18:08
opendevreviewMerged openstack/diskimage-builder master: Fix regexp for Fedora element SUBRELEASE parsing  https://review.opendev.org/c/openstack/diskimage-builder/+/92210319:12
opendevreviewMerged openstack/diskimage-builder master: Add podman to bindep  https://review.opendev.org/c/openstack/diskimage-builder/+/92381519:31

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!