Thursday, 2025-12-18

opendevreviewMerged openstack/ironic master: fix loading of built-in inspection rules  https://review.opendev.org/c/openstack/ironic/+/97126607:37
rpittaugood morning ironic! o/08:11
kubajjgood morning rpittau o/08:43
rpittauhey kubajj 08:52
opendevreviewMilan Fencik proposed openstack/ironic master: fix: iPXE boot interface PXE capability detection  https://review.opendev.org/c/openstack/ironic/+/97117312:36
mfencikTheJulia: cardoe: I made the changes as discussed for 971173, I did think about improving the tests, but the only way I see atm would be to test all boot interfaces individually for add_ports_to_network, which I can do, it will just take a bit more work12:44
opendevreviewPavlo Shchelokovskyy proposed openstack/networking-generic-switch master: Use upper constraints in pep8 job  https://review.opendev.org/c/openstack/networking-generic-switch/+/97142114:04
cardoewe don't use pre-commit in NGS?14:09
TheJuliagood morning14:18
TheJuliacardoe: not intentionally, afaik14:18
TheJuliaerr, unintentionally14:18
cardoeyeah I figured cause I forgot.14:19
cardoeso with you're morning coffee if ya wanna lazily help me fix the docs for 2025.2... :D14:19
cardoehttps://review.opendev.org/c/openstack/ironic/+/97137014:19
cardoeCause the actual docs fix deps on that one.14:20
TheJuliamy coffee just finished brewing, so retrieving14:21
opendevreviewJulia Kreger proposed openstack/bifrost stable/2025.2: Centos: set masked: false for firewalld  https://review.opendev.org/c/openstack/bifrost/+/97137814:25
opendevreviewJulia Kreger proposed openstack/bifrost master: add an OCI artifact registry  https://review.opendev.org/c/openstack/bifrost/+/96138814:25
opendevreviewJulia Kreger proposed openstack/bifrost master: bifrost-registry-install: install the ORAS client  https://review.opendev.org/c/openstack/bifrost/+/96835514:25
opendevreviewJulia Kreger proposed openstack/bifrost master: Upload a disk image to OCI  https://review.opendev.org/c/openstack/bifrost/+/96841614:25
opendevreviewJulia Kreger proposed openstack/bifrost master: Upload to and use artifact from OCI registry  https://review.opendev.org/c/openstack/bifrost/+/96841714:25
TheJuliacardoe: if you have a moment, take a glance on my commen at https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/971236/3/dib/ironic-python-agent-ramdisk/static/etc/systemd/system/ironic-agent-resolve-config-drive.service -> I guess that leads to a thought if we should just quite literally break glean from being able to execute. This would rely upon basically "dhcp_all_interfaces" element style behavior to 14:32
TheJuliawork which is what the ramdisk has done for years, where as glean otherwise explicitly forces dhcp if nothing is found. Given nearby scripting already cripples and replaces glean's start, maybe its a noop and I should stop over-thinking it14:32
cardoehmm yeah I wanted to actually build all this up locally this afternoon and test this.14:34
TheJuliaSo, turns out one of the non-voting jobs gets super close to full reproduction of alegacy's case14:38
TheJuliathe only difference, we don't change the subnet in the test14:38
TheJuliabecause it runs with "flat"14:38
TheJulia(at least, it was enough for me to verify via job logs, but yeah.)14:39
iurygregoryTheJulia, oh you were referring to unit tests in the other patches in chain <facepalm> I need more coffee XD14:53
iurygregoryI'm working on them right now o/14:53
TheJuliaYeah, I got to the last one and didn't even look at the logic because without a test or a really good explaination why we don't need one in base_manager or manager... I'm honestly not going to review it.14:55
TheJuliait became more of a "skim" pattern of review14:56
iurygregoryyeah totally understand14:56
TheJuliaiurygregory: btw, it would be awesome if you could spend a few looking at the bifrost changes regarding OCI registry support, so I can ensure steve is unblocked come january :) https://review.opendev.org/q/topic:%22oci-registry%2215:04
TheJuliarpittau: is there an open bug yet for VM UEFI firmware (i.e. edk2) crashes with centos10 yet?15:05
iurygregoryack 15:05
iurygregorywill add to my list, I will be working normally since we only have 4 days of holidays in Dec.15:05
rpittauTheJulia: not aware of it, I've opened recently one for ubuntu but it got fixed already15:15
TheJuliaI've seen the centos10 jobs blow up a few times so far, unfortunately15:16
opendevreviewMatt Crees proposed openstack/bifrost master: Document IPA image download options  https://review.opendev.org/c/openstack/bifrost/+/96414515:16
TheJuliaa number of them are running now, so there may be a failure in all of that15:17
TheJuliajust time will tell15:17
rpittauI haven't noticed changes in the package recently, but I could've definitely just missed it15:18
opendevreviewPavlo Shchelokovskyy proposed openstack/networking-generic-switch master: Use upper constraints in pep8 job  https://review.opendev.org/c/openstack/networking-generic-switch/+/97142115:26
sdmitriev1HI there, looking for advice on ironic node servicing, can't make it work. The ironic-python-agent can't perform a node lookup, getting this error "Lookup is not allowed for node <NODE> in the provision state service wait" which makes sense since servicing is not in the allowed states - https://github.com/openstack/ironic/blob/6362fa466368794d9fba50caa82f424d3556b154/ironic/common/states.py#L271 15:28
sdmitriev1So I was wondering if there is a way to make it work without allowing unsafe node lookups https://github.com/openstack/ironic/blob/6362fa466368794d9fba50caa82f424d3556b154/ironic/conf/api.py#L77 ?15:28
JayFsdmitriev1: that appears to be a correct bug15:31
JayFbut I'm confused how it ever worked if that is a bug15:31
JayFso wondering what I'm missing15:31
sdmitriev1JayF: this was exactly my chain of thoughts, it looked really logical to have servicing state in the allowed list but it is not there; so has it been working then? 15:35
opendevreviewTakashi Kajinami proposed openstack/ironic master: Use common request_id middleware  https://review.opendev.org/c/openstack/ironic/+/97097815:43
JayFsdmitriev1: or option 2, which I hope isn't the case: nobody tested servicing with in-band steps15:44
opendevreviewTakashi Kajinami proposed openstack/ironic master: Use common request_id middleware  https://review.opendev.org/c/openstack/ironic/+/97097815:45
sdmitriev1JayF: would it fine if I propose the fix to include SERVICING, SERVICEWAIT, SERVICEHOLD into _LOOKUP_ALLOWED_STATES ?15:47
JayFI think so, ideally with a unit test that fails without those values in there15:48
JayFwell, sans hold15:48
JayFjust the ING and the WAIT states15:48
sdmitriev1yeah, make sense, all right, will look into it today, thanks for the help! 15:50
opendevreviewMerged openstack/ironic stable/2025.2: update inspection rules docs and code to the same order  https://review.opendev.org/c/openstack/ironic/+/97137015:54
dtantsursdmitriev1: in fact, only SERVICEWAIT, we don't expect IPA to be booting in SERVICING16:06
dtantsurJayF: well, it worked because all service steps that we've actually tested work without IPA16:06
dtantsurin fact, Jacob removed the dependency on IPA from firmware upgrades (and possibly settings too)16:06
dtantsursdmitriev1: (okay, since we have ING states in the constant already, you can add SERVICING too)16:07
opendevreviewTakashi Kajinami proposed openstack/ironic master: Use common request_id middleware  https://review.opendev.org/c/openstack/ironic/+/97097816:08
sdmitriev1dtantsur: understood16:14
JayFdtantsur: we (and I'm pointing at me too, I've done this as well) have to get better at testing the full surface area of features. This is one example, OCI is maybe another :( 16:17
dtantsurTrue. I don't know how to do it though. The previous idea was to use standalone jobs to gradually cover most features, but they come with their own issues.16:21
TheJuliarpittau: I don't think its package changes much as more contents in the firmware packages because it is pretty clear edk2 is what is blowing up16:23
rpittauah ok then16:24
TheJuliaI think part of the condundrum is the amount of work to get testing fully in place in all possible cases is just a huge amount of work, mix in CI instability, and just reviewer apathy to some of the cases, its almost discouraging. I'm not saying this to beat anyone up, but at some point when you get into a "revise when I have time pattern", things just slide off the radar completely 16:26
TheJuliaespecially when it comes to tests/testing16:26
TheJuliaAlso, patterning. Service was originally viewed as all async, so everything we have done there is all really without the agent, makes sense to boot the agent, but it is again a super easy thing to miss as well until you get to that point of saying "i want to service to rebuild" or something along those lines.16:28
TheJuliaI guess what I'm trying to say is we shouldn't beat ourselves up, its going to happen, all we can do is roll with the punches and try to be better about reviewing stuff in flight and follow-up work.16:29
dtantsurSpeaking of OCI testing, we could use some reviews on our Bifrost patch chain ;)16:30
TheJuliaYes, I've been trying to get people to do that16:31
TheJulia:)16:31
opendevreviewMerged openstack/ironic master: OCI: Add an option to fallback to HTTP  https://review.opendev.org/c/openstack/ironic/+/96927716:31
opendevreviewVerification of a change to openstack/ironic master failed: OCI Basic Auth/Tag access  https://review.opendev.org/c/openstack/ironic/+/96931416:31
* TheJulia glares at zuul16:32
TheJuliarutro, looks like the metal3 job might be fail happy for a little bit, gpg check failures :\16:36
TheJulia?key rotation?"16:36
TheJulia(or bad mirror?)16:37
opendevreviewDoug Goldstein proposed openstack/ironic stable/2025.2: fix: inspection rules docs to match the code  https://review.opendev.org/c/openstack/ironic/+/97145316:51
cardoeI've noticed that in the past with yum repos separately from this. metal3 seems to be hitting that a bunch lately.16:52
dtantsurI wonder if we can add pre-baked images for Metal3 jobs to our infra16:53
cardoeWhat are we even building with yum?16:53
dtantsurI haven't looked at the job, but it could be the testing dependency (think devstack) or the ironic image16:57
dtantsurSo I've looked, and it's building ironic-image17:09
dtantsurI wonder if we can somehow have two-stage Ironic builds, where we first build (and publish) the image was all dependencies, then build a new image with scripts and Ironic content out of it17:11
dtantsurcc rpittau17:11
JayFTheJulia: this is 100% the cycle I end up in, but realistically we can't billboard features that don't work with a massive second feature. I don't know how to square the whole circle but status quo is very, very painful :(17:11
JayFme: "We can't let X happen!" also me: [lets X happen all the time] 17:12
TheJuliaI do feel like part of that is the conundrum of open source when we don't have an immediate consumption side user testing the variety of cases17:23
TheJuliaAlso, we do work, we say "it works in x case", doesn't mean we are sure it will work in y variation case until that is found, that right there is the pain17:23
rpittaudtantsur: the multi stage ironic-image is something I was also wondering about, I did some tests, it's not trivial (all that python stuff.... and more)17:24
rpittauconsider that to keep the image slim we're removing packages at the end, because we don't want to keep builds dependencies, so dnf will still hit issues with repos17:24
rpittauwell, I haven't dedicated a lot of time to that, so maybe there's a solution17:24
dtantsurrpittau: I wonder if we can build all Python deps into wheels in advance17:31
opendevreviewMerged openstack/bifrost master: ILO driver retirement  https://review.opendev.org/c/openstack/bifrost/+/96517717:40
cardoeSo that's something we've done in OSH as well.17:43
cardoeI was hoping to come up with a smaller generic image and talk to kolla about sharing.17:43
cardoehttps://review.opendev.org/c/openstack/ironic/+/971453 if anyone has a moment... I'll +W with just 1 core since its a backport to make the docs correct.17:44
opendevreviewStanislav Dmitriev proposed openstack/ironic master: Allow node lookup for in-band servicing  https://review.opendev.org/c/openstack/ironic/+/97145917:48
sdmitriev1JayF: ^ let me know if you had something different in mind for the unit test part17:48
opendevreviewMerged openstack/ironic master: fix: iPXE boot interface PXE capability detection  https://review.opendev.org/c/openstack/ironic/+/97117317:54
opendevreviewDoug Goldstein proposed openstack/ironic stable/2025.2: fix: iPXE boot interface PXE capability detection  https://review.opendev.org/c/openstack/ironic/+/97146318:13
opendevreviewDoug Goldstein proposed openstack/ironic bugfix/33.0: fix: iPXE boot interface PXE capability detection  https://review.opendev.org/c/openstack/ironic/+/97146418:14
opendevreviewJay Faulkner proposed openstack/ironic master: Support filtering portgroups by shard  https://review.opendev.org/c/openstack/ironic/+/97056018:16
cardoesdmitriev1: I don't understand the test.18:16
JayFhttps://review.opendev.org/c/openstack/ironic/+/966140 could use a review18:16
opendevreviewDoug Goldstein proposed openstack/ironic bugfix/33.0: fix loading of built-in inspection rules  https://review.opendev.org/c/openstack/ironic/+/97146618:18
cardoeJayF: done18:20
cardoetrade ya https://review.opendev.org/c/openstack/ironic/+/971453 so I can backport the last one on top.18:20
JayFcardoe: feel free to review the one next in the line :)18:23
cardoe+2'd18:35
cardoehttps://review.opendev.org/c/openstack/ironic/+/971142 is another one that I'll fire off backports once it merges.18:35
cardoeThe "name" field is the the name of the Redfish Object18:38
cardoeI'll end up fixing up sushy-tools as a follow up.18:38
opendevreviewMerged openstack/ironic stable/2025.2: fix: inspection rules docs to match the code  https://review.opendev.org/c/openstack/ironic/+/97145318:52
opendevreviewDoug Goldstein proposed openstack/ironic stable/2025.2: fix loading of built-in inspection rules  https://review.opendev.org/c/openstack/ironic/+/97147118:53
opendevreviewDoug Goldstein proposed openstack/ironic stable/2025.2: fix loading of built-in inspection rules  https://review.opendev.org/c/openstack/ironic/+/97147118:56
opendevreviewJay Faulkner proposed openstack/ironic master: Support filtering portgroups by shard  https://review.opendev.org/c/openstack/ironic/+/97056019:24
opendevreviewVerification of a change to openstack/ironic master failed: Remove ovn vtep support  https://review.opendev.org/c/openstack/ironic/+/96614019:38
opendevreviewVerification of a change to openstack/ironic master failed: OCI Basic Auth/Tag access  https://review.opendev.org/c/openstack/ironic/+/96931419:47
opendevreviewNahian Pathan proposed openstack/ironic master: Reduce API calls when collecting sensor data with redfish  https://review.opendev.org/c/openstack/ironic/+/95548420:01
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic master: Fix firmware update failure when task remains in RUNNING state  https://review.opendev.org/c/openstack/ironic/+/97099820:09
cardoeTheJulia: you still around?20:25
cardoeAnyone else that plays with OVN/OVS around?20:26
opendevreviewMerged openstack/ironic master: fix redfish inspect system product name  https://review.opendev.org/c/openstack/ironic/+/97114221:01
opendevreviewVerification of a change to openstack/ironic master failed: Remove ovn vtep support  https://review.opendev.org/c/openstack/ironic/+/96614021:05
opendevreviewDoug Goldstein proposed openstack/ironic stable/2025.2: fix redfish inspect system product name  https://review.opendev.org/c/openstack/ironic/+/97148721:32
opendevreviewDoug Goldstein proposed openstack/ironic bugfix/33.0: fix redfish inspect system product name  https://review.opendev.org/c/openstack/ironic/+/97148821:33
TheJuliacardoe: I had to run out to deal with a broken down car22:31
TheJuliacardoe: and now I have a migraine22:31
cardoe:( sorry to hear.22:31
TheJuliait is what it is22:32
opendevreviewMikkel VestergĂ„rd proposed openstack/ironic master: Provide pw_file to ipmitool-socat console  https://review.opendev.org/c/openstack/ironic/+/97149222:34
cardoeJust wanted to bounce my "ovn-baremetal" extension off of someone.22:35
TheJuliacardoe: could that be tomorrow?22:35
cardoeOf course.22:35
TheJuliaok then, I'm going to go lay down and hope meds and food kick in quickly22:36
cardoeI'll just link it in here so it doesn't get lost.22:39
cardoehttps://docs.openstack.org/neutron/latest/admin/ovn/external_ports.html#scheduling-and-database-information22:39
cardoehttps://docs.openstack.org/ironic/latest/admin/ovn-networking.html#chassis-as-gateway22:40
cardoehttps://docs.openstack.org/ironic/latest/admin/ovn-networking.html#if-you-need-to-attach-to-the-network22:40
cardoehttps://docs.openstack.org/openstack-ansible-os_neutron/latest/app-ovn.html22:42
cardoehttps://docs.openstack.org/charm-guide/latest/admin/networking/ovn/external-connect.html22:42
cardoeThose are the only places I really see how to configure OVN correctly.22:44
cardoeWhich is kinda surprising to me.22:44
cardoeThe Ironic doc is the most accurate but too vague as far as the commands go. But you can take what the Ironic doc says and go to the OVN.org docs and figure it out from there.22:45
cardoeMy doc describing things https://review.opendev.org/c/openstack/neutron/+/965415 hasn't had traction.22:46
cardoeBut ultimately today you've gotta configure something like ovn-bridge-mappings="physnet1:br-ex" on your OVN22:48
cardoeYour br-ex needs to be configured on your network node to a physical NIC or bond and on your switch that needs to be plugged into a port that's a trunk port and allows the range of VLANs you'd be messing with.22:49
cardoeNot an ideal setup for folks that don't wide open settings for VLAN networks22:51
cardoeBut won't work for VXLAN.22:51
cardoeIf we want NGS in the mix we need to get local_link_connection info in.22:52
opendevreviewStanislav Dmitriev proposed openstack/ironic master: Allow node lookup for in-band servicing  https://review.opendev.org/c/openstack/ironic/+/97145922:54
cardoeToday Neutron needs OVN reads that bridge mapping here... https://opendev.org/openstack/neutron/src/commit/1a0e4115995497ac0df9ed5353fabca483a7afb1/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py#L8822:54
opendevreviewMerged openstack/ironic master: OCI Basic Auth/Tag access  https://review.opendev.org/c/openstack/ironic/+/96931422:57
cardoeIf I patch that to also read "ovn-port-mapping=br-ex:switchname1:portname1,br-ex:switchname2:portname1" (duplicated for a bond)22:58
cardoeThen my ovn-baremetal just listens for the special ports like DHCP or router or whatever (there's already a helper function to check if this port is one that's gonna land on a network node). The agents that we're landing on are already referenced. And it's a one liner lookup of the agent object with that port mapping in it.23:04
cardoeI create a port of vnic_type baremetal:network (just to make something different) and set the device-id to the actual port that neutron made23:06
cardoeThen when the neutron created port gets modified or deleted, I listen for that and look up my baremetal:network port and perform the matching operation on it.23:07
cardoeOh when I create it I set the local_link_information from that ovn-port-mapping like Ironic does in its attach VIF flow.23:07
cardoeThat's enough for NGS to be called and the port object NGS has looks no different than a port that it operates on today.23:08
opendevreviewMerged openstack/ironic master: Remove ovn vtep support  https://review.opendev.org/c/openstack/ironic/+/96614023:10
cardoeIf I cannot patch neutron then I could still require that same field and use the ovsdb API inside of neutron to read the data myself.23:11
cardoeIf I cannot do that then I could still make it work but require the cloud admin to create a port that'll have to be configured a certain way with the local_link_info already set.23:13
cardoeI don't want it to be a config file thing because that has problems as agents come and go.23:16
opendevreviewJay Faulkner proposed openstack/ironic master: Simplify ovn vtep microversion logic  https://review.opendev.org/c/openstack/ironic/+/97149423:40
opendevreviewTakashi Kajinami proposed openstack/ironic master: Use common request_id middleware  https://review.opendev.org/c/openstack/ironic/+/97097823:54

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