Friday, 2023-08-18

jandersTheJulia JayF iurygregory given the time difference, Friday off for most of RHAT and some downstream branching deadlines, I'd very much appreciate feedback on https://review.opendev.org/c/openstack/ironic/+/888746 if you have time. This is a fix needed for Cisco machines to be able to provision off vMedia (more details in reno and linked bug).00:06
jandersThanks in advance!00:06
JayFabout to dinner but i opened it in a tab00:13
jandersty!00:14
TheJuliaa grand total of one database is locked so far today00:17
jandersthank you for the review TheJulia o/00:23
* TheJulia looks at the weather model for this weekend and reconsiders plans00:25
iurygregoryI'm finishing the review in a few min o/00:26
TheJuliaif https://review.opendev.org/c/openstack/ironic/+/891872 ends up fixing the database is locked issues for the most part, I'm going to be blown away00:27
opendevreviewMerged openstack/bifrost stable/2023.1: Remove extra symbols accidentally added  https://review.opendev.org/c/openstack/bifrost/+/89078900:34
JayFI wish we had API response time metrics hooked up somehow in CI00:35
JayFit'd be interesting to see if there is real-world impact for the more usual use cases00:35
iurygregory891872 looks interesting00:37
JayFjanders: Has this been tested against other brands of hardware?00:40
JayFjanders: I wonder if we should line it up behind an ironic change w/git-sushy installed to get 3rd party CI to run and pass00:40
JayFTheJulia: iurygregory ^ do you know the answer? 00:41
JayFI guess HPE 3rd party CI looks broke anyway :(00:41
JayFnot a lot we can do about it then00:41
iurygregorywas about to say that we could wait for HPE but seems really broken00:42
iurygregorybut this shouldn't break any deployments00:42
JayFI'll make a note to contact that team about their failing third party ci00:42
iurygregoryconsidering the logic added was more to handle the Cisco HW with redfish =(00:42
iurygregoryand we had them testing before proceeding with this approach upstream00:43
JayFmy only real concern was wanting to know if it was tested against anything but the target hardware, I don't need to see proof upstream for that00:43
JayFbut tbh, if the third party CI is neglected to the point it's not running; there's not a lot we can do and it's silly to leave someone broken00:43
iurygregoryI know janders is testing with redfish mockup of different HW =)00:44
JayFhehe00:44
iurygregorybut I don't remember the full details on it00:44
iurygregoryit's like a mockup of the whole BMC of Dell Machine etc00:44
JayFnice00:45
JayFhonestly, some of what you're seeing is being damaged by the ipmi era00:45
iurygregoryhe went out for some time to help his wife, he will be back in a few I think00:45
iurygregoryyeah00:45
JayFI mean, it's landing already, there's no way upstream to ask him to do what I want + you have a customer broken in front of you00:45
JayFI'm glad we talked about it; if I had gotten to it before it landed; I probably would've put this on a comment and clogged it up00:46
iurygregoryI just learned a new word in english O.o clogged00:47
iurygregoryhad to google for it 00:47
JayFclog is a good word, it sounds like what it is lol00:47
JayFand glug is the sound it makes when you unclog a pipe :D 00:47
iurygregoryperfect!00:48
JayF(when the big air bubble comes out and the water gurgles; it's a glug)00:48
janderssorry been AFK back now and catching up on thread01:11
jandersI should have an R640 lab to test this on, good point01:11
JayFit's already landing, if you wanna test it for peace of mind I obviously wouldn't object :)01:12
jandersI am not concerned (due to what iurygregory said with mockups - we have an internal repo with BMC mirrors we vetted this against) but there's code inspection and then there's actual test01:12
JayFrealistically, if it breaks someone's hardware, they should've had third party ci :/01:12
jandersyeah I like the idea of peace-of-mind test, will try to make a container with this fix together with in-flight secureboot fix and see if both vmedia and secure boot handling still works01:13
jandersSecureBoot fix is this one for context: https://review.opendev.org/c/openstack/ironic/+/86399901:13
jandersTL;DR this needs a LOT of reboots to work01:13
jandersbut it does work and even both ways (no one asked for support for disabling secure boot but being able to do that is a life saver for testing)01:14
JayFfwiw; I think using wall-time for timeouts is discouraged01:14
JayFbecause if the clock changes it changes your timeout01:14
JayFdon't take that as an actual review comment as I'm just skimming, but one of my "stop and read carefully" flags in reviewing code is the word "timeout" and time.time() in close proximity :D 01:15
jandersnoted, thanks Jay01:15
jandersthis one will need more work (hopefully later today) so will try factor this feedback in01:15
JayFI put myself on as a reviewr, I'll try to look at it and offer concrete advice if there's something I don't like 01:15
janderssince Iury mentioned BMC mockups I figured I may share more detail01:16
jandersDMTF have a tool that "mirrors" BMC, it is mostly used for demonstrating proposed Redfish enhancements01:16
jandersbut it can be used to just mirror the whole BMC so that we can have reference of all its responses without having a server in the lab01:17
JayFI imagine that's in the category of that publically navicable redfish api mockup01:17
JayFjust more interactive?01:17
jandersI collect those for different models and store them in an internal repo01:17
janderssuper-useful01:17
jandersreason why it's internal is IP concerns01:17
janders(not sure if justified, just being careful)01:17
JayFI am always 1000x more careful with someone elses' information01:17
jandersbut I wonder if it would make sense to have some sort of an upstream initiative like this01:18
janders"want your BMC supported by Ironic? give us a mockup!"01:18
janders(and consent it to be on opendev)01:18
jandersWDYT?01:18
JayFif you want that, you have to be able to feed it into sushy-tools, yeah?01:18
jandersso far I was just using it as a standalone reference01:18
JayFsushy-tools -> emulate this specific BMC that is specified here01:18
janderscoding something up, thinking "how would a BMC XXX react to this code change"01:19
JayFmy brain goes CI first01:19
jandersand then I look at relevant BMC responses and I know with a good probability whether I will break it or not01:19
JayFso I saw visions of ironic-redfish-brandname123-mockup jobs :D 01:19
jandersmaking those mockups run through sushy-tools and actually respond to queries would be a much bigger project01:19
JayFWell I only know about them in concept, so I have no idea what is possible or what is not01:20
JayFI'm just imagining cool possibilities :D01:20
jandersyeah01:20
janderswe kinda did things like this internally at small scale for some bugs01:20
janders("break sushy-tools to match broken hardware")01:20
janders(and develop fix against it)01:21
JayFit's a clever approach01:21
jandersworked a charm but if it could just "eat" a mockup then hell yeah even better01:21
JayFwell, is the mockup a document01:21
JayFor like... a fixture01:21
JayFliterally like "I can point at http://localhost:123/redfish and dude I got a Dell!" or just a spec01:21
jandersit's a directory structure with json files mirroring BMC responses to every GET query you can send it01:21
JayFso could trivially be wired up to a read only redfish api01:22
JayFinteresting01:22
JayFat a minimum, using that information to build knobs on sushy-tools to change behavior to create the matrix would be cool01:22
JayFI guess I'm assuming that the differences are logical and make sense, which may not be the case01:22
jandersfor the record we had a quick chat with Jay about the mockup things in PM (due to some code sharing) and it sounds like it may be a PTG topic which I am happy to pick up01:34
jandersthere may be some potential there to make things easier for inter-op01:34
opendevreviewMerged openstack/ironic master: Retry connecting vmedia through a DVD device if available  https://review.opendev.org/c/openstack/ironic/+/88874602:10
janders\o/02:11
jandersbaremetal testing to follow02:11
opendevreviewMerged openstack/ironic master: Don't hold on to the API request dbapi  https://review.opendev.org/c/openstack/ironic/+/89187202:23
*** dmellado8191813 is now known as dmellado81918105:06
jandersJayF as per our earlier discussion with Iury I tested https://review.opendev.org/c/openstack/ironic/+/888746 on real hardware (Dell R640) - all good: https://paste.openstack.org/show/b23jRtwEjrZZtyw1xtPr/06:15
janders(this was using metal3 hence the extra complexity but the code changes can be seen inside the ironic container)06:15
jandersthanks for your help and for a great chat earlier! :)06:16
rpittaugood morning ironic! o/07:23
mmalchukmorning Ironic! o/07:36
mmalchukTheJulia please remove -W from https://review.opendev.org/c/openstack/bifrost/+/89113409:36
mmalchukit stuck09:36
iurygregorygood morning Ironic11:49
iurygregorydo we have a fix for inspector client with functional tests broken?12:28
opendevreviewIury Gregory Melo Ferreira proposed openstack/python-ironic-inspector-client master: [WIP] Test Fix  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/89197612:32
opendevreviewIury Gregory Melo Ferreira proposed openstack/python-ironic-inspector-client master: [WIP] Test Fix  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/89197612:34
opendevreviewIury Gregory Melo Ferreira proposed openstack/python-ironic-inspector-client master: [WIP] Test Fix  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/89197612:53
iurygregoryok, at least now I'm getting a real failure 13:10
iurygregoryhttps://zuul.opendev.org/t/openstack/build/d3de4a8b86a04c6b9c1f685fd3d0c370/log/job-output.txt#197813:11
TheJuliarutro, that is weird13:15
iurygregoryin patch 2 I got database locked issue lol13:16
TheJulia... for inspector?13:16
iurygregoryyeah inspector client https://zuul.opendev.org/t/openstack/build/6d0b54d54c9a48509a57dac6011675c6/log/job-output.txt#183513:16
iurygregorythe diff from 2 to 3 is the hash commit from inspector13:17
TheJuliaomg13:18
iurygregoryI'm looking at inspector to see if we changed something that could cause the functional test to fail13:19
TheJuliaat a glance, it looks like it expects a exception and got a 202...13:21
TheJulia... a functional test really shouldn't expect a failure though13:21
TheJulia... I'm not sure we've done much with inspector this cycle13:22
iurygregoryyeah13:22
iurygregorybut we haven't updated the hash in a while .-.13:22
iurygregorylast time was wallaby =(13:22
iurygregoryLast updated: October 27, 2020 (Wallaby cycle).13:23
iurygregoryTheJulia, maybe https://github.com/openstack/ironic-inspector/blob/53778d62f16c446e2861877f20a91ac3ba6940da/ironic_inspector/main.py#L408 ?13:29
iurygregorymaybe we need to update the functional test to reflect this13:30
* iurygregory forgot to ask if TheJulia is working.. since today is recharge day.. and say good morning =) 13:31
TheJuliaheh13:41
TheJulianot really working today, fwiw13:41
TheJuliaI need to take the wife to work and we're going up the mountain today13:41
TheJuliaat least for overnight13:41
TheJuliawe're supposed to get a hurricane to hit our area13:42
TheJuliaon Sunday/Monday13:42
TheJuliaiurygregory: likely, it could just be the functional test on the client is horribly broken13:42
iurygregoryoh wow, be safe!13:42
iurygregoryyeah13:43
TheJuliatl;dr your on the right track13:43
TheJuliaI think fixing the inspector functional test makes sense since 202 is, as we know, the right response13:43
TheJuliapreviously it might have raised an exception for some silly reason13:43
TheJuliawow, it is a category 3 right now13:45
TheJuliagusting to 15013:45
opendevreviewMerged openstack/bifrost stable/xena: Create the log file for the disk-image-create command  https://review.opendev.org/c/openstack/bifrost/+/89113413:48
iurygregoryack, I will try to update the test13:51
iurygregoryoh wow 150 O.o13:51
TheJuliaokay, i'll check the computer intermittently today13:56
iurygregoryinteresting we haven't landed this in stable/zed https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/856419 14:30
JayFTheJulia: I was about to give you the NC-resident-hurricane-prep spiel and deleted it14:31
JayFTheJulia: sometimes I forget how long we've known each other :D14:31
JayFhurricanes are scary in the whole but the most fun storm to just like, stand outside and feel yourself blow around14:32
TheJuliaWe will just get rain… downside is my home is in a flood plain14:40
JayFoh no14:41
rpittaugosh stay safe TheJulia 14:42
TheJuliaWe have an elevated slab by 2 feet which helps a ton, but roads may not be quickly passable14:43
TheJuliaAnd depending on how much rain falls on the mountains will also dictate how things progress14:46
rpittaubtw I've updated the version of ironic on the website https://github.com/OpenStackweb/ironic-website/pull/5914:49
TheJuliaCool14:53
opendevreviewRiccardo Pittau proposed openstack/metalsmith master: [WIP] Add centos9 based job  https://review.opendev.org/c/openstack/metalsmith/+/86937415:03
opendevreviewRiccardo Pittau proposed openstack/metalsmith master: [WIP] Add centos9 based job  https://review.opendev.org/c/openstack/metalsmith/+/86937415:03
rpittauso this ^ is working \o/15:04
opendevreviewRiccardo Pittau proposed openstack/metalsmith master: Add centos9 based job  https://review.opendev.org/c/openstack/metalsmith/+/86937415:04
rpittauready for reviews15:04
iurygregoryack15:06
rpittaubye everyone, have a great weekend! o/15:18
opendevreviewMerged openstack/bifrost master: Revert "Pin systemd to 252-15 for CentOS Stream 9"  https://review.opendev.org/c/openstack/bifrost/+/89101417:38
JayFTheJulia: holy crap, epiphany: we don't need TFTP to run CI on OVN. 19:56
JayFTheJulia: we can setup the test VMs to use ipxe roms, then serve up an ipxe config to an http-serving ironic endpoint19:57
* JayF is pretty sure ipxe supports getting initial config over http19:57
JayFif you have to tftp over a small config first that'll be very annoying19:57
ashinclouds[m]We already do that actually…19:57
ashinclouds[m]Just not for all jobs19:57
JayFI don't think it's a pattern we should use for all jobs (we need to cover tftp setup), but it could allow us to use OVN jobs for many things19:58
JayFIDK if this is net new information; I was just thinking about it and thought I'd share19:58

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