Friday, 2023-08-11

rpittauhappy Friday ironic! o/06:23
mmalchukmorning Ironic o/06:43
mmalchukrpittau CI unhappy in stable brances? needs backport of your patch?06:44
rpittaummalchuk: we've decided to apply the workaround only on master06:45
mmalchukasking becouse of this 06:45
rpittauI expect the new pkg to be available next week06:45
mmalchukstay calm and stay for a week)))06:46
*** dmellado819 is now known as dmellado8106:55
dtantsuryeah. if we backport all patches, we may need to pretty quickly revert them once the package is there.07:29
dtantsurTheJulia, JayF, we still see pathological locking behavior in metal3, now with Retrying None in 18.05774155513265 seconds as it raised OperationalError: (sqlite3.OperationalError) database is locked07:53
dtantsurlogs at https://jenkins.nordix.org/job/metal3_bmo_main_integration_test_ubuntu/291/ I'll try to make some sense out of them later07:53
dtantsurthe logs just before the 1st (I think) retry: https://paste.opendev.org/show/bD6FBjpx9cz2kL3iOlKS/07:55
adam-metal3Hi Ironic08:26
adam-metal3rpittau, TheJulia, I have created the bug ticket based on yesterday's discussion https://bugs.launchpad.net/ironic-python-agent/+bug/203109208:27
adam-metal3dtantsur, thanks for reporting the locking issue in IRC (I planned to mention it also), do you still see this locking in opendev ci or now it is limited to metal3 ci?08:28
rpittauthanks adam-metal3, I've added a comment there :)08:58
iurygregorygood morning ironic12:02
rpittauJayF, TheJulia, did we move also ironic-python-agent-builder to launchpad? cc masghar 12:10
dtantsuradam-metal3: I was checking why my BMO patch failed12:30
TheJuliadtantsur: at least it looks like looks like nothing is actually raising an exception, although the length of some of that is worrisome13:24
TheJuliabut... wow13:29
TheJulia992 seconds to complete a node_update13:29
TheJulialooks like the logging needs another option set13:31
* TheJulia starts to wonder if we've got a lock hanging in plain sight13:43
dtantsurquite possibly..13:54
TheJuliaIf nothing is exploding once I clean up my "get_serivce_steps" to the agent patch from yesterday's security investigation, I'll try to divert some cycles, around tasks themselves. Things always seem to start right after ipmi commands execute which can also throw things sideways a bit14:02
rpittaubye everyone, have a great weekend, see you next wednesday! o/16:01
TheJuliao/16:03
mmalchuk\o16:17
JayFPlease let me know if you think there have been contributors in the community with no commits but that should still be considered an active contributor.18:05
JayFAs PTL I have until 8/17 to submit them as contributors18:05
iurygregoryis this a new thing a PTL should do? O.o 18:07
iurygregoryasking because no one ever asked me to do such thing during the time I was PTL18:08
TheJuliano, it has been a thing for a long time18:09
iurygregoryoh wow18:09
TheJuliathe person asking thing I think is the challenge18:09
JayFI have been an extra AC in the past for Ironic18:11
JayFwhen I was not committing code but still putting aside time to review18:11
JayFit's usually somethign where if someone cares, they'll ask for it18:12
JayFthe only "real" benefit is being able to vote for and hold governance offices like ptl/tc18:12
JayFTheJulia: dansmith: one of you able to spare a moment to help w/oslo messaging bits?19:22
JayFI'm getting rapidly convinced it may not be reasonable to fix with an allowlist without adding a dep on oslo.context19:22
dansmithJayF: ask the question before I decide19:22
JayFRight now, oslo.messaging does not dep on oslo.context19:23
JayFto make a proper oslo context object, I would have to dep on it, and create a fresh one19:23
JayFnew dep = not backportable AIUI19:23
dansmiththere's no reason for a dependency19:23
JayFplus I know oslo<->oslo deps are avoided to prevent cycles19:23
dansmithyou just need to construct a fake analog fixture for the tests right?19:23
JayFNo19:24
JayFI discovered a real world breakage of turning it into dicts19:24
JayFservices can provide their own serializer19:24
JayFneutron uses a serializer that calls ctxt.to_dict()19:24
dansmithright but they provide the context and the serializer yeah?19:24
JayFlet me reframe my question19:25
JayFhttps://review.opendev.org/c/openstack/oslo.messaging/+/891096/8/oslo_messaging/notify/notifier.py#206 19:25
JayFThis is obviously wrong.19:25
JayFsafe_ctxt must be the same type as ctxt for $reasons discovered above19:25
JayFto make it a requestcontext, the only way I know to get there is to add a dep on oslo.context and instantiate a new RequestContext19:25
dansmithsafe_ctxt = ctxt.__class__() ?19:26
dansmithbut also, doesn't requestcontext have a clone operation?19:26
JayFI don't want a clone, I want an empty one19:26
JayF> safe_ctxt = ctxt.__class__()19:26
JayFis what I need I think19:26
dansmitha clone is perfectly fine19:26
JayFI knew there had to be a way19:26
dansmithyeah, so I'd do this actually:19:27
dansmithsafe_ctxt = ctxt.__class__.from_dict(ctxt.to_dict())19:27
dansmiththat will get you a copy and then you can delattr the things you don't want (or set them to None)19:27
JayFso like, then call safe_ctxt.getmembers() and del any not in the list?19:28
dansmith(i.e. del safe_ctxt.auth_token)19:29
* TheJulia reads19:30
mmalchukJayF which period count for an active contribution? if I cmommit one change per year am I active?)19:31
TheJuliaI'd honestly do the same, or an "eliminate any keys not in my safe key list"19:31
JayFmmalchuk: single commit per release19:31
dansmithyeah, you could nuke them from the to_dict() result before from_dict()19:31
JayFmmalchuk: basically you are automatically a contributor in our automation if you have a commit in anything openstack for that release19:31
* TheJulia burries brain back into db/sqlalchemy/api.py19:31
JayFWhat about building my dict, *then* calling from_dict() on it19:31
JayFe.g.19:31
JayF        for key in safe_keys:19:31
JayF            if getattr(ctxt, key, None) is not None:19:31
JayF                new_ctxt[key] = getattr(ctxt, key)19:32
JayF        safe_ctxt = ctxt.__class__.from_dict(new_ctxt)19:32
dansmithsure19:32
mmalchukJayF I'm about your question. not about me19:32
dansmithJayF: I was more just showing how to get a copy of the same type of object, but optimize like that for sure19:32
mmalchukwhp is active contributor without commits?19:32
mmalchukwho*19:32
JayFmmalchuk: think about it this way: there are two paths to being considered an active contributor to a (project,release) pair. Commits in the project during the release, or having the PTL or TC recognize you have non-code contributions.19:33
JayFmmalchuk: For instance, in the past, when working at a non-openstack job, I still made a point to review all changes in ironic-python-agent so I was named a contributor and given voting rights anyway.19:33
mmalchukoh... yep... forgot reviews)19:33
mmalchukI think there are more people who do only reviews19:34
JayFPlease have them reach out to me if they care about getting the ability to vote in PTL or TC elections (or to run for PTL/TC)19:35
JayFI'll note AC has been given in the past before to people who worked on marketing/outreach as well. Basically just it's an effort to ensure that all forms of contribution get to vote on the future of the project; not just those making easy-to-measure contributions.19:37
clarkbhistorically people translating strings have also been included19:43
clarkbI think a long time ago when docs were less in the projects themselves the docs writers may have been added this way too19:43
JayFI think in practice, especially now, it's a small list. 19:45
JayFIn philosophy, it's important to do so that folks get recognzied for all kinds of contributions.19:46
opendevreviewJulia Kreger proposed openstack/ironic master: Add service steps call to agent logic  https://review.opendev.org/c/openstack/ironic/+/89122919:47
TheJuliaJayF: philosophy wise, agree 1000%19:48
TheJuliadtantsur: starting to get an idea, maybe.  I think a fresh brain on monday might help20:13
JayFthose things are dangerous, be careful ;) 20:16
TheJulialol20:18
mmalchukJayF is there a place where list of contributors published instead of repo? wiki?20:36
JayFI'm not certain20:37
JayFIf I were checking for myself or a collegue, I'd check stackalytics.io and see if it attributed any commits to me in the Bobcat cycle20:37
TheJuliait gets published with each release20:58
TheJuliathe acutal "how, dunno"20:59
clarkbTheJulia: the list for all of openstack? its generated via a script fungi runs that queries gerrit21:00
clarkband I think you are supposed to put people outside of git commits into an extra contributors file eitheri n your repo or the openstack governance repo21:00
TheJuliaI'm indeed21:00
TheJuliaI, personally, just didn't remember that it was a script somewhere21:01
fungiyes i simply run the script which generates the tc electorate, except i give it a date range from rc1 of the previous cycle to rc1 of the current cycle21:01
fungiso same tools the election officials run in https://opendev.org/openstack/election21:02
JayFhttps://review.opendev.org/c/openstack/oslo.messaging/+/891096 tested and fixes the bug on Ironic \o/21:23
TheJulia\o/21:25
JayFalso IDK if anyone is crazy enough to have done this21:26
JayFbut that test was on my json-rpc ironic21:26
JayFwith notifications pointed at rmq21:26
JayFand everything worked as it should21:26
JayFI shouldn't be surprised but yet somehow I am :D 21:27

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