Monday, 2023-05-22

opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic master: Add DB model for Firmware  https://review.opendev.org/c/openstack/ironic/+/88303101:52
iurygregorylet's see if this helps to get more logs .-.01:52
jandersgood morning Ironic o/01:53
iurygregorymorning janders o/01:53
iurygregorygood morning Ironic11:06
opendevreviewVanou Ishii proposed openstack/ironic master: [iRMC] Fix IPMI incompatibility handling error  https://review.opendev.org/c/openstack/ironic/+/88310111:30
opendevreviewMerged openstack/virtualbmc master: Bugs are now in Launchpad, update docs to reflect  https://review.opendev.org/c/openstack/virtualbmc/+/88345412:27
iurygregoryok this is weird, I think this would add the new configuration option in ironic.conf https://review.opendev.org/c/openstack/ironic/+/883031/9/devstack/lib/ironic#1504 for all jobs.. but it didn't work for grenade O.o12:34
opendevreviewMahnoor Asghar proposed openstack/python-ironicclient master: Add support for node inventory  https://review.opendev.org/c/openstack/python-ironicclient/+/88383312:36
*** dmellado90 is now known as dmellado12:48
opendevreviewMahnoor Asghar proposed openstack/python-ironicclient master: Add support for node inventory  https://review.opendev.org/c/openstack/python-ironicclient/+/88383313:36
JayFTheJulia: iurygregory: would one of you mind running the meeting?13:42
TheJuliajust waking up13:44
iurygregoryJayF, I can run13:50
JayFThank you. I'll likely be away today13:55
dtantsurWe have another instance of the Metal3 meetup. JFYI.13:56
iurygregoryright14:02
iurygregorywe will probably not have a lot of folks available I think .-.14:02
dtantsurand it starts NOW!14:02
iurygregoryI'm skipping because I'm trying to figure out the timeout in grenade .-.14:03
iurygregory>.<14:03
dtantsurI'd say the meetup may be more important, especially that we're going to talk about more Ironic features14:03
dtantsuriurygregory: ^^14:04
TheJuliaiurygregory: is it locking up on the db upgrade?14:05
TheJuliaor, still I should say from Friday14:05
iurygregoryTheJulia, yeah >.< still14:05
iurygregorymy attempt to add more verbosity didn't work in the grenade job https://review.opendev.org/c/openstack/ironic/+/883031/9/devstack/lib/ironic#150414:06
iurygregorydtantsur, ack I will try to join and just listen14:06
* TheJulia wonders why we're suddenly seein gthis14:19
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic master: Add DB model for Firmware  https://review.opendev.org/c/openstack/ironic/+/88303114:24
TheJuliahmmmmm14:27
TheJuliaiurygregory: so it is not oslo.db or logging in oslo, it is alembic 14:36
iurygregoryoh I though that adding in oslo.db would help >.<14:37
iurygregoryok, seems like we would need to update alembic.ini with [logger_sqlalchemy] level = DEBUG14:40
TheJuliamaybe14:43
TheJuliayeah, we just call alembic.command.upgrade(14:47
TheJuliaso it is already set to log at info level14:48
TheJuliawhich matches all the places it logs14:48
TheJuliaso it is just not generating any logging14:48
iurygregorymagic14:49
TheJulialets do this, lets get infra to hold the next ci node which fails with ironic-grenade 14:53
TheJuliawe can recheck both changes which do schema upgrdes since they seem... vulnerable to this issue, and then investigate trying to reproduce internally14:53
TheJuliaotherwise, I don't think we're going to find a simple path forward14:54
iurygregoryyeah14:54
iurygregorymakes sense14:54
iurygregoryfunny thing is that I remember your patch with success on grenade14:57
TheJuliayeah. It was succeeding14:58
TheJuliaand I haven't changed the migration :(14:58
iurygregoryyup =(14:59
iurygregory #startmeeting ironic15:00
iurygregory#startmeeting ironic15:00
opendevmeetMeeting started Mon May 22 15:00:30 2023 UTC and is due to finish in 60 minutes.  The chair is iurygregory. Information about MeetBot at http://wiki.debian.org/MeetBot.15:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
opendevmeetThe meeting name has been set to 'ironic'15:00
iurygregoryHello everyone o/15:00
dtantsuro/15:00
* dtantsur is in two meetings15:00
iurygregoryThis will likely be a short meeting XD15:00
masgharo/15:00
TheJuliao/15:01
iurygregorywelcome to our weekly meeting \o/15:01
iurygregory#topic announcements/reminder15:01
iurygregory#note Standing reminder to review patches tagged ironic-week-prio and to hashtag any patches ready for review with ironic-week-prio15:01
hjensaso/15:01
iurygregory#link https://tinyurl.com/ironic-weekly-prio-dash15:01
iurygregory#note Please avoid running a `recheck` command bare, without any other comments. Obviously, best case is to troubleshoot and fix an issue in CI, but in case of some ephemeral failure, please just note that -- e.g. `recheck jobname failed`. This is tracked at an OpenStack level15:02
iurygregory#link https://etherpad.opendev.org/p/recheck-weekly-summary15:02
iurygregory#info 3 weeks for the OIS Vancouver15:03
TheJuliaiurygregory: hold set15:03
iurygregoryholing15:03
iurygregorywas just copying the announcements15:03
iurygregoryDoes anyone have something we should add to announcements/reminder?15:04
TheJulianothing on my end15:05
dtantsurAs an outcome of Metal3 meetups, we'll build a wishlist for Ironic :)15:05
dtantsur(We'll implement things ourselves, just need agreement)15:05
iurygregorynice \o/15:05
TheJuliacool cool15:06
iurygregorywe don't have action items so skipping next topic =)15:06
iurygregory#topic Review Ironic CI status & update whiteboard if needed15:06
iurygregorygrenade is misbehaving for patches with DB migrations hitting timeout =(15:07
iurygregoryTheJulia had a nice idea, we will try to get infra to hold the next ci node which fails with ironic-grenade15:07
iurygregorywe landed a few fixes last week to improve CI, so we should be in a good shape in other patches15:08
iurygregorydoes anyone would like to add something regarding CI?15:09
TheJuliaWe may need to backport some of the things15:10
TheJuliabut overall, master branch seems to be a little happier15:10
iurygregoryyeah15:10
iurygregory#topic Review ongoing 2023.2 Workstreams15:11
iurygregory#link https://etherpad.opendev.org/p/IronicWorkstreams2023.215:11
iurygregoryI'm updating the Firmware Interface with the other patches I have open15:12
TheJuliasame on service/hold15:13
TheJuliaand dpus15:13
iurygregoryok moving on15:15
iurygregory#topic Open discussion15:15
iurygregoryDoes anyone have something to discuss?15:16
TheJuliaI do not15:16
iurygregoryok, I think this is all for today15:17
iurygregorytks everyone!15:17
iurygregory#endmeeting15:17
opendevmeetMeeting ended Mon May 22 15:17:57 2023 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:17
opendevmeetMinutes:        https://meetings.opendev.org/meetings/ironic/2023/ironic.2023-05-22-15.00.html15:17
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/ironic/2023/ironic.2023-05-22-15.00.txt15:17
opendevmeetLog:            https://meetings.opendev.org/meetings/ironic/2023/ironic.2023-05-22-15.00.log.html15:17
TheJuliaiurygregory: I've rechecked my dpu chnage15:21
TheJuliaI'm likely going to go work on my summit presentation for an hour or two15:22
iurygregoryack15:22
TheJuliaso we can let the changes just do their thing15:22
iurygregoryI will probably be in my lunch time in about 1h15:22
iurygregoryyeah15:22
fungii just saw someone try to patch a regression in sushy-tools through the github mirror, if someone's interested in helping usher it into gerrit: https://github.com/openstack/sushy-tools/pull/615:51
dtantsuroh16:00
dtantsurfungi: I assume we cannot disable PRs?16:01
fungidtantsur: it's a long-standing missing feature of github, which seems to be quite intentional given how many people have asked for it over the past decade16:02
fungiwe auto-close them with a bot that replies with a message linking to our contributor documentation, but sometimes that can seem cold and unfeeling so a personal touch can help avoid alienating potential new contributors16:03
dtantsuryep, I agree. this is very unfortunately (and very intentional, yes)16:09
iurygregoryTheJulia, habemus node https://zuul.opendev.org/t/openstack/nodes19:04
TheJuliaiurygregory: do you want to get started or do you want to dig together? I'm busy for the next 1.5 hours most likely19:06
iurygregoryI will start looking 19:07
TheJuliaokay19:12
TheJuliaI'll ping you when I'm done with my meeting which starts in 15 minutes19:13
* TheJulia needs to make coffee19:13
iurygregoryI think it was a bad idea run "ironic-status upgrade check" in the node .-.19:48
iurygregory7min and no output19:49
TheJuliaso reproduced...19:53
TheJuliacontrol-c ?!19:53
TheJuliaor control-z and then kill the pid?19:53
iurygregoryplanning on do that19:54
iurygregorywell, it got stuck in ironic-status upgrade check...19:54
iurygregoryI was expecting it would succeed 19:54
iurygregoryso I would run the dbsync right after19:54
TheJuliaheh19:55
TheJuliaoh, upgrade check is frozen19:55
TheJulia*because* the db is locked19:55
TheJuliait can't select so it is waiting to select19:55
TheJuliaso... what is the db is doing is the question19:55
iurygregoryfunny that the mysql error.log doesn't show anything19:57
TheJuliayup20:07
TheJuliawe could turn on query logging, maybe20:07
TheJuliarequires restarting mysql20:07
TheJuliahave you ever used strace?20:07
iurygregorynope, but I can try to figure out20:08
TheJuliaso20:08
TheJuliahmm20:08
TheJuliacall is almost over, so I can jump on hopefully20:08
TheJuliaI guess the first thing is to ask the database what it thinks is going on20:09
iurygregoryhttps://paste.opendev.org/show/b1z9IwW8HdxVkbsxt8Yx/20:10
TheJuliahttps://www.devart.com/dbforge/mysql/studio/show-running-queries-in-processlist.html20:11
iurygregory| 193 | root            | localhost:39972 | nova_cell1 | Sleep   | 16813 |                                 | NULL                                                                                                 |20:11
iurygregory| 205 | root            | localhost:40930 | ironic     | Query   | 16774 | Waiting for table metadata lock | ALTER TABLE nodes ADD COLUMN firmware_interface VARCHAR(255) 20:11
iurygregorywaiting for table metadata lock?!20:11
TheJuliaoooh20:11
TheJuliayeah20:11
TheJuliawow20:11
iurygregoryI think I did something wrong in my patch20:13
TheJuliawait a second20:14
TheJuliahttps://stackoverflow.com/questions/13148630/how-do-i-find-which-transaction-is-causing-a-waiting-for-table-metadata-lock-s20:14
iurygregorythings changed since we are using verions 820:22
TheJuliaugh20:23
iurygregoryI've found the transaction20:23
TheJulia\o/20:24
TheJuliawhat is it?!?20:24
TheJulia:)20:24
iurygregory---TRANSACTION 421683208347256, not started mysql tables in use 1, locked 1 0 lock struct(s), heap size 1128, 0 row lock(s)20:24
iurygregorytrying to figure out how to match the ID20:25
TheJuliawell, not started20:25
TheJuliaAny other transactions pending?20:25
iurygregoryhttps://paste.opendev.org/show/bkqI5fTG6HRJarTLBour/20:25
iurygregorynope .-.20:26
iurygregoryall of them are not started .-.20:26
TheJuliaand off my call20:26
clarkbI've also seen mariadb and mysql act differently in weird ways.20:27
clarkb(not sure if that is involvedhere)20:28
iurygregorymaybe .-.20:28
TheJuliado we have any signs of the query counter stuff running?20:28
TheJuliajust trying to think of *anything* which would read from the overall database schema data/informaiton/configuration20:29
clarkbfor example mysql caught a transaction issue that mariadb did not when udpating to sqla 2.0. Also trying to move to mariadb produces semi random failures in the whole test case setup a random temporary db process20:29
iurygregoryTheJulia, do you want me to add you key ?20:31
TheJuliayeah, and lets jump on a call20:31
NobodyCamGood afternoon Ironic Folks21:52
NobodyCamanyone happen to know if its possible to use ramdisk deployment thru nova (Ie. `server create`) is there an example showing how kernel and ramdisk are specified? 21:54
NobodyCamworks great thru ironic21:54
TheJuliazzzeek_: o/ are you aware of any issues with alembic going to add a column mysql locking on a transaction lock (yes, I realize the ask is a long shot) :)21:59
TheJuliaNobodyCam: so, the idea has always. been it just uses the named kernel/ramdisk on a glance "image", ignoring the image contents as if it was a partition image uploaded into glance22:01
TheJuliawhich should just work and I'm fairly sure we've had someone do it in the past22:02
TheJuliaNobodyCam: It might be the scientific folks are using ironic directly, but I bet slurm is their way and I suspect htat just uses nova22:16
NobodyCamhummm22:46
NobodyCamoh iso method, I have kernel and ramdisk22:49
NobodyCamoh ISO method was a question... even if it had no question mark22:50
TheJuliaoh, with nova, unlikely22:53
TheJuliaI mean, you could patch nova to teach it what to do with an iso, but it is something we've not done because nobody has asked22:54
TheJuliaiurygregory: got a query log out of the db... nothing much more than we already captured22:55
TheJuliacan reroduce it locally, thinking of taking the log and actually seeing if I can lock the db connection using it22:55

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