Tuesday, 2024-03-12

opendevreviewSteve Baker proposed openstack/sushy-tools master: Add virtual-media-boot to openstack driver  https://review.opendev.org/c/openstack/sushy-tools/+/90676802:17
opendevreviewSteve Baker proposed openstack/sushy-tools master: Add virtual-media-boot to openstack driver  https://review.opendev.org/c/openstack/sushy-tools/+/90676803:56
rpittaugood morning ironic! o/07:32
rpittauJayF, TheJulia, sorry about the duplicate work, I mentioned my patch multiple times yesterday :)07:32
rpittauJayF, TheJulia, did you check the metalsmith legacy job in IPA ?07:33
rpittauI'm wondering if it's an issue with parted on the new tinycore image07:45
rpittauI will disable it for the time being while we investigate, going to modify the same unit test fix patch07:47
dtantsur++07:52
rpittaummmmm my git review gets stuck08:15
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent master: Fix unit tests after ironic-lib changes  https://review.opendev.org/c/openstack/ironic-python-agent/+/91048008:15
rpittauoh there you go :)08:15
opendevreviewRiccardo Pittau proposed openstack/ironic master: [WIP] Implement generic redfish vmedia attach detach  https://review.opendev.org/c/openstack/ironic/+/91251609:29
opendevreviewRiccardo Pittau proposed openstack/ironic master: [WIP] Implement generic redfish vmedia attach detach  https://review.opendev.org/c/openstack/ironic/+/91251609:33
opendevreviewRiccardo Pittau proposed openstack/ironic master: [WIP] Implement generic redfish vmedia attach detach  https://review.opendev.org/c/openstack/ironic/+/91251609:38
iurygregorygood morning Ironic11:16
opendevreviewRiccardo Pittau proposed openstack/ironic master: [WIP] Implement generic redfish vmedia attach detach  https://review.opendev.org/c/openstack/ironic/+/91251613:29
TheJuliarpittau: legacy bios booting?14:41
rpittauTheJulia: yes, I've disabled the job here https://review.opendev.org/c/openstack/ironic-python-agent/+/910480 cause it's blocking the CI for all IPA14:42
TheJuliaI really think we could drop the other image building path at this point and most testing around bios booting as well14:44
dtantsurmorning TheJulia. With the new service steps, how far are we from things like updating BIOS settings / firmware upgrades on active nodes?14:54
TheJuliadid we add the decorator?14:54
TheJuliaI don't remember14:54
dtantsurTheJulia: adding a decorator is not a problem, I'm more interested in the general possibility (if you know)14:54
TheJuliaI suspect if we did, it should just work but that specific usage has not been explicitly tested14:55
dtantsurOkay, I know someone who may have to test it urgently :)14:55
TheJuliayay and sorry14:55
TheJuliaI do remember I went a bit overboard on some of the unit testing, so sort of hoping it all falls into "just works"14:56
dtantsurDo we recover boot devices and stuff like this?14:56
* dtantsur is curious about lenovo with its UEFI quirks14:56
TheJuliait is just one time boot requests if memory serves14:57
TheJulialenovo's issues were explicitly we made nvram changes in the running OS and then tried to go "hey, do this" via the bmc which causes a reset14:57
TheJuliaspeaking of, CI really doesn't love the functional tests these days14:57
dtantsuryeah, so I wonder if we get this sort of a reset here14:57
dtantsurwhen we temporary switch to IPA14:58
TheJuliaI would sincerely hope not, but if it gets recorded as something to persistently boot to by the firmware, then that is sort of a bug14:58
TheJuliapossibly one we can teach IPA to navigate around14:58
dtantsurOkay, yeah. I only care about Dell/HPE initially, as usual.14:59
dtantsurI'm glad you haven't said "no way" at least :D15:01
TheJuliaNah, it is all just very fuzzy since I'm pulled in so many different directions15:12
dtantsuroh I hear ya15:18
dtantsurthis is one more completely unexpected (not to say unpredictable) direction for me15:18
TheJuliaYeah, I seem to remember discussing "eventually, this will come up"15:22
* dtantsur nods15:34
opendevreviewMerged openstack/ironic stable/2023.1: [iRMC] Fix IPMI incompatibility handling error  https://review.opendev.org/c/openstack/ironic/+/88527516:00
rpittaugood night! o/17:21
opendevreviewVerification of a change to openstack/ironic master failed: Special case lenovo UEFI boot setup  https://review.opendev.org/c/openstack/ironic/+/90894617:23
cid"introduce an API version where any special treatment of .json is disabled in the API", but still maintain compatibility with the guess_content_type_from_ext feature?18:47
cidhttps://bugs.launchpad.net/ironic/+bug/174822418:47
JayFThanks for picking that up, I'd absolutely make sure to test it still is an issue ebfore you change it18:53
cidsure thing18:56
opendevreviewJulia Kreger proposed openstack/ironic master: docs: augment admin troubleshooting docs for system scope context  https://review.opendev.org/c/openstack/ironic/+/90820319:20
opendevreviewVerification of a change to openstack/ironic master failed: Special case lenovo UEFI boot setup  https://review.opendev.org/c/openstack/ironic/+/90894619:25
dkingIs there a reason that you don't use any faker in your unit tests?20:00
JayFFor IPA, we usually use actual output from physical machines when possible. I'm not sure faker would provide us a lot of vvalue in that case20:06
JayFIt's not in openstack global requirements, but we don't have to have testing packages coinstallable so that doesn't mean nothing openstack uses it. hmm20:06
dkingJayF: I'm on the IPA unit tests for hardware.py. It seems like there's a bunch of tests, but they all just use the same few device names. It feels like the tests could be a lot more robust if you were using something like `faker.unix_device()` rather than just literally '/dev/sdj' for all of the tests.20:08
dkingI suppose that it's from habit, but it feels a little dirty to me to just put in literal values where those actual values aren't what's expected from the code. In my personal tests, I even setup a fake BlockDevice so that I can just fill in the bits that I care about but otherwise quickly generate a fake BlockDevice. Here, even the names faked would make things more robust.20:11
JayFI'm not sure I share that perspective, but that kind of approach-change is best proposed and advocated for at the PTG, when there are lots of people there to build consensus20:16
dkingYeah, it's not something that I would personally change, but I was just wondering if there was a reason for it to be like it is.20:16
JayFFor IPA, and unit tests, our primary goal is to mimic the environment it runs in, and that has usually taken the shape of "get real data from a machine and redact it" or "craft data that represents a real machine that exists"20:17
TheJuliaWe've had to add a number of "oh, $thing is slightly different over here" test cases over the years :(20:19
dkingMaybe you'd catch a bunch of those "slightly different" if the code faked some values, catching a lot issues with different variations.20:21
dkingAlso, are the IPA unit tests still known to be broken? I've seen some tickets regarding that, but running tox from the latest master I pulled still seems to fail with an error.20:23
JayFPatch is in the gate now, one sec20:25
JayFhttps://review.opendev.org/c/openstack/ironic-python-agent/+/91048020:27
dkingAwesome.20:28
opendevreviewSteve Baker proposed openstack/sushy-tools master: Add virtual-media-boot to openstack driver  https://review.opendev.org/c/openstack/sushy-tools/+/90676820:41
opendevreviewMerged openstack/ironic-python-agent master: Fix unit tests after ironic-lib changes  https://review.opendev.org/c/openstack/ironic-python-agent/+/91048020:54
jamesdenton__TIL the inspector processing hooks were required to make lldp stuffs actually... visible. I am dense.21:32
JayFyou are not the first person to make that mistake21:36
jamesdenton__they seemed more like... a suggestion21:37
jamesdenton__"who WOULDN'T want this"21:37
jamesdenton__:D21:37
JayFFeel free to reword the docs to emphasize that if you think it'll help21:37
jamesdenton__hey now21:38
jamesdenton__i'd rather complain21:38
jamesdenton__"These are plugins that are enabled by default and should not be disabled, unless you understand what you’re doing" ... "Here are some plugins that can be additionally enabled". Like I said, i'm just dense.21:39
JayFSo, I took this feedback and shared it with the contractor working w/GR-OSS right now on Ironic docs21:40
JayFso at least you're not screaming into a well :P 21:40
jamesdenton__appreciate that. If there's a way to word it and make it more obvious, i create a PR21:41
JayFif I were tackling it, I'd probably take the quoted portion and put it in a ..note or ..warn or similar21:42
TheJuliasome people know it...21:42
jamesdenton__yes, that might be helpful. or even something like "by default, lldp information may be gathered in raw format but not processed in human-readable format without these plugins enabled"21:42
TheJuliaalthough I had a call with a customer on friday where I was like "and inspection is optional... oh wait, you use an ml2 plugin... inspection is required unless you populate the port connection data"21:43
jamesdenton__i mean, part of the problem is that i think i know more than i do about how any of this works :D21:43
jamesdenton__@TheJulia i am trying to avoid populating the port connection data, abslutely21:44
jamesdenton__absolutely, rather21:44
TheJuliaheh21:44
TheJulia:)21:44
jamesdenton__But, even then i think i'll need to fudge it some, since these are all port channels and the configuration i end up applying with NGS needs to hit PortChannel11 vs Ethernet1/121:45
JayFGood thing those inspection collectors/processors are pluggable (I think?)21:45
jamesdenton__it says they are21:46
JayFFor portchannel stuff, the stackhpc folks know how to set that up with NGS if we don't have it well documented21:48
TheJulia... can you detect the channel name in static config?21:48
TheJulia++21:48
* TheJulia should go load up the zed ci as a distraction, since the distraction I want... ice skating, is not an option tonight21:49
JayFI need to fix up a release patch and write the release notes prelude21:49
JayFbut I think I left my focus somewhere outside when walking my dog lol21:49
jamesdenton__I assumed the port channels needed to already be configured on the switch, then the local_link_connection for a given nic port would reference the portchannel name vs the switchport name. At least, that's how it used to be done, with port groups21:49
JayFI know we work with portchannels downstream, and I don't think that's enabled with patches but I'm not sure21:50
JayFand we absolutely flip things in/out of tenant/provisioning/cleaning vlans21:50
JayFthat's just a handwavy part of the infra to me right now, honestly, I should go deeper21:50
TheJuliait is also an area where things start to become vendor specific21:51
JayFI think it's at that perfect confluence of: 1) if you want to do this, you know how; 2) everyone has different/strong opinions about the 'right way' to do it (including maybe other depts at your company) 3) it's vendor specific-ish21:51
TheJuliaI know derek once had a customer complain the lldp data suddenly was different.... they upgraded the switch firmware21:51
TheJuliaand 4) because of 1-3, people tend not to write docs/share their experiences as much21:52
jamesdenton__agreed21:52
JayFit's like with the CMDB stuff, I think there's a second dimension21:52
JayFit's not /useful/ to share your experiences21:53
TheJuliaeven when you also hit a bug on the path21:53
JayFbecause your network design/philosophy and your cmdbs usually are more of a map to how your company thinks about computers than they are technical entities21:53
TheJuliayou also might not recognize that21:53
TheJuliayup21:53
jamesdenton__Well, i will try to share these bumps and bruises on the blog soon.21:54
JayFso everywhere I've worked (including jamesdenton__'s employer) just hit it with a hammer until it was flat and then was like NOBODY TOUCH ANYTHING :D 21:54
TheJuliaI hope a forge was involved in this process21:54
clarkbsometimes that lack of even communicating it is possible leads to peopel assuming it isn't possible which is its own set of problems21:55
TheJuliajamesdenton__: just keep in mind, nobody wants you to hit bumps and have bruises as a result21:55
jamesdenton__of course, but they're inevitable, especially when one doesn't read the instructions and/or uses a deploy tool that doesn't really spell things out, either21:56
jamesdenton__not the fault of anyone here, really, i promise. you all are top notch in my book :)21:57
JayFjamesdenton__: you still need to give me a place to send some swag21:57
jamesdenton__ahh yeah i'll ping ya21:57
JayFjamesdenton__: and if I find it, I might pass on (at least one of the two) onmetal flags I possess21:57
JayFassuming you and your team are up to take on the mantle :P 21:57
jamesdenton__we are up for the challenge21:58
TheJuliaOkay, public skating time at the ice rink is on Thursday, not Wendesday.21:59
JayFhttps://usercontent.irccloud-cdn.com/file/O0AxH0dT/1000004465.jpg21:59
* TheJulia creates a sql update for her brain21:59
jamesdenton__JayF rock on22:00
JayFjamesdenton__: ^ I suspect the white/red/black vinyl one was left in the ck offices or was sent to mark 22:00
JayFuh, silence22:00
* TheJulia wanders off into the world of zuuuuul22:03
opendevreviewJulia Kreger proposed openstack/ironic stable/zed: stable only/ci: pin CI to dnsmasq 2.85/pin proliantutils/scciclient  https://review.opendev.org/c/openstack/ironic/+/91115822:22
opendevreviewMerged openstack/ironic master: Special case lenovo UEFI boot setup  https://review.opendev.org/c/openstack/ironic/+/90894622:28
opendevreviewMerged openstack/ironic-lib stable/2024.1: Update TOX_CONSTRAINTS_FILE for stable/2024.1  https://review.opendev.org/c/openstack/ironic-lib/+/91187122:29
JayFoh wow22:44
JayFso 2023.1 -> 2024.1 slurp this time22:44
JayFwould take you from22:44
JayFIronic 21.4.x to Ironic 24.1.x22:44
JayFnot a typo22:44
TheJuliaheh, nice22:45
opendevreviewJay Faulkner proposed openstack/ironic master: Release notes prelude for 2024.1/24.1  https://review.opendev.org/c/openstack/ironic/+/91267922:59
opendevreviewJulia Kreger proposed openstack/ironic stable/zed: stable only/ci: pin CI to dnsmasq 2.85/pin proliantutils/scciclient  https://review.opendev.org/c/openstack/ironic/+/91115823:29
opendevreviewJacob Anders proposed openstack/sushy-tools master: [WIP] Replace hardcoded BiosVersion with an updatable field  https://review.opendev.org/c/openstack/sushy-tools/+/90948723:52
opendevreviewJacob Anders proposed openstack/sushy-tools master: [WIP] Replace hardcoded BiosVersion with an updatable field  https://review.opendev.org/c/openstack/sushy-tools/+/90948723:54

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