Friday, 2022-09-16

arne_wiebalckGood morning, Ironic!06:06
jandershey arne_wiebalck o/07:07
jandersHappy Friday!07:07
arne_wiebalckhey janders!07:46
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793510:00
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793510:17
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Rename include_dhcp_server -> enable_dhcp for consistency  https://review.opendev.org/c/openstack/bifrost/+/85809010:33
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793510:56
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Rename include_dhcp_server -> enable_dhcp for consistency  https://review.opendev.org/c/openstack/bifrost/+/85809010:56
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793511:19
iurygregoryhappy friday Ironic o/11:24
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793511:43
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install EPEL from the internet if it's already installed  https://review.opendev.org/c/openstack/bifrost/+/85809911:46
opendevreviewmitya-eremeev-2 proposed openstack/ironic master: Delete resource provider after node deletion.  https://review.opendev.org/c/openstack/ironic/+/82729511:49
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install EPEL from the internet if it's already installed  https://review.opendev.org/c/openstack/bifrost/+/85809912:03
dtantsurJayF: I think I'm getting somewhere with https://review.opendev.org/c/openstack/bifrost/+/857935/ finally12:17
* dtantsur takes a break12:17
dtantsurJayF: pinged kolla folks about their job failure14:06
dtantsurcannot understand why exactly14:06
JayFdtantsur: What kolla job failure?14:07
JayFoh, I have the wrong change up14:07
JayFaha THAT kolla job failure lol14:07
dtantsursorry, I'm still in the context of the grub2 issue14:07
JayFNo, it's fine, I was too, just staring at a different review thinking it was that change14:08
dtantsurwhat I think is happening is that they don't allow installing or even downloading packages in the bootstrap phase. hmm.14:09
JayFThere is a *lot* of error noise in that kolla run14:09
JayFeven if it's not causing the failures14:10
JayFmakes it tough to troubleshoot :| 14:10
dtantsurhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_fee/857935/6/check/kolla-ansible-ubuntu-source-bifrost/fee5f91/primary/logs/ansible/deploy-bifrost14:12
dtantsurthis is the real one14:12
JayFSo they don't even have repo mirrors setup at that ... stage in the ansible run?14:13
dtantsuryep. they split the install and boostrap stages14:14
dtantsurso I need to move the actual download to the install stage. sigh.14:14
dtantsurback to the drawing board14:14
opendevreviewJay Faulkner proposed openstack/ironic master: Document existence of non-production "fake" driver  https://review.opendev.org/c/openstack/ironic/+/85798414:20
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793514:37
dtantsurJayF, I hope this ^^ makes everyone happy14:38
JayFdtantsur: on a re-run of bifrost, if there's a newer efi shim available, will it be used or will the cached copy be used forever?14:39
dtantsurJayF: should be refreshed14:39
JayFack I'll review once ci is done14:42
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793514:57
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793515:26
dtantsuryou would assume that a person with my title can write a simple ansible playbooks in less than a dozen of attempts.. no.15:26
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793515:44
arne_wiebalckJayF: we used the fake driver extensively in production for node adoption ... not sure I added sth to our documentation about this ... but it could be another use case in addition to "testing" (we have used this on 1000s of nodes)15:51
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85793515:58
TheJuliadtantsur: as you get promoted, you forget how to do things except arcane stuff like... sqlalchemy16:13
dtantsursigh16:13
TheJuliaspeaking of, I need to make some coffee and try to get test_migrations.py sorted today16:13
dtantsurgood luck!16:24
dtantsurand have a nice weekend afterwards16:24
JayFarne_wiebalck: I suspected such a use case existed, but I don't understand it well enough to document it there. Can you help me understand or perhaps propose some language on that PR I can add? 18:10
JayFarne_wiebalck: FWIW, I've also used fake driver at places for adoption-like workflows; but bluntly it was not a pattern I'd suggest to most ironic users (and thought it was bad practice at that job, but couldn't fix it)18:10
arne_wiebalckJayF: https://techblog.web.cern.ch/techblog/post/ironic-nova-adoption/ explains what we did. I think we discussed at some point to transform that post into a "recipe" in our docs. If that would happen, you could just reference it :) I can have a look. Unless we think that using the fake driver for this adoption use case is not recommended, you could just mention it for now w/o going into detail.18:32
JayFThat's basically the pattern from the other job that I thought was non-ideal; but it's clear I'm the minority on that so I'm happy to document that use case and might even link back to that blogpost18:34
arne_wiebalckoh, that is also a possibility and saves a rewrite18:35
JayFI mean, let me put it this way: I saw a bug about this being documented and it was labelled as low hanging, I didn't think it was low hanging so I just picked it up18:35
arne_wiebalckall I can say is that it worked for us, I have not heard many other opinions yet :)18:35
JayFI think it's reasonable to do a thin layer of comments and link back to the blogpost, and later if we want we can migrate that into a bigger doc for ironic-proper18:35
JayFarne_wiebalck: eh, I think my objections all funnel back into the "snowflakes vs cattle" kind of argument that's been circling openstack for a decade :)18:36
arne_wiebalckJayF: heh18:36
TheJuliaTurns out hardware is full of pet cattle18:40
arne_wiebalckTheJulia: yeah!18:43
opendevreviewJulia Kreger proposed openstack/ironic master: Phase 3 - SQLAlchemy 2.0 Compatability  https://review.opendev.org/c/openstack/ironic/+/85793218:57
TheJuliaI *think* it is good. I think19:00
TheJuliacat py3.out |grep RemovedIn20|wc -l19:02
TheJulia019:02
JayF\o/19:12
TheJuliathat was a bit of a pain to figure out what they actually meant with the errors for test_migrations19:12
rlooJayF: i think the 'snowflake' etc is a bit late, given that we have 'adoption' in ironic. (caveat, i don't know the entire context, just skimming above discussion with arne ;) if i recall, yahoo does a similar thing as cern wrt adoption...19:13
JayFheh, you must have missed the part where I said a previous employer used that flow but I didn't think it was a good pattern :P 19:13
TheJuliaheh19:14
JayFrloo: TheJulia: we should have a meeting of the minds at some point about https://review.opendev.org/c/openstack/ironic/+/840006 since it seems like rloo and I have nearly-opposite review feedback w/r/t telling the API caller they are limited by abuse prevention19:16
TheJuliayeah :(19:16
TheJuliathe whole intent was not just mechanical prevention of process gone awry but also the malicious human attacker19:17
rlooJayF: which particular feedback?19:17
JayFliterally the last comment made on that linked PR19:17
JayFe.g. if we should spit out limit value in the API response that was blocked by the ops limits19:17
JayFIMO; we should not, as it's giving information to a malicious attacker about how to improve their attack19:18
rloooh. i was just wondering. you have a good reason not to. so we shouldn't :)19:18
JayFI'm going to quote that in the PR so it's written down, since I doubt TheJulia wants to go heads-up from the sqla 2.0 work :D19:18
TheJuliaI'm semi-brain fried19:18
TheJuliaI'm thinking of tossing jumk into the dumpster and going up the home away from home for a week19:19
TheJuliaand hopefully jumping into a pool later tonight19:19
rloosorry, i'll reply. was there anything else there JayF?19:19
JayFthat's the only piece of disagreement aiui19:20
JayFI put the comment on it already, you don't have to19:20
rloothx JayF!19:20
TheJuliathat was the only thing I saw when I looked at it last19:20
* TheJulia should just eat something and go toss stuff in the dumpster19:20
JayFRuby had a large number of comments that are valid other than that one; but I think any contention is gone now19:20
JayFand if you need to go weekend you should go weekend :D 19:20
JayFyou've done a hell of a job on getting the sqlalchemy 2.0 compatability going19:21
TheJuliaI think most of her comments were follow-up worthy, but monday()19:25
JayFyep, no rush19:25
JayFI just wanted to get it unstuck while we were all in IRC :D19:26
opendevreviewJay Faulkner proposed openstack/ironic master: Document existence of non-production "fake" driver  https://review.opendev.org/c/openstack/ironic/+/85798419:48
JayFarne_wiebalck: ^ See what you think about the wording there19:48
opendevreviewJay Faulkner proposed openstack/ironic master: Document existence of non-production "fake" driver  https://review.opendev.org/c/openstack/ironic/+/85798419:51
opendevreviewJay Faulkner proposed openstack/ironic stable/xena: Do not reboot into nowhere after BIOS settings with fast-track  https://review.opendev.org/c/openstack/ironic/+/85620520:04
JayFSo it looks like CI is broken on (at least) bugfix/21.0 and bugfix/20.220:13
JayFfailures that look a lot like the ones here https://review.opendev.org/c/openstack/ironic/+/856191 except I've reproduced them locally without that patch20:13
JayFit's very suspicious because it smells like DB20:13
JayFhonestly, makes me wonder if it's an eventlet version thing, perhaps?20:14
JayFgiven how it's failing20:14
JayFI guess I should check master too, eh20:15
JayFmaster is working; going to attempt to go down a level (yoga) and see if they work20:18
JayFand yoga works, so it's literally just bugfix/21.0 and 20.220:20
JayF...could it be the oslo.db stuff?20:20
JayFdoes that fix need backport?20:21
JayFsince those are zed-based branches...20:21
JayFhttps://review.opendev.org/c/openstack/ironic/+/856507 looks like dmitry already backported it, I was +220:23
JayFgoing to ensure unit tests pass here then approve as a single core to fix CI20:23
JayFthat looks like the fixer, landing it20:27
JayFrechecking the bugfix/20.2 patch as it had unrelated failures, will land it when 21.0 makes it outta the gate .... if I'm not here then, and you wanna land it, it's here: https://review.opendev.org/c/openstack/ironic/+/856508 20:29
TheJuliaJayF: yeah, we need to backport the patch20:30
TheJuliasince they can pull in oslodb 12.120:30
JayFyeah, I eventually got there lol20:30
JayFthe fix for bugfix/21.0 is in the gate now, I just approved it without a second +220:31
TheJuliasounds good20:31
JayFI'll watch, when that hits I'll push buttons for 20.2 as well20:31
TheJuliak20:31
JayFweren't you having an early weekend? :) 20:31
opendevreviewMerged openstack/ironic bugfix/21.0: Fix compatibility with oslo.db 12.1.0  https://review.opendev.org/c/openstack/ironic/+/85650720:43
TheJuliaJayF: eh, yeah, but still getting things together21:16
opendevreviewJay Faulkner proposed openstack/ironic-python-agent stable/xena: Fix software raid output poisoning  https://review.opendev.org/c/openstack/ironic-python-agent/+/85777221:32
*** tosky is now known as Guest76521:33
*** tosky_ is now known as tosky21:33
opendevreviewMerged openstack/ironic bugfix/21.0: Redfish: Consider password part of the session cache  https://review.opendev.org/c/openstack/ironic/+/85619121:55

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