Tuesday, 2021-07-27

opendevreviewSteve Baker proposed openstack/diskimage-builder master: Depend on dib-python to set DIB_PYTHON_VERSION  https://review.opendev.org/c/openstack/diskimage-builder/+/80240800:03
*** rpittau|afk is now known as rpittau07:29
*** rpittau is now known as rpittau|afk16:40
JayFHey, curious if you all think you'd take a patch here https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/yum-minimal/root.d/08-yum-chroot#L74 to allow me to specify more bootstrap packages for the chroot17:37
JayFtrying to get this working with a downstream reskin distro, which has more `*-release` files I have to install17:38
JayFI JFDI'd a patch. Will look for feedback on it :)17:47
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Permit specification of extra bootstrap packages  https://review.opendev.org/c/openstack/diskimage-builder/+/80259217:47
JayFhttps://zuul.opendev.org/t/openstack/build/476a5f5f04ab42ffaf929f0aeab40fd0 I've dug through the failure here, and I can't find the actual failure output anywhere; what am I missing?20:09
ianwJayF: in that case, the nodepool is failing to build a centos-7 image20:20
ianwhttps://zuul.opendev.org/t/openstack/build/476a5f5f04ab42ffaf929f0aeab40fd0/log/nodepool/builds/ are the attempts to build20:20
ianwhttps://zuul.opendev.org/t/openstack/build/476a5f5f04ab42ffaf929f0aeab40fd0/log/nodepool/builds/test-image-0000000004.log#313 appears to be the cause20:20
ianw2021-07-27 18:45:24.333 | /opt/dib/tmp/dib_build.M8wXyJz9/hooks/root.d/08-yum-chroot: line 74: DIB_YUM_MINIMAL_BOOTSTRAP_PACKAGES: unbound variable20:20
JayFthat's exactly the file I'm looking for; thank you20:21
JayFHow did I miss that, I thought I opened every file :| 20:21
JayFthanks20:21
ianwyeah, unfortunately it doesn't give you a big red arrow pointing to the failure.  all you see is our polling of "is the image built and booted" timing out in the main logs20:22
JayFyeah; I figured out nodepool was doing the work but just must have overlooked those files somehow20:23
JayFI'll get that variable happy so DIB is happy with it unset, thanks for the pointer20:24
ianwyeah, just a DIB_YUM_MINIMAL_BOOTSTRAP_PACKAGES:- usually does it20:27
JayFyou OK with the change in concept?20:28
JayFTrying to not have to fork yum-minimal just to support a downstream rhel/centos skin :20:28
JayF:|20:28
ianwi can see that installing things at this stage might be required for that20:29
ianwonly thing i'd say is that we've already moved to containerfile for fedora, and it would be my strong preference to continue in that direction20:30
ianwi don't see yum-minimal having too much more life, since it relies heavily on alien rpm which always feels like it's on thin ic3e20:31
ianwice20:31
ianw(the ice actually breaking when fedora 34 introduced a new compression format for rpms)20:32
JayFI don't know what `containerfile` is20:41
JayFbut I'm extremely skeptical there's going to be a move that will work as well for IPA ramdisks :)20:41
JayFthe -minimal part matters greatly, and since I'm consuming the IPA elements and they expect a -minimal base, I'm going to keep down my path for now20:42
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Permit specification of extra bootstrap packages  https://review.opendev.org/c/openstack/diskimage-builder/+/80259220:47
ianwah; yeah basically we're using upstream docker images as the initial chroot, rather than building our own20:48
JayFThat sounds suspiciously similar to how we used to do IPA builds -- we'd make a chroot using docker tooling (with an  export to tgz at the end) and then chroot into that from a CoreOS ramdisk20:49
JayFI approve, that's GREAT tooling to use for that. 20:49
ianwyeah, i mean it's sort of where dib started; by being a framework to modify upstream .iso.  but that was a constant headache as distros would constantly add or remove things because they weren't really meant to be consumed for modification20:52
JayFhttps://github.com/openstack/ironic-python-agent/blob/stable/pike/Dockerfile if you go back far enough we still have a dockerfile :D 20:52
ianwbut with containers it's a different mindset; these are things meant to be built upon20:52
JayFthat proxy.sh stuff might be something DIB would be interested in, basically adding support for socks proxies to docker building20:52
JayFwe had a lot of trouble with that in IPA upstream back then, because intel contributors couldn't build 'em until we got the proxy working20:53
ianwyeah, i mean you can do a lot of what dib elements do in a Dockerfile20:53
ianwexcept instead of having a script that runs and can be edited, you're munging a multi-line string in the Dockerfile20:54
JayFyeah; I don't mind docker as a base for stuff like this at all, it'll just be painful when we go to migrate IPA I'm sure20:55
JayFin the meantime, I'll keep getting my $employer-rhel working :D 20:55
ianwin terms of what dib outputs, it looks the same20:56
JayFhttps://review.opendev.org/c/openstack/diskimage-builder/+/802592 is passing CI now, ty for the help22:23

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