Tuesday, 2025-01-28

opendevreviewDoug Goldstein proposed openstack/ironic master: doc: define the shape of inspection inventory  https://review.opendev.org/c/openstack/ironic/+/94027701:35
cardoeso thinking of something like ^ but then also maybe jsonschema... we don't have anything to generate tables from schema do we?01:36
opendevreviewVasyl Saienko proposed openstack/networking-generic-switch master: Remove unneeded hasattr check for bond methods  https://review.opendev.org/c/openstack/networking-generic-switch/+/94029611:05
jssfrJan 28 11:24:07 ubuntu ironic-python-agent[1923]: 2025-01-28 11:24:07.111 1923 ERROR root ironic_python_agent.errors.InvalidImage: The provided image is not valid for use: Security: Detected image format was gpt, but only raw, qcow2, iso are allowed11:39
jssfrso this is a raw image with a gpt partition table... is that check a bit overzealous?11:39
jssfrlooks like https://docs.openstack.org/ironic/2024.1/configuration/config.html#conductor.permitted_image_formats is the way to configure this11:42
jssfrconverting the raw image to qcow2 helps :D13:00
TheJuliajssfr: is that appearing in 2024.1?14:20
jssfrno, that's actually zed, I found out.14:31
jssfrI thought we were on 2024.1, but it's zed.14:31
jssfrso may not be relevant really.14:31
jssfr(I only found that out later tho)14:32
TheJuliaThe check was backported, but I didn't think it had the distingishment between gpt and raw14:32
TheJuliaI thought that came in the later versions upstream14:32
jssfrI wouldn't put it past our image build process to accidentally pull in some newer dependency somewhere...14:33
TheJuliawell, it was included code, not a library in that version14:33
TheJuliaso it just seems confusing, but at the same time it was all a blur14:33
jssfrhmmm14:34
JayFthis looks like you pullewd in newer ipa/oslo utils to an older ironic?15:05
JayFfull backtrace there would be useful, along with a `pip freeze` in the IPA install in the venv of the ramdisk15:05
jssfrJayF, I'll see if I can get that tomorrow (I'm off my work systems already).15:14
jssfrpip freeze should be easy, not so sure about the full backtrace. That might be gone already.15:14
jssfrOH15:14
jssfrthis is about the **ipa** version15:14
jssfrin that case  we might actually be on 2024.1 not on zed, I'll have to confirm that. I was only looking at conductor/api/etc. versions. The IPA image is a separate process which may source different code. (cc TheJulia )15:15
TheJuliaWell, the check exists internally in ironic *and* the ramdisk15:29
TheJuliaso sort of depends on where it gets disqualified at15:29
opendevreviewcid proposed openstack/ironic master: Apply Rules: inspection rules migration  https://review.opendev.org/c/openstack/ironic/+/93921815:48
opendevreviewcid proposed openstack/ironic master: API/Testing: Inspection rules migration  https://review.opendev.org/c/openstack/ironic/+/93921715:48
jssfrTheJulia, ramdisk16:37
jssfr(the log line is from there)16:37
TheJuliaahh,  yeah16:46
opendevreviewJulia Kreger proposed openstack/ironic-python-agent master: Bootable container support  https://review.opendev.org/c/openstack/ironic-python-agent/+/94017816:55
cardoeJayF: you were looking for pre-commit on IPA right?17:00
*** priteau is now known as Guest726717:04
*** priteau2 is now known as priteau17:04
cardoeOr was it another repo? Cause I did IPA.17:08
TheJuliaI'm guessing Jay is still feeling under the weather17:17
TheJuliaAnd likely the only way to illicit a response is for a hockey game to appear outside his home ;)17:18
JayFI'm here just busy17:19
JayFyesterday was less illness and more allergies+insomnia working together to knock me outta commission17:19
JayFMy meetings for the day are complete :)17:19
JayFcardoe: I think it was ironic-specs?17:23
JayFcardoe: IDR at this point, my context of that conversation is long gone :)17:23
cardoeOkay. I’ve got patches for both in gerrit.17:24
cardoeSounds like you’ve had a rough go of it.17:24
JayFack; I'll do a review pass once I'm to the bottom of the list17:24
JayFeh; I had COVID over the winter break; I recovered from most of it but have been lethargic/having leftover sinus issues17:24
JayFso lack of sleep + allergy flare up basically just kicked my butt yesterday but I'm feeling really good today (thanks; sudafed)17:25
cardoeI’m trying to clean up the node cleaning docs and the inspection ones. I’m honestly more confused than I was when I started about behavior.17:25
JayFgive me like, 30-60 minutes to get to the bottom of my todo list17:26
JayFmaybe a little more17:26
JayFand I'm happy to sync up with you on it and find answers17:26
TheJuliaugh, sinus issues from covid seem to last a tremendously long time17:26
cardoeNo worries. I’m around on mobile. I’ll sit in front of my laptop in a bit.17:27
JayFyeah; I just decided I'll do what my doc has told me to do in the past and just sudafed for two weeks and try to reset things17:27
cardoeI’m in Puerto Rico today but it’s a work day for my wife. And my “job” is to follow her with camera gear and scene lists and make sure we get them. But I can have her stop and edit anytime.17:28
cardoeI’m on PTO from my real job to be an assistant to my wife.17:29
JayFyour wife some kinda influencer?17:30
cardoeKinda? She doesn’t actually post the stuff. She creates content that others get from her.17:32
cardoeAnd it’s not influencers. But like brands and travel agencies.17:33
TheJuliaThat sounds awesome17:37
cardoeIt started years ago when she was a real estate agent. She’s good at digital video. So she made walk throughs before the 360 camera was a thing. Then added drone footage before it was a thing. Ended up getting others interested in having her do it. So that was more consistent work. So she did that for a while. Then she made some montage of a vacation.17:37
TheJuliaas an FYI, I posted https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/940247 to try and reduce some of our test failures in CI17:37
cardoeAnd our travel agent said they’d give us a free or reduced trip if she made them a bunch of ads. So we did that. And now she’s a part time travel agent and the brand themselves send her on trips to generate content for them to post.17:39
cardoeSo we go a few weeks a year and record a metric ton of footage. It’s like stock photos on steroids.17:39
JayFthat is really freakin' cool seeming17:41
JayFthat being said: you should be enjoying Puerto Rico without the glow of a laptop :) nothing we need here can't wait until you're back workin'17:42
cardoeIt’s funny cause I don’t have any social media apps.17:42
JayFthe older I get, the more I think IRC counts17:45
cardoeI’m literally downloading files from her cameras and tagging them for her. So I’ve already got a laptop.17:45
JayFmaybe that's more reflective of how many of my friends/hobbies are IRC-centric though :)17:45
TheJuliaI'm pretty much done with social media at this point, except the blue skys17:46
JayFmy X account was closed last week, even though for a while it was just podcast shilling. I'm trying to look at everything like that less and less, and heavily filter any ... non-personal information17:47
JayFlike I wanna hear how Julia is doing; I don't need 45 people boosting news into my thread17:47
TheJuliaI've been a lot better17:47
TheJuliabut i'll be okay... for now17:47
cardoeExactly. I think we’ve now seen that social media has been a net negative on society.17:47
cardoeThough I shouldn’t bash it cause it’s given me some cool trips since COVID.17:48
JayFI'm hoping I'm retirement age before I am convinced s/social media/internet/17:48
JayFotherwise my job gets a lot harder ;)17:48
TheJuliaheh17:48
TheJuliaSo! I'm curious. Any thoughts/feelings on doing some auto-middle of error truncation with error messages?17:49
JayFIn the beginning, the internet was created. This has made a lot of people very angry and has been widely regarded as a bad move.17:49
JayFI have no idea what you mean by that 17:49
TheJuliaspecifically, when doing my bootc testing last week, I had podman throw a stupidly long error17:49
TheJuliasuch that the tail end got truncated because it exceeded the field length17:49
cardoeThe closest we’ve come to being in any of our videos is some Royal Caribbean video where I slide off the end of a slide wearing a GoPro and my legs come into view for a second.17:49
JayFTheJulia: how big is the field? is the answer not "make it big enough to hold a giant freakin' error"?17:50
TheJuliaJayF: That is a stupidly good question17:50
TheJuliaI think it is 1k17:50
* TheJulia looks i tup17:50
cardoeWe throw some serious back traces. That’s surprising.17:50
TheJuliaL + 2 bytes, where L < 21617:51
TheJuliaso we might be truncating elsewhere17:51
TheJuliaI'll have to dig17:51
TheJuliaI just found the trail end truncation semi-annoying17:52
TheJuliaIt *helped* I had the logs on a terminal window and I could see why my deploy of a container failed17:52
TheJuliabut yeah17:52
JayFI don't have a good sense of if that's already extremely long17:53
JayFmy preference is always to not truncate and instead show it all17:53
* JayF points at node faults and regrets not implementing it again17:53
TheJuliasort of why I put history in17:54
TheJuliaI'll dig through the code and see what might be truncating it17:55
JayFI had a fleeting thought that I buried deep inside17:55
JayFof node.last_error being a pointer to a node history entry17:55
JayFso we could make the field larger without ballooning nodes17:55
TheJuliaits not a bad idea, except I think the error is likely pre-truncated17:55
JayFbut I'm sure that's a bad idea for other reasons I don't have the words for17:55
TheJuliaat least, that is my gut feeling17:55
TheJuliawell17:57
TheJuliaSo the fun thing with text and longtext is they are not actually in the table17:57
TheJuliathe db keeps a pointer *and* like the first so many bytes17:57
TheJuliafor index queries, if you query in such a way to table scan, then it goes and resolves all the pointers17:57
TheJuliaand is overall just "mean" to the DB17:58
* TheJulia is stupidly familiar with DB internals thanks to spending *many* years supporting https://en.wikipedia.org/wiki/Basis_database17:58

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