Friday, 2023-05-26

TheJuliacontinuity: how does it hang?00:07
TheJuliaI'd use dib, but I don't know. arne_wiebalck are y'all using rocky at all?00:08
TheJuliastepping away shortly for the evening00:08
TheJuliaand arne is the EU, so expect delays00:08
TheJulia:)00:08
continuityyeah im also in the EU, and should be asleep :D00:13
continuityit gets part way through the boot then throws "dracut initqueue timeout"00:14
continuityI think to be honest its time to get some sleep and come at it frsh00:14
opendevreviewMerged openstack/bifrost master: Simplify set_fact for ssh_public_key  https://review.opendev.org/c/openstack/bifrost/+/87485700:44
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic master: Add DB API for Firmware  https://review.opendev.org/c/openstack/ironic/+/88306206:24
rpittaugood morning ironic! o/06:54
rpittauFYI after some investigation we've found the root cause of metal3-integration job failures and a fix has been proposed https://github.com/metal3-io/metal3-dev-env/pull/123807:58
rpittauwe should recheck and merge https://review.opendev.org/c/openstack/ironic/+/882073 as soon as the fix merges07:59
dtantsuriurygregory, TheJulia, our habit of calling flush() is questionable enough, I don't think calling it several times per transaction is a reasonable thing to do.09:47
dtantsurUntil the transaction is over, there are no guarantees that a duplicate error won't be raised.09:49
iurygregorygood morning Ironic, happy friday12:13
* iurygregory trying to be awake to answer things12:13
iurygregoryoh nice I got -1 because of the docs :D (normally I don't run tox -e docs if I'm not doing a change with releasenote or rst file .-.)12:25
iurygregorydtantsur, even if we are doing one at a time?12:30
dtantsuriurygregory: what are you trying to achieve?12:47
dtantsurI'm not sure flush even does what you think it should do. And it definitely leaves a space for races until COMMIT is issued.12:48
iurygregoryI've changed the approach a little bit, instead of trying to create the list of firmware components12:49
iurygregoryI will create one at a time12:49
dtantsuriurygregory: be careful to not fall in the same trap as Mahnoor just discovered happened with inventory API, when we have a create() call while we need a create_or_update()12:50
dtantsuri.e. think what you actually want to do with duplicates12:51
rpittaufix for metal3-integration worked, I think we can merge https://review.opendev.org/c/openstack/ironic/+/88207312:51
iurygregorydtantsur, do you have a link?12:54
dtantsuriurygregory: not yet12:54
dtantsuryou need to decide for your case though12:55
iurygregoryso it's more of a question of design?12:55
dtantsurit's a question of which pattern you actually need to use12:56
dtantsurso, you see, when a user creates a port, it has to be unique12:56
iurygregoryyup12:56
dtantsurwhen inspection creates an inventory, it has to either be unique or replace the old one12:56
dtantsura semantic difference here12:56
iurygregoryI would say it's more like port creation12:58
iurygregorywe have unique constraint for the node_id + component13:00
dtantsurit's an orthogonal question13:01
dtantsurit's unique, sure, but what happens if a record already exists?13:01
iurygregoryif the request is to create it would fail13:02
dtantsurand what happens with the failure?13:02
dtantsurI'm leading to the thought: it's possible you need a create-or-update semantics since there is no case of "a user is creating a duplicate" for firmware upgrades (or not inventory)13:03
iurygregorythe failure would be raised to the caller13:03
iurygregoryand it would depend how we would handle I would say13:04
dtantsurthe caller is you :)13:04
dtantsuryou can, of course, do try.. except, but you can just as well to DELETE+INSERT on the database layer13:05
iurygregorynot sure if would be a good idea ...13:05
iurygregorybecause like, we have initial_version it would be the first one we saw13:05
iurygregoryother fields would be updated13:06
iurygregorybut if we decide that we can just re-create we could tell that the initial version was "v2.0.0" instead of the "v1.0.0" that was before...13:06
dtantsuryeah, possibly. i'm just making sure you have this in mind13:06
dtantsur(for node inventory there is no point to have a separate create, but we do..)13:07
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic master: Add DB API for Firmware  https://review.opendev.org/c/openstack/ironic/+/88306213:33
iurygregoryfinally fixed the docs, I need more coffee13:33
iurygregorydtantsur, we can probably discuss with the community if you think it would be interesting what we could do about the habit of calling flush in every method also (but monday is holiday in EU for most countries) 13:35
TheJuliadtantsur:  I talked to iury last night and I think he was going to end up dropping it in favor of retooling the approach since update will be generally more common13:38
* TheJulia tries to wake up13:38
opendevreviewMohammed Boukhalfa proposed openstack/sushy-tools master: Add fake_ipa inspection, lookup and heartbeater to fake system  https://review.opendev.org/c/openstack/sushy-tools/+/88450213:40
* iurygregory wondering if the world is on fire ..13:41
rpittauiurygregory: not yet13:42
iurygregoryrpittau, hahah XD13:42
iurygregoryis just because TheJulia showed up :D13:43
TheJuliaeh, I didn't sleep well and I was at least going to check13:47
iurygregoryouch =( sorry to hear that13:47
TheJuliaThe hockey game last night was awesome13:47
iurygregoryI had 6hrs of sleep only, trying to update the patch XD13:48
iurygregoryI never saw a hockey game (not even on TV)13:48
TheJuliaheh13:54
TheJuliaI blame JayF for introducing us to hockey13:54
iurygregory++13:59
TheJuliahttps://www.youtube.com/watch?v=1MQFZ8_UKD4 <-- game recap video14:01
iurygregoryI like Firebirds in the name of the team14:16
opendevreviewJulia Kreger proposed openstack/ironic stable/xena: Fix Cinder Integration fallout from CVE-2023-2088  https://review.opendev.org/c/openstack/ironic/+/88358014:32
rpittaubye everyone, see you on tuesday, have a great weekend! o/14:38
TheJuliaI suspect the idea came up because it is so hot here you can burst in to flames during the summer time14:38
TheJulia(not really, but feels like it14:38
iurygregoryoh wow14:42
iurygregorybye rpittau, enjoy the long weekend!14:42
opendevreviewMohammed Boukhalfa proposed openstack/sushy-tools master: Add fake_ipa inspection, lookup and heartbeater to fake system  https://review.opendev.org/c/openstack/sushy-tools/+/87536614:47
opendevreviewMerged openstack/ironic master: Make metal3 job voting  https://review.opendev.org/c/openstack/ironic/+/88207314:57
clarkbre ^ what did you do for handling the github api limits?14:58
iurygregoryclarkb, tbh I'm not sure if hit this issue yet15:01
iurygregorybut the patches rpittau worked on was: https://review.opendev.org/c/openstack/project-config/+/878223 https://review.opendev.org/c/openstack/ironic/+/877600  https://review.opendev.org/c/openstack/ironic/+/86387315:02
* TheJulia goes and gets breakfast15:11
opendevreviewDmitry Tantsur proposed openstack/ironic master: Migrate the inspector's /continue API  https://review.opendev.org/c/openstack/ironic/+/87594415:19
dtantsurI think this is ready ^^15:19
opendevreviewDmitry Tantsur proposed openstack/ironic master: [DNM] Test new inspection code path  https://review.opendev.org/c/openstack/ironic/+/88149215:19
dtantsurhave a nice weekend o/15:20
iurygregoryenjoy the long weekend dtantsur o/15:21
opendevreviewJulia Kreger proposed openstack/ironic stable/wallaby: Fix Cinder Integration fallout from CVE-2023-2088  https://review.opendev.org/c/openstack/ironic/+/88358117:14

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