16:01:11 #startmeeting Mistral 16:01:13 Meeting started Mon Mar 14 16:01:11 2016 UTC and is due to finish in 60 minutes. The chair is rakhmerov. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:14 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:01:17 The meeting name has been set to 'mistral' 16:01:20 o/ 16:01:27 hi 16:02:27 hi there! 16:02:34 hi, how are you? 16:02:40 great) 16:02:46 hi everyone! 16:02:47 work hard 16:02:49 okay 16:03:00 I'm going to wait for a couple of minutes 16:04:21 o/ 16:04:33 let's start 16:04:41 thanks for joining 16:05:16 I don't have any special agenda for today, just want to quickly go over our usual stuff 16:05:36 and also talk about ha gate 16:05:53 #topic Review action items 16:06:20 1. akhmerov: propose time slots for 2 different meetings (for 2 groups of people from completely different time zones) 16:07:20 sorry, I missed previous meeting, what meetings do you mean? 16:07:21 didn't have a chance actually to discuss it with all folks, I guess it won't be solved till the summit 16:07:49 akuznetsova: for our team meeting 16:08:06 there's a suggestion to split it into two meetings 16:08:35 one for Europe/Asia and another one for North America 16:08:49 because now a lot of people just can't join 16:09:03 from US or NZ, for example 16:09:16 we can try to make it floating 16:09:18 even for folks in Israel it's not too convenient too 16:09:46 hm... yes, but it'll be challenging because we have to reserve time slots anyway 16:09:54 the number of channels is limited 16:10:21 yes, I see 16:10:43 we also need to understand how it's going to work 16:11:10 for example, who should be on both meetings and how to transfer information between locations 16:11:22 let me keep this AI for records 16:11:24 what if we hold the meeting at openstack-mistral sometimes for that? 16:11:27 #action 1. akhmerov: propose time slots for 2 different meetings (for 2 groups of people from completely different time zones) 16:11:37 NikolayM: yes, we can 16:11:49 the channel is now set up to record meetings 16:12:14 I'm going to start a public discussion for that with my ideas on that 16:12:31 it's my fault that I haven't done it so far 16:12:50 yes, need to find the best approach 16:12:55 aha 16:13:07 2. rakhmerov: ask ALU folks to rebase patches 16:13:08 done 16:13:21 #topic Current status (progress, issues, roadblocks, further plans) 16:14:16 my status: reviews, one simple bug fix, added documentation for asynchronous actions 16:14:47 hoping to fix https://bugs.launchpad.net/mistral/+bug/1524477 in the next couple of days 16:14:47 Launchpad bug 1524477 in Mistral "After-task logic runs multiple times if tasks run in parallel" [High,In progress] - Assigned to Renat Akhmerov (rakhmerov) 16:15:00 my status: tried to write a unit-test for my patch related to oslo.messaging but failed. Keep it as is, a test (functional) will be in the future when HA-gate will be available 16:15:12 I've done some investigation and understand the general reason but am not sure yet how to fix it properly 16:15:33 NikolayM: I left my +2 for it 16:15:39 need one more +2 16:15:44 that's about the 'processed' field? 16:15:44 my status: started work on ha gate, prepared some base test code (it isn't on review) which will allow to manage mistral services, like to scale up number of engine or kill them all. Faced with a problem that it is not as easy as I thought to change our devstack script to have a ability to run services in a different processes 16:15:52 NikolayM: yes 16:16:33 akuznetsova: what is that challenage? 16:16:40 can you tell quickly? 16:17:53 rakhmerov, as I understand we can run only one enabled service in one screen, now we have one enabled service (from devstack side) "mistral" 16:18:09 and we run it in separate screen 16:18:46 can we have multiple screens? 16:19:12 can we have multiple services in settings? 16:19:12 we use one command "screen_it mistral mistral-server --server all ...." - it runs command in "mistral" screen 16:20:00 we can't use "screen_it mistral" 3 times for --server engine, --server api and --server executor 16:20:23 I propose to make a change and make it similar to sahara project 16:21:01 hm.. can we just call screens differently for different components? 16:21:20 not all of them just "mistral" 16:21:45 as far as I understand there is common global value "USE_SCREEN=True" 16:21:50 but "mistral_eng", "mistral_exc" etc 16:22:04 ok 16:22:19 I thought we can add 'mistral-api' (engine/executor) to enabled_service 16:22:25 I like how it works in sahara https://github.com/openstack/sahara/blob/master/setup.cfg#L31-L33 16:22:39 NikolayM, yes 16:23:25 ok, they just have multiple start scripts 16:23:33 it's fine too 16:23:36 to me 16:23:38 after that we can run mistral-api / mistral-engine / mistral-executor 16:24:02 and don't do it via mistral-server --server * 16:24:09 what is the main difference? 16:24:11 akuznetsova: will it allow us to run, for example, two executors? or engines? 16:24:39 rakhmerov, why not? 16:24:39 NikolayM, akuznetsova: yes, I don't actually see a serious difference 16:25:26 akuznetsova: I mean will we be able to run 2 executors? In what screens will they be running? 16:25:26 rakhmerov, NikolayM the main difference between what? I don't get it 16:25:58 difference between mistral-api /engine/executor and mistral-server --server api/engine/executor 16:26:13 they are just different commands 16:26:16 yes 16:26:18 agree 16:26:31 I don't understand how it is different too 16:26:32 rakhmerov, we will run only 1 executor in the gate by default 16:26:50 another executors will be run not in a screen 16:26:53 yes, but we need to have a possibility to run more 16:27:01 akuznetsova: ok 16:27:16 why are we worried about screens then? 16:27:26 problem now that I can't split executor, engine and api 16:27:39 in the gate 16:27:48 because they would have to run in the same screen, right? 16:28:24 why they can't be run in separate screens? 16:28:53 need to make it possible) 16:28:59 guys, let me clarify pls 16:29:02 I thought we can add in the devstack/settings - enabled_service mistral-api, mistral-engine and so on 16:29:05 there's a command 16:29:06 screen_it mistral mistral-server --server all .... 16:29:29 in this command, "mistral" is the name of the screen, right? 16:29:30 and then screen_it mistral-api/mistral-engine mistral-server 16:29:40 rakhmerov, yes 16:29:44 rakhmerov, yes 16:29:46 if so, we can just use different names for these screens 16:29:54 what's the issue then? 16:29:56 NikolayM, I didn't try it 16:30:13 rakhmerov, the name of this service should be enabled first 16:30:13 ok, I think we're now on the same page 16:30:28 enabled where? 16:30:34 for mistral-api or mistral-engine 16:30:38 in devstack/settings 16:30:49 is there a problem to enable it? 16:30:51 them 16:30:58 there is a script in mistral/devstack/ 16:31:07 no, I don't think it is a problem 16:31:07 I thought that it should be registered somewhere else 16:31:31 where? 16:31:38 ok, let's just agree for now that it needs more experiments 16:31:51 I think it is the certain place for registering 16:31:59 ok, I will check your idea 16:31:59 ok 16:32:18 and update patch 16:33:03 after that will push prepared code for ha tests 16:33:10 another question here though is, we need to think about the default set of services that we need to run 16:33:31 and how other component instances will be running if we need them 16:33:35 during our tests 16:34:12 I'm interested in discussing the blueprint for the custom actions. https://blueprints.launchpad.net/mistral/+spec/mistral-custom-actions-api 16:34:35 rbrady: sure, let's now just go to open discussion 16:34:40 #topic Open Discussion 16:34:49 I guess that we can have 1 engine, 1 executor and 1 api by default, all other needed instances can be run as a processes 16:35:09 akuznetsova: agree 16:35:13 most likely yes 16:35:34 rbrady: yes, I created this BP based on the patch I recently reviewed in TripleO 16:35:58 I implemented new auth based on your feedback 16:35:59 I just realized that it's not clear enough in Mistral what should be treated a public API 16:36:09 rbrady: ok 16:36:11 same patch? 16:36:31 but as I continue down the path of creating more custom actions, I'm still trying to figure out what is public and what should be considered private 16:36:39 rakhmerov: yes 16:36:45 ok 16:37:30 rakhmerov: in a new patch, I'm looking at "from mistralclient.api.v2 import environments" 16:37:32 well, effectively all public API now for creating actions is mistral.actions.Action 16:37:41 the base Action interface 16:38:28 ok, there's two parts here, just to be clear 16:38:33 even 3 parts I guess 16:38:37 I know tripleo might be an interesting case as we're trying to integrate several openstack services 16:39:06 1. All that's exposed in REST API is, of course, a public API 16:39:17 and it's expressed in the client too 16:39:33 but specifically we have some requirements for accessing the mistral-environment from an action execution and for now I think using the EnvironmentManager would work 16:39:39 2. mistral.actions.base.Action, should be used for subclassing when we need to implement a new action 16:40:16 ok, just to understand on 100%, what do you mean by mistral-environment? 16:40:49 mistral environment, the place for saving state 16:41:12 http://docs.openstack.org/developer/mistral/guides/mistralclient_guide.html#environments 16:41:39 oh, ok 16:41:54 I thought you were mostly talking about security context 16:42:01 rakhmerov, we can create env with some default values for params and use it in wf 16:42:02 I'm looking at treating mistral just like we treat all of the other openstack services 16:42:04 at least I saw that in the previous patchset 16:42:32 rbrady: in what way? 16:42:42 the new patchset follows the guidance in the review and no longer attempts to use mistral's keystone auth or mistral.context 16:43:25 rakhmerov: similar to the default openstack actions in mistral 16:43:27 yes, that's ok. But do you still need to use that info? I mean mistral.context? 16:43:43 rbrady: ooh, ok. I got it 16:43:48 rakhmerov: I think I can access the data I need to through mistral client 16:44:11 so, let me try to summarize 16:44:44 now, in Mistral we can use Nova, Glance etc. with corresponding actions w/o having to pass security specific info 16:44:48 like auth token 16:45:13 but we can't do it with custom actions easily 16:45:24 rakhmerov: yes, I'm now requiring auth_token passed to an execution via param 16:45:42 yes 16:46:26 so what's the solution? 16:46:44 and in follow on patches when adding more custom actions, I want to be able to use the mistralclient in the same way I'd use nova or heat clients 16:47:29 so using mistralclient in a custom action to get access to read and write to mistral environment 16:47:44 ok 16:47:46 in the 2 cases where a workflow would not fit our use case 16:48:30 I plan to have a patch up today or tomorrow to illustrate all of this 16:48:43 rbrady: can you please leave your comment in the BP too, please? 16:48:59 rbrady: yep, the patch would be great 16:49:14 I actually now see even better the source of confusion 16:49:20 rakhmerov: yes, but I don't have access to leave a comment on the blueprint 16:49:38 rbrady: hm, why? 16:49:58 rakhmerov: nm, I guess it's through whiteboard 16:50:15 I guess I need to add you to the team or something 16:50:19 I've been using specs for so long I seem to have forgotten the blueprint process 16:50:29 #action add rbrady to Mistral team 16:50:37 o/ 16:50:40 np, I'll do it 16:50:44 thanks! 16:50:49 I don't think blueprints support comments. 16:50:55 so, just to clarify... 16:51:13 right, there's whiteboard 16:51:16 and work items 16:51:20 Yup 16:51:30 anyway, it could be added somewhere ) 16:51:36 I was going to comment on it too :) Maybe we can just add to the whiteboard. 16:51:48 I'd be also ok to add it into description with keeping authority 16:52:09 sure, all options are fine to me 16:52:20 so, here's the thing on actions 16:52:24 the confusion is 16:53:04 on one hand, if we look at our OpenStack specific actions then we'll see that their implementations use mistra.context and other kind of private modules 16:53:07 :) 16:53:16 but we told you not to use them 16:53:30 it is confusing, yes 16:54:29 and actually, we need to check if that all works fine even with standard openstack actions 16:54:46 because I now have some bad thoughts on this 16:54:58 hah :) 16:55:06 so that's why we need to clearly define the contract for writing new actions 16:55:35 that security and environment info must always be accessible for actions 16:55:38 for all of them 16:55:48 and that must be treated a public API 16:56:04 along with what's exposed in the client 16:56:16 rakhmerov: +1 16:56:26 ok 16:56:46 thanks for bringing this up 16:56:51 it is very important 16:57:44 rakhmerov: as I'm going to building on these custom actions in tripleo for the next few weeks leading up to the summit, I'd like to help in any way I can 16:58:07 ok, thanks 16:58:12 we'll use you ) 16:58:16 :) 16:58:44 I see it one of them most important issues that we need to solve in the near future 16:58:56 because it's related to programming interface 16:59:23 and I'm almost sure that our OpenStack actions won't work in case if engine and executor will be separate processes ) 16:59:32 it might be a bug 16:59:45 ok, we're running out of time 16:59:52 will see in the nearest future)) 16:59:58 do you have a way to set up the processes separately in CI? 17:00:01 thanks again for bringing this up and for joining us today 17:00:11 np. glad to be here 17:00:24 rbrady, we are working on it 17:00:27 Thanks! 17:00:27 rbrady: that's what we were discussing today too ) I mean what we call HA gate 17:00:33 ahh 17:00:45 once it's done we'll be able to test all those corner cases 17:00:54 and distributed setups in general 17:01:14 so it all fits into one picture ) 17:01:20 it is time to go 17:01:21 thanks, bye all 17:01:24 bye! 17:01:25 bye 17:01:25 thanks everyone 17:01:31 #endmeeting