Monday, 2025-02-17

clarkbmnasiadka: I still have reservations and as I said I won't repvent it from merging. Basically I'm not going to state my reservations (which I've done) but I won't -2 it.16:00
clarkbthat means I won't approve it either16:00
clarkbbasically if others feel strongly enough about it to proceed then great but I won't be in that group16:00
clarkbMy stance is that we've had this default for liek a decade. If those defaults don't work for some reason you are more than welcome to override them.16:01
clarkbbut if we suddenly feel these defaults are inapproprite then cool I'm happy to be the lone person who thinks otherwise16:01
mnasiadkaclarkb: we default to hidden from Sep 2023 - https://review.opendev.org/c/openstack/diskimage-builder/+/895486 - so far from a decade16:05
clarkbthe timeout is the one I acre about16:05
mnasiadkaHmm, seems we changed from 5 seconds to 1 in https://review.opendev.org/c/openstack/diskimage-builder/+/92545116:08
clarkbbut that also indicates there was some other default? Maybe we only thought it was that way and it never was?16:08
mnasiadkaI have no clue, we could better document that we recommend 0/1 for VM images and somewhere around 5 for bare metals (so you can press that damn button on time) - we could also compromise on something like 3 seconds if that makes any difference for you16:10
clarkboh based on the comments in taht change some images override the value16:10
JayFclarkb: mnasiadka: commented; i'm similar to clark as I won't block it but I'm not sure we should have that churn16:11
JayF(I do, however, <3 the append_or_replace helper)16:12
clarkbJayF: oh I kinda wish I -2'd that change particularly now16:12
clarkbthe old code was never wrong16:13
JayFI mean, you have two cores who are like, half-uneasy, does that add up ot a full -1/2? lol16:13
clarkbthe reason for the append or replace helper was apparently red hat customers found bash env files to be confusing16:13
JayFI just know from working at Rackspace that if all the sudden some of our VM images had a new 5 second wait, we'd be certain to get support tickets about it.16:13
clarkband unfrotauntely we've shifted the confusion to dib maintainers16:13
JayFand that'd be not just at provision time but every reboot16:14
JayFfor many VMs, that'd be literally more than doubling the amount of time to be able to log back in from a nova reboot16:14
clarkbya thats why I'm uneasy about it. I think cases where you have to debug grub are rare and in those cases you're likely deep in the trenches editing images anyway16:15
JayFMine is much more basic than that16:15
clarkbre hidden -> menu you just hit <esc> and the menu shows up16:15
clarkbso I think that change is fairly inconsequential either way16:15
JayFif the situation was flipped, and we currently had the proposed defaults in tree and vice-versa, I'd still be -116:15
clarkbya though apparently this default was not set in the base bootloader element until very recently16:16
JayFthey are just optimizing for different use cases, and many folks who thought the were done worrying about image building will get behavior changes16:16
clarkbbut overriding it elsewhere was common16:16
clarkbwas is common16:16
* JayF wonders if there's a deeper requirement there that isn't being well-communicated16:16
clarkbmnasiadka: there is something weird about this file if you run git log -p against it then search for DIB_GRUB_TIMEOUT. I don't see a commit ever adding it for the first time16:21
clarkbit first shows up in the context around a diff but not in a diff itself16:21
clarkb61087d33e9ef67f05ef4a3b0dfc90ab521604292 seems to add it if I look at repo wide diffs. Maybe there was a file rename16:22
clarkboh ya I think this got lost as part of the elements/ -> diskimage_builder/elements move16:22
clarkb"lost" git still sees it on both sides but doesn't map them together for me for some reason16:22
clarkband ya that confirms the original value was 5 seconds. Overrides would've happend elsewhere not in this base element so the change in 2024 was a potential regression16:23
clarkbok I'm less concerned about the timeout now that I've traced this all the way back16:25
JayFokay cool16:25
JayFcan you post a comment in there with ^^ this info16:25
JayFI will likely +2 at that point, given my argument was "status quo prevents churn", this means we churned accidentally and want to unchurn :D 16:26
clarkbya I'm trying to sort out the hidden change next16:26
clarkbmnasiadka: JayF  I posted a comment with a -1 because I found a bug in the docs update16:35
clarkbI'm willing to fix that myself and push a new patch if we want to turn this around more quickly. Happy to review someone else's update too16:35
clarkblet me load ssh keys then I'll get an update pushed which we can land16:36
opendevreviewClark Boylan proposed openstack/diskimage-builder master: Change grub variables for style and timeout  https://review.opendev.org/c/openstack/diskimage-builder/+/93768416:47
clarkbthat fixes the docs bug and adds a comment to try and prevent the back and forth from continuing in the future16:47
JayF:eyes16:48
JayF* ๐Ÿ‘€16:48
opendevreviewClark Boylan proposed openstack/diskimage-builder master: Change grub variables for style and timeout  https://review.opendev.org/c/openstack/diskimage-builder/+/93768416:49
clarkbI realized I went over the 80 char line length limit in the rst file. I wasn't sure if that would make CI unhappy but decided to not give it a chance to be sad16:49
clarkbsecond patchset from me is otherwise identical16:49
mnasiadkaThanks guys, got a bit distracted because itโ€™s 6pm here :)17:06
opendevreviewMerged openstack/diskimage-builder master: Change grub variables for style and timeout  https://review.opendev.org/c/openstack/diskimage-builder/+/93768421:12

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