Tuesday, 2024-12-10

clarkbJayF: I'm not sure what yaml you are referring to00:12
clarkbnodepool builds images with dib using a yaml specification and dib uses yaml to describe disk layouts00:12
clarkbbut there isn't really a yaml specification for dib I don't think00:12
JayFBasically just the list of keys that can go in the top level of a build definition yaml file. We have the disk partitioning portion extensively documented, but not the general usage portion. Or at least I couldn't find it02:58
JayFThose top level keys are all listed by calling diskikage-builder --help02:58
opendevreviewGwen Dawes proposed openstack/diskimage-builder master: Force grub2-install to bypass secureboot complaints.  https://review.opendev.org/c/openstack/diskimage-builder/+/93744209:11
opendevreviewDmitriy Rabotyagov proposed openstack/diskimage-builder master: Add support for DNF5-based systems  https://review.opendev.org/c/openstack/diskimage-builder/+/93433212:41
PetraeaHi folks. Is it just me, or is the OpenEuler 22.03 test suite failing a bunch of stuff? I have a proposed fix to a bug I ran into yesterday, and Zuul's failing over those tests using it.14:36
clarkbits not just you it need to be fixed or turned off but I've been too busy to follow up on it15:10
clarkbthe problem is we flipped our mirror over to 24.xy which removed the 22.03 content. We thought we could fallback to using whatever they default it but it seems that we need an explicit mirror. So the fix would be to point the tests at some explicit location that isn't our mirror or remove the tests / make them non voting until they get updated to 24.xy15:11
clarkbJayF: I didn't realize there was a build definition yaml file15:12
opendevreviewGwen Dawes proposed openstack/diskimage-builder master: Force grub2-install to bypass secureboot complaints.  https://review.opendev.org/c/openstack/diskimage-builder/+/93744215:56
Petraeaclarkb: I hope that's OK, little new to the Gerrit process.15:57
clarkbPetraea: thats perfect15:58
clarkbif you open up the change link just above our messages you'll see the latest push created a second version (patchset 2) on the existing change15:58
clarkbthe top level change captures the logical work as it iterates through review and updating it the way you did is exactly what we want so that we don't lose track of the prior review comments15:58
clarkbI've got a morning full of meetings so unlikely I'll dig into the openeuler testing for a bit but it is on my list. Happy fopr others to poke at it too15:59
PetraeaAha. I'm used to squash-after-review, this squash-before is a little confusing to me! But I'm glad.15:59
clarkbI find it makes it a lot easier to see the context of "what do we actualyl want to change" while also capturing iterative improvements16:01
clarkbwhereas squash after review tends to come with a branch with many commits without any real organization that you have to wade through16:01
JayFclarkb: diskimage-builder devstack-noble.yaml16:04
JayFhttps://www.irccloud.com/pastebin/BIORVKRa/devstack-noble.yaml16:04
JayFthat's what I was wanting to do  (and successfully did)16:04
clarkbfungi: you've been working with the openeuler stuff do you think simply removing the test / making it non voting is a big issue?16:11
clarkbI suspect that is the most straight forward option right now16:12
fungiclarkb: sounds fine to me. honestly my only real involvement was reviewing the change from the openeuler community folks to update the mirror source and then manual sysadmin side steps associated with that. i don't really have any background on their plans with dib testing16:15
fungii can push up a change to remove the job from check and gate for now16:15
fungier, i guess it's just specific tests in a larger job16:16
clarkbfungi: there will be a specific openeuler functional test that should be removed/non voting then also the openeuler test case in the func tests16:18
clarkbI think the functests have a mechanism for treating a failure as non voting too but I'm not positive of that16:18
opendevreviewJeremy Stanley proposed openstack/diskimage-builder master: Temporarily disable OpenEuler functional testing  https://review.opendev.org/c/openstack/diskimage-builder/+/93746616:22
clarkboh we don't have a build image and boot it job for openeuler just the functests16:26
clarkbI've approved ^ so that we can recheck a few of the outstanding changes out there and then hopefully do a release soon16:26
JayFclarkb: https://jay.jvf.cc/posts/diskimage-builder-yaml/ I wrote it up, since I figured if you weren't aware probably a lot of people aren't. I'll put it on my "eventually" list to add it to actual-docs, but that takes thinking about how to design it :)16:38
clarkbI suspect it was added and because I never use it just never registered it was possible16:39
clarkbit is nice how descriptive that ends up ebing for your image build though16:39
JayFI believe you can add more list entires in the same yaml16:39
JayFand build more images 16:40
JayFwhich means you could take full advatantage of yaml templating16:40
PetraeaOn that note, Zuul seems to be failing out on the ARM64 pipeline too. Is that one new? It looks separate from the main chain.16:53
clarkbthat looks like a case of debootstrap is too old to know how to build noble on bookworm for the deb job. I feel like we fixed something similar with a symlink to another release maybe?16:56
clarkbhttps://opendev.org/zuul/nodepool/commit/5ff7dd8289e0171d627f9f6e4b27c51df21671d8 this is what I was thinking of. How does it work for x86 in dib though16:58
clarkbthe rpm arm job is failing on openeuler too16:59
clarkbthose jobs don't vote already so we can fix them separately though16:59
JayFhttps://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/base/install.d/00-baseline-environment#L11 is there a reason we install iscsi on *everything*?18:50
JayFthis install happening before the reboot is causing breakages on ubuntu-noble (basically, it needs to upgrade the kernel before apt installs start working, for reasons I can't fully grok yet)18:51
JayFbut it seems weird generally to have a hard requirement on iscsi utils18:51
JayF>  linux-image-6.8.0-50-generic : Depends: linux-modules-6.8.0-50-generic but it is not installable 18:52
JayFbah, even the update is busted :( 18:52
JayFthis is literally what was working yesterday18:52
JayFyeah I think ubuntu might just be busted or something?18:54
clarkbwell we build ubuntu noble happily and I'm pretty sure our images use the base element and that package intall has probably been there for 12 years so I'm guessing ti isn't iscsi at fault18:55
clarkbas for why you install iscsi I suspect it is an artifact from when dib was born in tripleo and they were booting baremetal and wanting to mount volumes18:56
JayFhave you tried running that build **today**18:57
clarkbI dunno I'd have to go look at the logs18:57
JayFI think there's an issue in the ubuntu base image and/or their repos causing fresh breakage today18:57
JayFif someone else could verify the failure it'd at least justify me going deeper into this hole18:57
clarkbso two things we build using ubuntu-minimal not ubuntu specifically bceause the published uimages have not always been great starting points. And we point our ubuntu builds at our own package mirrors which only update if reprepro can validate them which helps prevent package repo problems18:58
clarkbbut the changes in scrollback do ubuntu buidls (of noble too I think) so you could check them. But also the logs on https://nb01.opendev.org and https://nb02.opendev.org18:58
JayFI can reproduce this in both ubunutu | ubuntu-minimal18:58
JayF#ubuntu on libera is suggesting it might be an upstream issue w/their repos18:58
JayFyeah, they're confirming basically the linux-modules package wasn't uploaded for the linux pacakge they uploaded18:59
clarkbhttps://nb02.opendev.org/ubuntu-noble-dc76d3cba27749308d3d693c957998d9.log is our most recent build19:00
clarkbit was successful possibly because we use reprepro to avoid super broken repos19:00
JayFI suspect so, yes19:02
JayFin the meantime, if anyone hits this issue as well: DIB_UBUNTU_MIRROR_DISTS: updates,security,backports,proposed is a workaround19:08
JayF(enabling proposed)19:08
JayFthis only works on ubuntu-minimal, there's no workaround to enable proposed on the cloud-image based build19:09
JayFLooking through DIB review backlog:22:46
JayFhttps://review.opendev.org/c/openstack/diskimage-builder/+/936209 fairly simple change (updating default ubuntu version to noble) 22:46
JayFhttps://review.opendev.org/c/openstack/diskimage-builder/+/936206 (2x+2 just needs approval, another minor fix)22:46
JayFI have another one for DIB with review feedback I'll be updating shortly.22:47
clarkbmy focus is going to be on getting the ci jobs working before anything else22:48
clarkbany idea if noble package repos are happy again?22:48
JayFI can run a quick local test :)22:49
JayFit fails in all of a minute when it's in the bad state22:49
clarkboh thats conveniently quick22:50
JayFyeah, looks like it's OK, it's gotten past the point it was failing before22:51
JayFhonestly the build is pretty fast in general22:51
clarkbya dib caches a lot of stuff too22:51
clarkbI'll reapprove fungi's test fix22:52
fungimuch obliged22:52
JayFnow I'm going to go poke my third dib PR, which had feedback I had to respond to :)22:53
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Stop using deprecated pkg_resources API  https://review.opendev.org/c/openstack/diskimage-builder/+/90769123:09

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