Thursday, 2024-01-18

rpittaugood morning ironic! o/07:50
dtantsurTheJulia: left a question on the HTTP boot patch, ptal09:51
opendevreviewMerged openstack/python-ironicclient master: Update python classifier in setup.cfg  https://review.opendev.org/c/openstack/python-ironicclient/+/90581310:12
*** dmellado747 is now known as dmellado7410:58
iurygregorygood morning Ironic11:04
*** dmellado745 is now known as dmellado7411:07
opendevreviewMerged openstack/ironic master: Validate [deploy] image_server_auth_strategy  https://review.opendev.org/c/openstack/ironic/+/90563911:18
opendevreviewMerged openstack/ironic-python-agent-builder stable/2023.2: Drop TripleO job  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/90572511:25
opendevreviewMerged openstack/ironic-lib master: [codespell] - Adding CI for codespell tox target  https://review.opendev.org/c/openstack/ironic-lib/+/90562411:29
opendevreviewMerged openstack/ironic-python-agent-builder stable/2023.1: Drop TripleO job  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/90572611:38
opendevreviewMerged openstack/ironic-python-agent-builder stable/yoga: Drop TripleO job  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/90583311:38
opendevreviewMerged openstack/ironic-python-agent-builder stable/xena: Drop TripleO job  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/90583411:38
iurygregorydtantsur, https://review.opendev.org/c/openstack/ironic/+/905626 is ready?  (I know it worked for honza, just wondering if you agree with zane's comment) =) happy to +2 it already11:38
dtantsuriurygregory: I'll check the comments first, hold on please (need more coffee)11:39
iurygregorydtantsur, sure take your time11:39
iurygregoryI'm adding to my radar and adding the hashtag to it11:39
*** priteau_ is now known as priteau12:14
iurygregorydtantsur, just checking but https://github.com/openstack/ironic-python-agent-builder/commit/9da0cf41d446e11651a5bd8b111cfd13a02d76b6 is the fix for  https://bugs.launchpad.net/ironic-python-agent-builder/+bug/2043112 ?13:29
dtantsuriurygregory: yep. the automation does not close these bugs properly..13:31
iurygregorydtantsur, I think you missed in the commit message .-.13:31
dtantsurAh, right13:31
dtantsurBut I did see this issue with other patches13:31
dtantsurIIRC an IPA-builder patch actually closed the Ironic half of the bug. Or something like that.13:32
dtantsurAnyway, thanks for tracking it13:32
iurygregoryyw =), ack I will keep an eye to see if I can find the ones that automation failed 13:32
iurygregoryyup automation is a bit crazy indeed https://bugs.launchpad.net/networking-baremetal/+bug/2046962 https://review.opendev.org/c/openstack/networking-baremetal/+/903995/13:37
iurygregoryJayF, https://bugs.launchpad.net/ironic-python-agent/+bug/2047654 I think we can mark as Fix Released 13:41
iurygregoryhttps://bugs.launchpad.net/ironic/+bug/2049754 this one is interesting, maybe there is something missconfigured in Kolla ? 13:51
opendevreviewMerged openstack/ironic-python-agent-builder stable/zed: Drop TripleO job  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/90583214:04
JayFiurygregory: was going to use that to track across all repos but I'm okay if it's closed during that14:11
iurygregoryJayF, it makes sense to re-use across all repos, I will add some of them and mark ipa as released14:14
TheJuliadtantsur: replied14:58
dtantsurthanks, will check a bit later (was not a blocking concern)15:11
TheJuliaIt could be reasonable to enable such a mode as a flag or config, just I wouldn't do it out of the box given some of the input we've gotten and context we have.15:12
TheJuliaif that is *just* "hey, use UEFIHTTP instead of PXE"15:12
iurygregoryhttps://bugs.launchpad.net/ironic/+bug/2021995 the only patch for ironic was https://review.opendev.org/c/openstack/ironic/+/885549, so I think we can mark as Fix Released?15:30
rpittauiurygregory: sounds good15:44
opendevreviewDmitry Tantsur proposed openstack/ironic master: Don't create a hardlink to a symlink when handling file:// URLs  https://review.opendev.org/c/openstack/ironic/+/90562615:51
dtantsuriurygregory: finally ^^15:51
JayFthat pr topic just startled some grizzled unix admin out of a nightmare16:01
JayFlol16:01
iurygregorydtantsur, ack =)16:02
iurygregoryanyone has thoughts on https://bugs.launchpad.net/ironic-inspector/+bug/1635253 ? I think we already do this, just wanted to confirm (since it says that inspector change is in progress but I couldn't find any lol)16:02
dtantsurNo idea if an inspector change was even needed16:03
rpittauthe inspector change probably was not needed16:04
iurygregorytks!16:08
Sandzwerg[m]<TheJulia> "Sandzwerg: nothing we would be..." <- I really have no clue. I'm not aware of any automation but I could be wrong. Need to dig a bit deeper into a DHCP issue though. 16:36
TheJuliahmmmm16:41
TheJuliaokay16:41
*** tosky_ is now known as tosky16:41
Sandzwerg[m]Like these are the first nodes we try with redfish only. Although switching to redfish+ipxe worked without any issues. So maybe I'm missing something important or I'm holding something wrong16:44
rpittaugood night! o/16:52
TheJuliadtantsur: w/r/t inspector, how do you feel about https://review.opendev.org/c/openstack/ironic-inspector/+/906011/2/ironic_inspector/cmd/__init__.py ?17:12
JayFUugh, if we can't do 906012, 906011 is also really not okay either17:19
JayFfor purposes of me having a complete thought to bring to itamar downstream when I WTF in his direction about this whole thing; what's the reason we can't/don't monkey_patch() in wsgi caseS?17:21
JayFI know we don't; but I don't remember why/what the issue is with doing so17:21
TheJuliawell, it at least isolates down to the command file invocation17:23
JayFI also know how wsgi entrypoints are being done is changing, I think next cycle with PBR changes17:23
JayFand eventlet U-C update was pushed17:23
JayFso I wonder if there's an intersecting point there where we can dodge this problem17:23
JayFpushed->reverted17:27
TheJulia... not sure I follow your train of thought there without further context as to what your thinking17:27
dtantsurTheJulia: ironic_inspector.cmd.wsgi:initialize_wsgi_app17:28
dtantsurwe cannot use cmd either, unless we move the script17:28
TheJuliaso we've had it wrong all along then17:29
TheJuliaand we've been monkey patching eventlet in wsgi all along17:29
dtantsur\o/17:31
JayFWhich means either: 1) we've had bugs or 2) the idea we can't was wrong17:31
dtantsurCould be the source of some weird issues we've had17:31
dtantsurWell. Some WSGI containers are compatible with eventlet. Gunicorn, for instance, has an option for that.17:31
dtantsurIt's possible that even an eventlet-unaware container can more or less work. But that's an uncharted territory, especially in the presence of OS threads.17:32
TheJuliaI well, we could move it to each individual file *except* the wsgi one17:34
TheJuliawell, where it makes sense17:34
TheJuliafor autodoc though, we would *still* need to catch RuntimeError17:34
JayFHow does this work in Ironic?17:34
JayFIronic doesn't have this class of issue, right?17:34
TheJuliaironic doesn't invoke werkzeug17:34
dtantsurironic.api.wsgi:initialize_wsgi_app - not under cmd17:35
TheJuliait likely gets autodoc'ed though17:35
JayFso ironic autodoc does not get monkey_patched and it doesn't matter17:35
JayFit does in inspector because werkzeugt17:35
JayFhmm17:35
dtantsurIronic monkey patches in 17:35
TheJuliayup, it gets loaded somewhere along the path of autodoc's run and when it sees the monkey patch attempt it blows up17:35
JayFI wonder if instead of autodoc_fake_import = [eventlet] I could autodoc_fake_import = [werkzeug] and get something to work17:35
dtantsur$ ag -l monkey_p17:36
dtantsurironic/cmd/__init__.py17:36
dtantsurironic/tests/unit/__init__.py17:36
dtantsurironic/tests/base.py17:36
dtantsurand doc/source.conf.py17:36
JayFdoc/source/conf.py is *in the docs runner* not in the autodocs run17:36
JayFwhich is a separate python instance17:36
JayF(sadly, or else it'd be the easy fix for inspector)17:36
TheJuliale sigh17:36
JayFI am like .00001% tempted to try and monkey patch sphinx autodoc to call monkey_patch() itself before going the autodoc'ing lol17:37
dtantsur:D17:37
dtantsurGood that we did not finish the migration of Ironic to Flask17:38
JayFEh, this is a speed bump, we can figure this out.17:38
JayFI'm at least for once happy to have a problem that 1) reproduces every time 2) without a $xx,xxx piece of hardware17:39
JayFeven if it's *this one*17:39
TheJuliaI'm just unhappy it blocks me until we've got it sorted out17:39
JayFCould we do something more drastic? Disable autodoc on inspector?17:40
JayFI would prefer that to the PR to except RuntimeError17:40
TheJulia... we could actually, we've largely signaled "it is going away"17:40
dtantsurGiven the inspector's status... possibly17:41
dtantsuryeah17:41
dtantsurSome links are going to be broken, both inside and outside the docs17:41
JayFI *think* there's a middle ground here17:41
JayFwhere we could have autodoc generate some files we could commit to source/17:41
dtantsurmeanwhile, https://review.opendev.org/c/openstack/ironic/+/905626 has 2x +2, I can haz a W+1?17:41
TheJuliaI'm not sure it would be a ton, but we could commit the source from the folder17:41
TheJulia... maybe17:41
TheJuliaerrr17:41
TheJuliano, that is just pointer details17:41
JayFdtantsur: yeah will +2a17:41
JayFTheJulia: that might be the trick17:42
JayFTheJulia: if we tell it to autodoc specific modules, but not ironic_inspector.where_we_monkey_patch that might do the trick?17:42
dtantsurit's quite possible that we only care about the plugin (= hooks) API17:42
JayFthat is not awesome17:42
TheJuliaJayF: afaik it is not in the option list for autodoc17:42
TheJuliawell, exclude is not from what I saw17:43
JayFTheJulia: dtantsur: I am +1 to nv'ing the inspector docs job OR disabling autodoc to unblock 17:43
JayFand I will take a priority action today to try and find a softer landing?17:43
JayFeither from a tech side on making autodoc work, or on a side of mitigating downsides from turning it off17:43
* dtantsur needs to go now, trusting you to make the right call17:43
JayFbut lets not block work on a docs build issue when we can just disable the job and have docs remain up while we fix the root cause17:44
TheJuliaI need to step outside, once done with that, I can turn off autodoc and see where we're at17:44
TheJuliaor, actually17:44
TheJuliawe could just outright disable docs builds completely via nv-ing it for now17:44
TheJuliawell, just don't gate on it at the moment17:44
JayFthat's what I'm saying17:44
TheJuliaokay, that is easy17:45
JayFthe nv is probably the better route for unblocking now17:45
JayFI'll put an ironic meeting agenda item about it17:45
JayFjust so we have a pin in place for it not to get dropped17:45
TheJuliaerrr17:45
TheJuliadocs come from the pti template17:45
* TheJulia wonders how we override a failing docs job17:45
JayF# spinhx-build -fdsgsfdgsfd17:45
JayFin tox.ini ;) 17:45
JayFor `echo sphinx-build -faflhgsgkdfjghs`17:46
JayFpick your poison17:46
TheJuliaits not a matter of changing the flag17:46
JayFI'm saying make it noop17:46
TheJuliasince it is a RuntimeError which gets raised17:46
TheJuliaoh, heh17:46
JayFbut that doesn't matter, it'll still run in post and try to publish17:46
JayFwhich we do need to disable17:46
TheJuliawell post failing isn't awful, as long as it doesn't wipe out what has already been posted17:56
JayFwell that's more my concern; if we have a tox job run that doesn't populate build/ 17:57
JayFwill it just happily upload a blank17:57
* TheJulia tries locally17:58
JayFTheJulia: I'd suggest asking g mann or someone opendev before going too far down the rabbithole yourself, we can't be the first folks to wanna do this17:58
TheJuliaI just explicitly asked, since noop state might blow up publishing in bad ways we can't predict without knowing the fine details there18:01
TheJuliaand fixing it afterwards right now wouldn't be happy path18:01
opendevreviewJulia Kreger proposed openstack/ironic-inspector master: CI: Disable docs voting for now  https://review.opendev.org/c/openstack/ironic-inspector/+/90605918:07
JayFTheJulia: that proposed patch doesn't disable the post job, I think?18:11
TheJuliapost job can silently fail and that won't break us afaik18:11
JayFack; that makes sense18:12
TheJuliaand CI didn't fail on the change, but nor did it fail overall18:33
TheJuliaThere is also a distinct lack of t'pol videos of her going "interesting" or "facinating"18:35
iurygregoryshould I +W https://review.opendev.org/c/openstack/ironic-inspector/+/906059 in this case? 18:45
TheJuliadunno18:45
TheJuliaI rechecked https://review.opendev.org/c/openstack/ironic-inspector/+/90535318:46
iurygregoryack18:46
TheJuliaand the docs job did pass18:56
TheJuliaso... \o/18:56
fricklerwell the eventlet bump in u-c got reverted18:59
TheJuliaahh, so percieved bugs -119:03
opendevreviewVerification of a change to openstack/ironic master failed: Don't create a hardlink to a symlink when handling file:// URLs  https://review.opendev.org/c/openstack/ironic/+/90562619:21
JayFTheJulia: yeah, I'm still going to wire up a master eventlet job to exercise the failure though20:25
JayFTheJulia: https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#skipping-members WDYT about a `ironic_inspector/eventlet_patcher/__init__.py` which, on import, monkey-patches. We then import that first thing from the places we monkey-patch currently, and we set skip-members for the eventlet_patcher module20:26
JayFI've not tested it but have been reading code and docs and don't see a reason this wouldn't work20:26
opendevreviewMerged openstack/ironic stable/2023.1: Revert "Revert "RBAC: Fix allocation check"" to use Unauthorized  https://review.opendev.org/c/openstack/ironic/+/90590220:52
opendevreviewMerged openstack/ironic-inspector master: Fix RBAC access for service/admin user access  https://review.opendev.org/c/openstack/ironic-inspector/+/90535321:09
opendevreviewJay Faulkner proposed openstack/ironic-inspector master: Add jobs targetting eventlet master to exp queue  https://review.opendev.org/c/openstack/ironic-inspector/+/90607022:57
opendevreviewJay Faulkner proposed openstack/ironic-inspector master: Add jobs targetting eventlet master to exp queue  https://review.opendev.org/c/openstack/ironic-inspector/+/90607023:10
opendevreviewJay Faulkner proposed openstack/ironic-inspector master: Add jobs targetting eventlet master to exp queue  https://review.opendev.org/c/openstack/ironic-inspector/+/90607023:29

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