Wednesday, 2023-02-22

TheJuliaI think that is it, I think I have positve feedback on the second patch01:10
vanouThanks. And not positive on first patch?01:15
TheJuliaNo, the first patch is basically a feature, but we can discuss it I guess during the weekly meeting01:21
TheJuliaIt is so windy here birds are flying backwards01:22
TheJuliaNobodyCam: ^01:23
vanouThanks. I'll attend next weekly meeting and discuss it.01:24
opendevreviewSteve Baker proposed openstack/ironic master: Respond to rpc requests on stop until hash ring reset  https://review.opendev.org/c/openstack/ironic/+/87260103:21
opendevreviewSteve Baker proposed openstack/ironic master: On rpc service stop, wait for node reservation release  https://review.opendev.org/c/openstack/ironic/+/87283403:21
opendevreviewSteve Baker proposed openstack/ironic master: Expose conductor online boolean for accurate alive  https://review.opendev.org/c/openstack/ironic/+/87366003:21
TheJulialooks like our ci jobs are broken05:42
TheJuliagrenade specifically https://paste.openstack.org/show/bqCNtDiOPmaL3PLSK4wP/05:42
TheJuliaI'll look in the morning before I get on calls, but if anyone beats me to it, it would be much appreciated05:47
rpittaugood morning ironic! o/09:14
rpittaufungi: thanks! and happy travels :)09:15
rpittauwelllll of course the linters fail :/09:37
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Update shim-signed name for ubuntu jammy  https://review.opendev.org/c/openstack/bifrost/+/87465009:52
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Update shim-signed name for ubuntu jammy  https://review.opendev.org/c/openstack/bifrost/+/87465010:32
dtantsurTheJulia: morning! do you think https://storyboard.openstack.org/#!/story/2010537 could be fixed with https://opendev.org/openstack/sushy/commit/2c8229046c6ca8aa342e028c96aaa066f517eb9f?10:51
dtantsurcc janders 10:51
* janders is looking10:55
jandersjust noting ajya was heavily involved in fine-tuning the patch helping me structure it so that it is less likely to break future iDRAC firmware10:57
janders(I take it as a possible slight endorsement)10:57
dtantsuryeah, and I think we tested 6.10 downstream recently?10:58
dtantsurunrelated: ouch https://github.com/unbit/uwsgi/commit/5838086dd4490b8a55ff58fc0bf0f108caa4e07911:02
dtantsur(may not be the end of the world, but needs keeping an eye)11:02
dtantsurTheJulia, janders, okay, apparently, iDRAC may provide fields in the settings, which are not actually settable. sigh.12:30
iurygregorymorning Ironic13:47
iurygregorydtantsur, QA downstream was going to test 6.10.* (I saw something in past weeks related to this)13:56
TheJuliadtantsur: that issue is definitely fixed by that patch14:02
TheJuliadtantsur: and one of the operators verified it who chats in here as well14:02
dtantsurTheJulia: apparently, not completely... at least per one operator I'm talking to14:03
TheJuliaoh, no14:03
TheJuliauhhh14:03
TheJuliauhh....14:03
TheJuliaone moment14:03
TheJuliahmm, no that is it14:04
TheJuliaI had  similar thing, where boot mode could not be set on 6.10, and it was the patch you listed14:06
TheJuliaand we  had independent verification after dell came back and said "hey, this patch"14:06
dtantsurTheJulia: the claim to have tested 4.1.5 with this patch..14:07
TheJuliagithub says  4.4.2 4.4.1 have the patch14:09
TheJuliabut 4.1.5 has the commit as well14:10
rpittauhi all, due to a recent added test in sushy-tools unfortunately the RDO RPM can't be compiled anymore in CS8 in xena and yoga, see https://review.rdoproject.org/r/c/openstack/sushy-tools-distgit/+/4711414:17
rpittaujust wondering if it's worth to "fix" it or not considering that we stopped supporting Python 3.6 in sushy-tools 8 months ago14:17
TheJuliaafaik, only usage is community and it is the testing tools which we *really* don't support anyway14:19
TheJuliaI'd tag out the version on stable branches and move on... personally.14:19
rpittauTheJulia: yep, that's what RDO did and I agree on that14:21
iurygregoryTheJulia, great job in the IPE patch o/14:26
TheJuliaiurygregory: thanks14:26
TheJuliatesting was the hardest part... *insert unhappy look at random list return order from prometheus*14:27
iurygregoryyeahh14:39
dtantsurTheJulia: ufff, the person has retested with 4.1.5, it works correctly.14:39
TheJulia\o/14:41
dtantsurThis has been haunting me for a long time, I think I finally understand it now: https://storyboard.openstack.org/#!/story/201060314:48
TheJuliayes, I have deja vu14:51
TheJuliaas in I've seen it myself and I think we've discussed it previously14:52
TheJuliabut maybe the final save was not working in my cases, and in your case maybe the speed of API query might just be high enough14:52
TheJuliawell, I haven't had a case or a issue where it has come up recently14:52
TheJuliabut yeah, should be a thing as described14:53
dtantsurI'm definitely hitting it in my local testing14:58
dtantsuroh lol, we even have a unit test for the wrong behavior?15:00
opendevreviewDmitry Tantsur proposed openstack/ironic master: Do not move nodes to CLEAN FAILED with empty last_error  https://review.opendev.org/c/openstack/ironic/+/87478415:12
rpittauI think we have to look at ansible-collections-openstack >= 2.0 for bifrost, I'll ahve to pin keystone client to make CI pass16:15
rpittausorry python-openstackclient, not keystoneclient16:17
dtantsuroh, the time has come?16:23
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Update shim-signed name for ubuntu jammy  https://review.opendev.org/c/openstack/bifrost/+/87465016:25
opendevreviewRiccardo Pittau proposed openstack/bifrost master: CI fixes and workarounds  https://review.opendev.org/c/openstack/bifrost/+/87465016:26
rpittauextremely convoluted explanation in the commit message says yes16:27
rpittauafter CI is happy, I'm going to have a look16:27
opendevreviewMark Goddard proposed openstack/networking-generic-switch master: Add Fake device type  https://review.opendev.org/c/openstack/networking-generic-switch/+/87309816:32
opendevreviewMark Goddard proposed openstack/networking-generic-switch master: Add ngs-stress test script  https://review.opendev.org/c/openstack/networking-generic-switch/+/87478916:32
JayFbifrost is so freakin' cool17:03
TheJuliablame 3 glasses of redbreast17:04
opendevreviewMark Goddard proposed openstack/networking-generic-switch master: Fake: support adding a random sleep and injecting failures  https://review.opendev.org/c/openstack/networking-generic-switch/+/87479317:17
rpittaugood night! o/17:20
espenflHi there. I have started some work in DIB (specifically the bootloader element) to fix a few issues we discovered when trying to make serial consistent. However, during the process I found something else which I will try to explain to get some feedback on. Heads up; I am a beginner on DIB, Ironic, Bifrost and all things OpenStack related, so I suspect it is my understanding17:20
espenflthat is off here. We are running DIB on Ubuntu 20.04, so it detects the debian family and installs for instance grub-pc. This again dumps files in /etc/grub.d and when running grub2-mkconfig, the content of /etc/default/grub is not included. I have inspected the final generated grub config file to verify this, also in the final image. Some distros include the default grub in17:20
espenflthe 00-header file, but that does not seem to be the case here. The 50-bootloader file in the bootloader element modifies /etc/default/grub, but that does not seem to be included. Any comments or hints here would be awesome. Thanks.17:20
opendevreviewMark Goddard proposed openstack/networking-generic-switch master: Add ngs-stress test script  https://review.opendev.org/c/openstack/networking-generic-switch/+/87478917:21
JayFI think /etc/default/grub, in grub2, is used to do variable substitution in the larger config, yeah?17:21
JayFit doesn't get injected whole-hog17:21
TheJuliayes17:23
TheJuliablend of grub.conf files or bls entries17:23
TheJuliaI believe ubuntu is still grub config files with a gruenv17:29
TheJuliagrubenv17:29
espenflright, I agree17:50
espenflis there a variable at 50-bootloader that lets me know which family I am in?17:51
espenflis there a variable at 50-bootloader that lets me know which distro I am in?17:51
JayFI'm not sure; I'm not an ubuntu user and really your problem, I think, boils down to a distro behavior concern17:53
JayFI wonder if they'd know in an ubuntu support channel... 17:53
* JayF not trying to be unhelpful just don't want to mislead with inaccurate info17:53
espenfl Yes, I agree absolutely and thanks for the comments. I am a bit unsure how to approach it now, but will try to source more info and go from there. At least the 50-bootloader in its current states, modifying the /etc/default/grub for e.g. the serial command is not picked up when runing DIB on Ubuntu.17:55
JayFHmm. Makes me wonder if DIB is not ever regenerating grub configs during build17:56
espenflI guess question number one I need to get answered (elsewhere) is if all the distros we would support use a vanilla setup or not. Then we tailor from there. DIB does run grub2-mkconfig/grub-mkconfig on build.17:56
JayFack17:57
espenflgrub-mkconfig does have some limitations. While adding extra custom menu entries to the end of the list can be done by editing /etc/grub.d/40_custom or creating /boot/grub/custom.cfg, changing the order of menu entries or changing their titles may require making complex changes to shell scripts stored in /etc/grub.d/. This may be improved in the future. In the meantime,17:57
espenflthose who feel that it would be easier to write grub.cfg directly are encouraged to do so (see Booting, and Shell-like scripting), and to disable any system provided by their distribution to automatically run grub-mkconfig. 17:57
JayFmost of my knowledge of diskimage-builder is of it in ramdisk mode, to build e.g. IPA images17:57
JayFI've not used it much for making disk images17:57
espenflargh...sorry for the copy paste dump17:57
espenflhttps://opendev.org/openstack/diskimage-builder/src/commit/174089a6a5f1ff4628a9d103e4328a1b1298e241/diskimage_builder/elements/bootloader/finalise.d/50-bootloader#L12317:58
espenflThis was the one I wanted to paste, where DIB runs the mkconfig17:58
JayFhttps://opendev.org/openstack/diskimage-builder/src/commit/174089a6a5f1ff4628a9d103e4328a1b1298e241/diskimage_builder/elements/bootloader/finalise.d/50-bootloader#L10217:59
espenflthanks a lot, I will do some more investigations and suggest something on gerrit17:59
JayFThat looks like it might be overriding whatever you're setting manually?17:59
* JayF not sure he understands all your inputs / desired outputs though17:59
espenflNot sure I understand that question, but to make a very specific example: This line https://opendev.org/openstack/diskimage-builder/src/commit/174089a6a5f1ff4628a9d103e4328a1b1298e241/diskimage_builder/elements/bootloader/finalise.d/50-bootloader#L104 is not picked up during the run at18:03
espenflhttps://opendev.org/openstack/diskimage-builder/src/commit/174089a6a5f1ff4628a9d103e4328a1b1298e241/diskimage_builder/elements/bootloader/finalise.d/50-bootloader#L123. So in the final grub.cfg there is nothing given for serial. Also for instance18:04
espenflhttps://opendev.org/openstack/diskimage-builder/src/commit/174089a6a5f1ff4628a9d103e4328a1b1298e241/diskimage_builder/elements/bootloader/finalise.d/50-bootloader#L88 is also not picked up and the final grub.cfg only have terminal_output/terminal_input defined as console only.18:04
JayFHow are you testing this? Just literally looking at the content of the image locally?18:05
JayFJust making sure e.g. grub handling code in Ironic isn't coming into play18:05
espenflboth by doing printouts of the DIB run, and inspecting the /boot in the final image18:05
JayFack18:06
JayFthen I'm honestly not certain what could be going on18:06
JayFwhen I see behavior like this, I often run with DIB_TRACE enabled18:06
JayFand comb through the results18:06
JayFmany times it has to do with elements injecting things at the wrong time in the build process18:06
espenflMe neither, seems strange honestly, thanks for the DIB_TRACE suggestion. Will try this and continue investigations.18:06
JayFI'll note there is an #openstack-dib18:06
JayFbut in all honestly same folks will likely be helping you either place18:07
espenflthanks, did not know18:07
JayFso feel free to keep hanging out with us or go over there :D 18:07
espenflokey, thanks...I feel Bifrost, Ironic, IPA, DIB etc. are all somewhat represented here18:07
JayFthis channel is for the openstack bare metal program, which includes all those things except DIB :D 18:09
JayFbut it's all ... artificial lines18:09
JayFwe're all openstack18:09
JayFjust trying to make things work :D18:10
TheJulia... and we have cores who are also cores on DIB18:14
TheJuliais it friday yet?!?18:14
* TheJulia has a low spoon count right now18:14
espenflgreat18:21
*** JasonF is now known as JayF19:51
TheJuliaespenfl: so, out of curiosity, is ubuntu moving to BLS ?19:55
TheJuliabecause on non-BLS, if my memory is serving me correctly, it is more harmful to run mkconfig19:55
TheJuliathan not to19:55
TheJuliahmm, there is also preservation logic in there19:56
TheJuliaI thought mkconfig was supposed to read /etc/default/grub20:00
* TheJulia wonders if we're in a flavor of grub issue territory20:00
JayFTheJulia: that's why I suggested asking the ubuntu folks; some of the described behavior didn't match my expectations for grub (which have mostly been set by gentoo and rhel-based OSes)20:01
JayFand bluntly, ubuntu is sometimes just a little weird in ways you wouldn't expect20:02
TheJuliaI could see gentoo having a mix of the patches since grub is effectively forked by distro these days20:02
JayFhttps://github.com/gentoo/gentoo/tree/master/sys-boot/grub/files nothing too intrusive 20:03
TheJuliabut starting with grub 2.06 which I *Think* is from the rh bootloader20:11
TheJuliawell, from their mirror20:11
TheJuliamirror is the wrong word, it is their working copy on the bootloader devs repo someplace on github20:11
JayFWhen given a choice, most of the time gentoo will choose similar options to fedora; we carry the same set of gnome-terminal patches, the default kernel configs are based on fedora, etc20:13
TheJuliayeah, ubuntu has a n entirely different fork hosted on launchpad20:13
TheJuliawhich imports stuff in targeted fashion it looks like20:13
TheJuliaat least, that is what it *looks* like, it has been a while since I've dug through lp hosted stuffs20:14
TheJulialooks like some stuff got synced up back in 202120:15
espenflYes, I will try to investigate these things in more details, implement, test and report back. Not sure about the BLS as I am no Ubuntu person (on Arch most of the time), but it does not seem like it from initial investigations.21:10
JayFespenfl: we've been recently burned (Ironic as a project) by those grub incompatabilities betweeen rh-based/deb-based stuff recently; so we're a little extra attuned to it :) 21:12
JayFTheJulia: https://canonical.com/careers/4388367 canonical is hiring for grub maintainers :)21:38
JayFTheJulia: that's the answer I got from a friend there when I asked them to unfork grub (jokinglyish)21:38
TheJuliaOh… my21:38
JayFso go find some Ironic ally to go take that job and we'll be set LOL21:39
stevebaker[m]espenfl: I've spent quite some time in 50-bootloader, but only on red hat based distros. Feel free to add me to reviews or whatever21:47
TheJulia++21:47
JayFif stevebaker[m] ever pretends to not know something, don't believe 'em21:48
JayF;) 21:48
JayFrpittau: I'm looking at > [ironic][QA][horizon][release][OpenStackSDK] Cycle With Intermediary without recent deliverables 21:49
JayFrpittau: I think we still have actions to take there? 21:49
stevebaker[m]I have an ulterior motive here, I'm looking for a volunteer to allow dib to build Secure Boot capable ubuntu/debian21:49
TheJuliadouble check and trigger some releases before the 2nd it seems21:49
JayFyeah I think it's scoped into the work he's already picked up21:50
TheJuliaack21:51
espenflstevebaker[m]: will do21:51
espenflAlso, I think I got more details that are relevant. Ubuntu cloud images are used and which, in its default settings source /etc/default/grub, /etc/default/grub.d/50-cloudimg-settings.cfg and then /etc/default/grub.d/init-select.cfg. And GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0" and GRUB_TERMINAL=console is set in 50-cloudimg-settings.cfg. No wonder the stuff in21:56
espenfl/etc/default/grub is gone. 21:56
espenflone option would be to inject the changes into something in /etc/default/grub.d that are picked the last instead of /etc/default/grub21:57
espenflhttps://sources.debian.org/src/grub2/2.06-8/debian/patches/default-grub-d.patch/22:03
stevebaker[m]espenfl: red hat grub does not have that patch. Fun fact: the rpm spec repo builds grub by downloading upstream then applying 323 patches22:14
espenflstevebaker[m]: interesting covers it I guess :)22:16
espenfldo I have a way to describe what is going on here a bit better in an issue? should I just open a new bug report and dump what I have discovered so far? eventually I will try to fix it, but I think it would be nice to get the facts out there so that others also can verify or comment22:17
TheJuliaThey are pretty good, afaik, about making sure they are on the GitHub repo, but effectively it is forked out with no central maintainer anymore22:18
TheJuliastevebaker[m]: what upstream?22:19
stevebaker[m]TheJulia: https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz22:21
TheJuliaoh wow22:22
TheJuliathat is surprising22:22
espenflSo I guess there are two approaches to fixing this on the DIB end, either inject a file in `/etc/default/grub.d` that is guaranteed to be picked last, or let `init-select.cfg` source it if possible. Also, we need to know if we are on Ubuntu (maybe we also need to know if we use the specific cloud images).22:28
espenflAny thoughts or comments on this?22:29
JayFI like the first option you present22:31
JayFit's less likely to bitrot over time22:31
espenflYes, agreed. More info on the table. Amazon recommends modifying the 50-cloudimg-settings.cfg file: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html 22:34
espenflmaybe we should also check if there are any files in `/etc/default/grub.d` in case that patching is reverted sometime in the future (also, I guess for regular Ubuntu images, this is not used, given its name)22:37
JayFespenfl: I'd suggest putting some of your findings in an etherpad (https://etherpad.openstack.org/p/any-string-you-choose-to-use-to-name-your-etherpad) just to aggregate them and make it easier to follow along for folks troubleshooting22:48
JayFI know most of this context will have flowed out of my brain like water by the time I revisit tomorrow :D 22:48
JayFgood luck and thank you for sharing your journey with us o/22:48

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