Thursday, 2022-02-10

stevebaker[m]ianw: hey what do you think of this suggestion? https://review.opendev.org/c/openstack/diskimage-builder/+/826976/3/diskimage_builder/elements/bootloader/finalise.d/50-bootloader#16000:52
ianwstevebaker[m]: tbh i'm not sure that doesn't make a more complex path even more complex ... i know clarkb also had some trouble getting his head around it so i think we just need a path that if someone is reading top-to-bottom they can understand roughly what's going on where01:06
ianwif we have a bootloader-element, i feel like it could do what it needs to do in that if statement, then later just do01:06
ianwif [[bootloader-stevebaker]]; then # <insert comment here> exit 0; fi01:07
ianwfor mine, that is clear enough, and people aren't like to break things by moving things around on it, etc.01:08
ianwi think i've tried about 3 times to clean the old grub paths in that file, that would help too01:08
stevebaker[m]ianw: so to clarify the problem, overcloud-full is a partition image, so it depends on the grub2 element. Due to bad centos9 grub config defaults (and a need for correct config in general), overcloud-full needs to have its grub config regenerated as for 50-bootloader#160 onwards. Can you describe what change could allow this?01:12
ianwwhat's the bit it *doesn't* need to do then?01:13
stevebaker[m]any kind of grub-install, because in a partition image there is no device to install to01:15
ianwis there a reason why we can't shuffle the grub-install after all the config-file editing we do?01:16
ianwthat's probably what you're getting at with a separate element.  but maybe we can just exit 0 before doing that?01:17
stevebaker[m]yeah, just move the grub-install to the end, exit out first if there is nothing to install to?01:18
ianwyep01:25
ianwif we could do it in three steps of 01:25
ianw1) removing the old grub paths01:25
ianw2) moving it to the end01:25
ianw3) adding on the early exit01:25
ianwthat seems ideal and a good way to not introduce more than one problem in a change :)01:25
stevebaker[m]ok, I'll have a crack. Meanwhile I did this https://review.opendev.org/c/openstack/diskimage-builder/+/82861701:31
stevebaker[m]ianw: oh, what is 1) the old grub paths?01:31
ianwi feel like there's still old grub1 paths in there?01:32
ianwhttps://review.opendev.org/c/openstack/diskimage-builder/+/79087801:32
ianwtype thing01:32
stevebaker[m]ianw: that change looks good as it is, can you rebase it so I can review it?01:37
ianwyeah i think things just kept moving around on it.  i'll rebase it today 01:40
stevebaker[m]ok thanks01:43
opendevreviewSteve Baker proposed openstack/diskimage-builder master: Replace kpartx with qemu-nbd in extract-image  https://review.opendev.org/c/openstack/diskimage-builder/+/82861702:25
opendevreviewIan Wienand proposed openstack/diskimage-builder master: Futher bootloader cleanups  https://review.opendev.org/c/openstack/diskimage-builder/+/79087803:09
ianwstevebaker[m] : i *think* i merged that right, but wants a careful eye03:10
* stevebaker[m] looks03:10
stevebaker[m]ianw: just one bit missing I think03:15
ianwstevebaker[m]: hrm, does anything use /boot/grub (! /boot/grub2)03:21
stevebaker[m]I have assumed some grub2 distros use /boot/grub as their path, but I'm not sure which right now. One of the quirks of everyone having their own fork03:22
stevebaker[m]I can follow up on that tomorrow, I'm about to disappear03:23
ianwstevebaker[m]: np.  it came  in with -> https://review.opendev.org/c/openstack/diskimage-builder/+/81486603:23
ianwprometheanfire: ^ is /boot/grub still true?03:23
ianwi'll put it back for now03:23
prometheanfireiirc, yes, let me see...03:26
prometheanfirehttps://wiki.gentoo.org/wiki/GRUB2#Main_configuration_file has some paths, including /boot/grub03:27
ianwok, thanks03:35
stevebaker[m]Something to follow up later, but I don't think bootloader ppc64 is tested and ppc IBM jobs broke on centos-8 functest removal03:52
opendevreviewIan Wienand proposed openstack/diskimage-builder master: Futher bootloader cleanups  https://review.opendev.org/c/openstack/diskimage-builder/+/79087804:09
ianwyeah we spent quite a while with tonyb working on that, but i think it's time has passed04:14
ianw2022-02-10 04:16:17.921800 | centos-8 |   "msg": "The centos-8 node type is no longer supported.  You need to switch this job to use a centos-8-stream node type."04:16
ianwthat's mmore like it04:16
rpittaustevebaker[m], TheJulia, ianw, please have a look at https://review.opendev.org/c/openstack/diskimage-builder/+/828266 when you got a minute, that will fix dhcp-all-interfaces for systemd with netifs predictable names scheme only, thanks!10:32
*** priteau_ is now known as priteau16:11
*** priteau is now known as priteau_16:48
*** priteau_ is now known as priteau16:48
opendevreviewMerged openstack/diskimage-builder master: Futher bootloader cleanups  https://review.opendev.org/c/openstack/diskimage-builder/+/79087821:02
*** prometheanfire is now known as Guest223:49

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