15:12:24 #startmeeting oslo 15:12:24 Meeting started Mon Sep 19 15:12:24 2022 UTC and is due to finish in 60 minutes. The chair is hberaud. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:12:24 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:12:24 The meeting name has been set to 'oslo' 15:12:37 Courtesy ping for hberaud, bnemec, johnsom, redrobot, stephenfin, bcafarel, kgiusti, jungleboyj, gmann, tobias-urdin 15:12:45 o/ 15:12:48 #link https://wiki.openstack.org/wiki/Meetings/Oslo#Agenda_for_Next_Meeting 15:13:23 As I'm not the meeting facilitator, let's move directly to the NATS topic 15:13:30 #topic NATS driver – moving forward and future of eventlet 15:13:51 yeah, just to start things off, i think we can all agree that using the official nats-py library is the only way forward for getting it in 15:14:04 +1 15:14:14 hberaud, yes 15:14:16 sorry 15:14:26 so the real question becomes how should we go on about that, so, how do we go forward with that? 15:14:53 damani: Error: Can't start another meeting, one is in progress. Use #endmeeting first. 15:15:05 running the driver in a separate thread due to needing asyncio, anybody have any ideas? 15:15:13 sorry 15:15:14 damani: the meeting is already started... 15:15:20 you have already started 15:15:22 yes 15:15:41 this discussion will probably be a lot of overlap into the "how to use asyncio" in the openstack eco system 15:16:13 so i'm interested in where we should initially place our focus, how we should prioritize our time moving forward, whats steps do we need is what we need to figure out 15:16:31 yoctozepto proposed to start migrating blazar (a simple project, more simpler than nova) to asyncio first and then start using the nats driver with asyncio 15:17:02 so with this solution we won't have to run IPC to RPC 15:17:20 we will use NATS directly 15:18:03 and, I think, that could help us to design a process to help migrating from evnetlet to asyncio 15:18:13 Are the discussions that all projects should move, like a community goal? Or is this an opt-in if you want it? I was expecting this was an opt-in change. 15:18:14 (for the other services) 15:19:11 johnsom: we are just brainstorming now pretty much, but I think it's in the communities interest to consider 15:19:45 That said, moving off eventlet is a worthy goal. I.e. https://review.opendev.org/c/openstack/designate/+/856313 15:19:51 just for consistency it might make more sense as a community goal (if the move proves worthwhile) 15:19:56 IMO I think we should found/write/design an "how to" migrate from eventlet from asyncio 15:20:04 (first) 15:20:15 +1 to hberaud 15:20:37 some links where brought up about eventlet being mostly stale in https://meetings.opendev.org/irclogs/%23openstack-oslo/%23openstack-oslo.2022-09-02.log.html 15:20:50 Goals that are put in place before there is enough supporting libraries and documentation do not go well. 15:20:54 and then migrate blazar in parallel during the implementation of the NATS driver 15:21:59 moving away eventlet is clearly a community goal, but I think the blazar migration could be a POC 15:22:22 before officializing this goal as a community goal. 15:22:23 +1 15:22:36 so what are potential blockers, are we talking about asyncio support for oslo.db and an asyncio oslo.messaging executor to migrate blazar? 15:22:38 We could bring some guidance and adivces 15:23:06 no I don't think 15:23:36 whatever...that's a good question... 15:23:52 oslo.db seems already compatible 15:24:00 AFAIK 15:24:47 however if we transition blazar first, then I think that mean that we should also transition the oslo.messaging executor... 15:25:16 without even starting to use the NATS driver... 15:25:43 so, I think the NATS driver should be ready before blazar 15:26:11 and during the transition of blazar we should switch the driver 15:26:15 thoughts? 15:26:56 does the snake bite its tail? 15:27:08 hm 15:27:31 o/ 15:27:42 sorry for being late, my calendar reminder failed 15:28:23 np 15:28:53 or would we rather need the amqp driver to be asyncio-ready as well 15:28:54 so, an asyncio oslo.messaging executor, nats driver with nats-py and get oslo.db working (or verify it works) and run devstack with both nats and rabbitmq where blazar uses nats 15:28:57 to skip this dependency 15:29:06 would that be correct? 15:29:42 At first glance yes, that looks correct 15:29:42 sound good for me 15:29:57 mhm 15:30:31 or are we ready to roll out a rmq/amqp-compatible asyncio driver? 15:30:43 as to avoid too many moving parts 15:30:58 ignore if it is similar workload to adding nats support 15:31:48 ok, so I found a very old poc in incubator for tullip oslo.messaging executor that is some predecessor (with some others) to the asyncio implement iiuc, not that it's working or complete but atleast a template https://github.com/markmc/oslo-incubator/blob/8509b8bf7220605143dff149a4e32a923d0ead02/openstack/common/messaging/_executors/impl_tulip.py 15:31:53 tobias-urdin6: running devstack with both nats and rabbitmq, you mean with blazar? 15:32:10 not sure, we'd need to dig more into details about rabbit support for asyncio i guess 15:32:32 hberaud: yeah, like blazar uses rpc over nats and all other openstack services use rabbitmq 15:32:46 ok, then sound good 15:32:55 the devstack plugin i wrote now just plain off disables rabbitmq so need to remove that 15:33:23 ++ 15:33:43 we need rmq to pass CI because blazar depends on nova 15:33:59 at least the kombu library we use does not support asyncio yet: https://github.com/celery/kombu/issues/879 15:34:01 tobias-urdin6: yes I don't think we want to spend time with rmq and asyncio into the related O.M driver 15:34:23 ack, so let's go with oslo.messaging(asyncio+nats) 15:34:53 i'm however not sure if we need some kind of changes in oslo.db for the sqlalchemy part tho but i guess we'll find out 15:35:06 I don't know either 15:35:11 hoping not too many 15:35:19 yeah... 15:35:37 sound like a plan atleast, if we'd get that working, we have another nest with taskflow/futurist part but we are spared since blazar doesn't use those part (except oslo.messaginge executor from futurist used today) 15:35:38 Apparently that seems "ready" (by reading the doc) 15:36:37 yup 15:36:50 hberaud: what looks "ready"? 15:37:04 Last week I tried to identify existing tuto/doc/data that could be useful and used during the blazar transition 15:37:45 yoctozepto: supporting asyncio 15:38:16 hberaud: that I got but where? 15:38:17 felixhuettner[m]: ack, that won't be fun, we'll probably have a hard time convincing projects to take action unless default oslo.messaging driver becomes nats then 15:38:22 as we mentioned a couple of projects 15:38:26 but atleast we can make this a poc 15:38:57 hberaud: and what have you found regarding tutos and docs? 15:38:58 yoctozepto: sorry I was thinking only about sqlalchemy 15:39:02 ah 15:39:04 ok 15:39:20 you're right oslo.db would surely require changes too 15:39:32 do we want to start an etherpad and collect all links and docs or just use some existing? 15:39:40 hberaud: yeah i think so 15:40:05 yeah, we need an organisational scratchpad 15:40:06 tobias-urdin6: an etherpad could be useful 15:40:09 so etherpad will do 15:41:15 i don't have enough insight into oslo.db but perhaps we can abstract away some asyncio parts for projects there when we run into them 15:42:04 LGTM 15:42:18 makes sense to me 15:42:45 let's focuse on O.M and Blazar first and then address the O.db things 15:42:54 +1 15:44:48 We could start with 1) the "blueprint" part on one side, 2) check for examples of projects who already migrated from eventlet to asyncio 3) start the blazar migration to asyncio 15:44:59 (O.M blueprint) 15:45:18 +1, good plan, all 3 can start parallelly though 15:45:24 AFAIAC 15:45:50 https://review.opendev.org/c/openstack/oslo-specs/+/692784 15:46:04 do we want to reuse that one ^? 15:46:36 https://etherpad.opendev.org/p/oslo-asyncio <-- a start? 15:46:37 or start with a new one fresly created and give a reference to the old one? 15:47:07 hberaud: start with a fresh one, we can copy some contents though as we see fit 15:47:25 ok 15:47:28 WFM 15:47:36 think ^ would be easier to see comments etc 15:47:47 ok 15:48:03 tobias-urdin6: what do you mean? => "Update NATS driver to use nats-py" 15:48:10 you mean creating? 15:48:20 the nats driver doesn't yet exist 15:48:58 Ok I seen your latest changes on the etheroad 15:49:01 pad 15:49:47 yeah so earlier patchsets already used nats-py, so perhaps we can use https://review.opendev.org/c/openstack/oslo.messaging/+/848338 as template 15:49:56 otherwise we'll just start from scratch and copy, same there, as spec 15:52:37 LGT% 15:52:39 M 15:53:21 let's resuse the existing stuffs 15:54:57 what pace should we have for our next meetings? 15:55:27 I'd suggest speaking about NATS each 2 or 3 weeks. Thoughts? 15:56:15 Do we want to run our own meeting to avoid similar issue than today? 15:56:26 sounds good, anybody interested in volunteering for any of the parts in the plan? 15:56:33 a dedicate asyncio meeting sounds good 15:56:43 dedicated* 15:56:46 +1 for a dedicated meeting 15:56:46 works for me, i don't really have a preference 15:56:51 every 2 weeks makes sense to me 15:57:36 do we prioritize getting a poc working or do we want specs? i would rather see a working poc than specs tbh 15:57:55 tobias-urdin6: do you want to become our chair meeting for this topic? 15:58:08 the POC LGTM 15:58:39 sure can do depending on time/day tho 15:58:43 PoC makes sense to prioritise over exact specs 15:58:56 but refreshing a spec skeleton would not hurt... 15:59:15 I'm volunteer to refresh the specs 15:59:49 to keep a trace of our related researchs and discussions 16:01:49 Ok, I think we reached our meeting timeslot end 16:02:15 ack, we'll i'm a little bit interested in getting started on a oslo.messaging executor unless anybody else want it 16:02:35 I'm interested in looking into blazar's deps on eventlet closer 16:02:36 That's sound like a plan 16:02:39 i think the messaging driver parts is more a refactor to a working state with nats-py 16:02:55 yes 16:03:25 good we have people almost on each topics 16:04:02 good, do we set a new meeting slot or take offline on ml 16:04:24 I put my name on the etherpad into the lines that interested me 16:04:40 offline 16:04:48 as you want 16:04:59 offline lgtm 16:05:20 works for me, thanks for today 16:05:30 thanks 16:05:38 that was a productive meeting, thanks everyone! 16:06:04 Anything else before I close the meeting? 16:06:18 not from my part 16:06:48 ok thanks everyone 16:06:50 #endmeeting