15:02:21 #startmeeting Mistral 15:02:21 Meeting started Mon Nov 20 15:02:21 2017 UTC and is due to finish in 60 minutes. The chair is rakhmerov. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:02:22 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:02:25 The meeting name has been set to 'mistral' 15:02:45 Hey 15:02:55 d0ugal: hi :) 15:03:14 so, you and me :) 15:03:19 such a big crowd 15:03:23 haha, indeed 15:03:25 :) 15:03:27 Maybe some others will join 15:03:33 yep, let's wait 15:04:05 d0ugal: in the meantime, what's about that releasing issue? 15:04:08 pypi etc. 15:04:14 is it now solved? 15:04:22 Good question. I'll check. 15:04:24 :) 15:04:31 Yes, it is resolved 15:04:34 5.2.0 was released 15:04:35 but what's the latest update on that? 15:04:39 ooh, that's great 15:04:47 and it is on PyPI 15:04:48 so we just keep publishing to pypi, right? 15:04:52 Yeah 15:04:56 awesome, ok 15:04:59 solved ) 15:05:16 Doug Hellmann explained it to me - there was a refactor that happened and it broke us 15:05:25 ooh, ok 15:05:31 I think they caught most projects but missed ours, probably because we hadn't released for a while. 15:05:49 I see 15:06:14 I think we need to try and release stable branches more often - there were about 30 commits that hadn't been released. 15:06:31 d0ugal: so now we've gone through our internal releasing hell and I'll be able to work on Mistral normally 15:06:38 but will go on vacation first 15:06:47 :) 15:06:49 d0ugal: ok, I agree 15:06:51 btw 15:07:07 #action rakhmerov: make sure d0ugal is registered as the release liaison 15:07:10 https://github.com/openstack/mistral/compare/5.1.0...5.2.0 15:07:14 yep 15:07:15 ^ it was quite a large release. 15:07:30 2 months patches 15:07:34 yep 15:07:53 so, seems like no more people ) 15:08:09 bobh had a couple of topics actually, maybe he's already working on that 15:08:19 o/ 15:08:30 ooh, hi Bob ) 15:08:47 sorry - couldn't remember if the time changed or not 15:08:52 bobh: would you like to discuss anything? 15:09:02 no, the meeting time is still the same 15:09:08 I'm working on the blueprint for the dynamic concurrency evaluation 15:09:20 the time hasn't changed, but many of us have changed with DST. 15:09:38 bobh: yep, I looked at your email and it seemed pretty straightforward to me but maybe there are some pitfalls? 15:09:48 will be interesting to see if the update to env() can be pushed to the task_ex? 15:10:05 or does it have access to the wf_ex params that get updated 15:10:05 ? 15:10:06 hah.. 15:10:23 well, let me think.. 15:10:34 I guess I didn't realize it in the first place.. 15:10:47 so, you want to change env() dynamically? 15:10:56 for a specific task? 15:10:59 yes - using workflow-update to change the params 15:11:13 I'd like to modify a value in env() that would control the concurrency 15:11:14 workflow-update? 15:11:18 sorry 15:11:18 not sure I understand 15:11:20 execution-update 15:11:30 yeah.. 15:11:40 but how are you going to use execution-update? 15:12:07 as far as I understand, we just have a task with 'with-items' that iterates over some items 15:12:12 update the values passed to params which would include an env: dict which is referenced from the task 15:12:17 right 15:12:25 yes, but 15:12:33 concurrency is an expression like '{{ env().concurrency }}' 15:12:41 'env' in params and params is a property of execution object 15:12:45 not a task execution 15:12:48 right 15:12:52 I mean workflow execution 15:13:01 so it's a single object per all task executions 15:13:08 :) 15:13:14 so then what's the plan? :) 15:13:23 so while I can access it to define the concurrency I wasn't sure the task would have access to the updated values at runtime 15:13:31 dynamically 15:13:42 I'll need to dig into it some more 15:13:53 aaah, I see 15:14:12 essentially I'm looking for a way to dynamicaly "throttle" the concurrency 15:14:15 so you don't plan to have a separate copy of params for each task execution, right? 15:14:25 you just want to literally update the same object? 15:14:31 yes 15:14:40 yep, ok 15:14:59 hadn't though about the case where there could be multiple with-items executing at the same time :-) 15:15:04 it just seems like then we need to make sure to have atomic updates of this object 15:15:08 which may not be that easy 15:15:25 yes, it's possible 15:15:42 they would all get the same env() updates as they would today 15:15:50 yes 15:16:11 which suits my usecase - for now 15:16:11 but if one thread/process updates this dict we need to make sure to lock it somehow 15:16:23 the update would only come from the API 15:16:24 so that other threads don't make parallel changes 15:16:37 yes 15:16:44 the task itself can't modify the env - it's immutable (I tried :-) ) 15:16:57 ooh, wait a sec.. 15:17:04 I think I didn't understand again 15:17:19 so you use case as I understand it: you have 'with-items' task(s) 15:17:35 and at some point you just update the env through the API, right? 15:17:41 yes 15:17:44 and your task just needs to see an updated value? 15:17:48 yes 15:17:55 ooh, then I'm pretty sure it should be OK 15:17:59 well -the with-items concurrency check 15:18:01 we just need to test it 15:18:04 ok 15:18:27 :) 15:18:28 I was afraid there was a copy of the execution context/params inthe task ex 15:18:29 ok 15:18:33 no-no 15:18:36 it's one ojbect 15:18:37 whew 15:18:41 yes 15:18:51 cool - so I'll mock it up and test it 15:18:52 anything else? ) 15:18:56 yes, please 15:19:01 I'd like to get some reviews on https://review.openstack.org/#/c/514317/ 15:19:15 not critical but would be nice to have 15:19:32 ok 15:19:41 I'll do the limit update in the client to fix that problem 15:19:49 #action rakhmerov, d0ugal: review https://review.openstack.org/#/c/514317/ 15:19:57 bobh: ok, yes 15:20:01 thanks a lot 15:20:02 and get the task PR finished that I was working on 15:20:09 yep 15:20:21 Hopefully Mike has some ideas on how to do the sorting of the results 15:20:29 Not sure how to do two sorts :-) 15:20:32 yes, he'll reply 15:20:44 I guess he's on a day off today or something 15:20:48 cool - I think that's all I have 15:20:51 I couldn't reach out to him too yet 15:20:55 ok 15:20:57 I'm off this week too 15:21:01 ok 15:21:08 d0ugal: do you have anything? 15:21:20 seems like nobody else is coming so I'd suggest we make it short 15:21:56 ok, let's end the meeting then 15:22:03 thanks! 15:22:09 I'm available as usually, if needed 15:22:24 thanks! 15:22:27 #endmeeting