16:04:14 #startmeeting Mistral 16:04:15 Meeting started Mon Nov 23 16:04:14 2015 UTC and is due to finish in 60 minutes. The chair is akuznetsova. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:04:16 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:04:17 hi everyone! 16:04:19 The meeting name has been set to 'mistral' 16:04:24 hi 16:04:27 <_gryf> hi 16:04:31 hi, guys 16:04:31 hi everyone 16:04:31 <^Gal^> hi 16:04:41 hi 16:05:20 give me a sec, I'll find last meeting minutes 16:05:20 hello 16:05:28 :) 16:05:54 seems we have some new faces today 16:06:44 yeah, it's cool 16:06:54 let's start 16:07:17 #action items review 16:07:58 #topic 16:08:10 #topic action items review 16:08:29 :-) 16:08:36 1. rakhmerov: create Mitaka series and milestone in 16:08:36 python-mistralclient LP 16:09:06 nmakhotkin, do you know, Renat did it or not? 16:09:48 I see mistralclient ver 1.2.0 16:09:57 yeah, me too 16:10:14 ok, it means that this ai is done 16:10:23 AFAIK client versions differ from version of main project 16:10:41 2. rakhmerov, melisha: design "Mistral HA" and "Multi-region support" during M-1 16:11:10 is melisha with us? 16:11:13 I am not sure that I see any docs/etherpads 16:11:29 I can update on it : they didn't do it yet 16:11:46 someone asked me about this topic today 16:11:50 LimorStotland, thanks 16:11:51 so, let's forward action to next meeting 16:11:59 yes 16:12:05 #action rakhmerov, melisha: design "Mistral HA" and "Multi-region support" during M-1 16:12:06 ok 16:12:16 thanks, nmakhotkin 16:12:21 np :) 16:12:45 that's all action items from previous meeting 16:12:58 hi guys 16:13:09 hi rakhmerov 16:13:11 I reviewed OpenStack HA meeting log btw 16:13:29 #topic Current status (progress, issues, roadblocks, further plans) 16:13:43 please keep going... 16:13:45 I'll catch up 16:14:14 my status: did a lot of review last week 16:14:16 <^Gal^> I'm on mistraldashboard pagination in execution screens 16:14:41 my status: i am working on internal alcatel-lucent issues + mistral reviews 16:14:47 btw, nice to see ceilometer and trove actions in mistral :) 16:15:02 - completed the implementation of mistral workflow sharing, https://review.openstack.org/244155 [READY FOR REVIEW] 16:15:02 - fixed some bugs found during workflow sharing feature testing. [MERGED] 16:15:02 - completed mistral-spec initialization, I think it's a big improvement for Mistral as an official project. [MERGED] 16:15:03 - had an experience with Reno, gave a sharing to the whole team via email. [DONE] 16:15:03 - review work [ALWAYS] 16:15:28 nmakhotkin: yeah, I'll do zaqar integration in next few days 16:15:30 <^Gal^> xylan_kong: nice! 16:15:43 my status: reviews, backporting (not finished) and some email exchanges 16:15:43 xylan_kong: awesome! 16:15:44 my status: worked on improving our Jenkins ci, split one gate into two separate gates, I am planning to continue this work and make gates voting 16:16:08 nmakhotkin: thanks 16:16:13 xylan_kong nice !!! 16:16:31 xylan_kong, oh, you came prepared ) 16:16:50 akuznetsova: yes, of course 16:16:58 xylan_kong, :-) 16:17:01 a habit 16:17:26 does anybody have any roadblocks? 16:17:48 i have one, but can be discussed in open discussion 16:18:01 about how we identify resource 16:18:12 xylan_kong, ok, so let's move to open discussion ! 16:18:17 akuznetsova: ok 16:18:25 #topic Open Discussion 16:18:43 xylan_kong, please, go ahead 16:18:56 I also wanted to discuss status of backporting but not sure if we need to do it now 16:19:03 the problem was found during the implementation of workflow sharing feature 16:19:18 about a half of bugs that ALU wants got merged into stable/liberty 16:19:19 #link https://blueprints.launchpad.net/mistral/+spec/use-workflow-id-in-rest-api 16:19:47 I want to talk about the bp/bug, for fixing that, maybe we need to consider re-design our Mistral API 16:19:49 some of them can't be merged because we need to repair a sequence of commits in stable/liberty 16:19:58 I'm planning to work on it tomorrow first thing 16:21:12 xylan_kong : i am not sure i understand... can you please give example or something ? 16:21:26 Without uuid, we can hardly distinguish different workflows with same name, especially when we use 'public' workflows or we want to get benifits from workflow sharing feature I have been implementing these days. 16:21:32 xylan_kong, what do you mean by re-design ? api v3 ? 16:21:40 .akuznetsova maybe 16:22:19 since it seems a big change for mistral, especially related to API 16:22:35 I have already met some bugs related to that, please see https://bugs.launchpad.net/mistral/+bug/1518655 and https://bugs.launchpad.net/python-mistralclient/+bug/1518276 16:22:35 Launchpad bug 1518655 in Mistral "Cron-trigger running failed when workflow's scope is updated to 'private' from 'public'" [Undecided,New] 16:22:36 Launchpad bug 1518276 in python-mistralclient "Can not distinguish private workflow and public workflow with the same name" [Medium,Fix committed] - Assigned to Lingxian Kong (kong) 16:22:37 that sounds like a nice idea xylan_kong 16:23:13 currently, different tanants can have workflows with same name 16:23:20 xylan_kong: yes, I fully understand you 16:23:31 rakhmerov :-) 16:23:32 I think it's a subject of API v3 design 16:23:43 I don't remember why we decided to use names instead on uuid 16:23:52 but also agree that we need to fix it in a backwards compatible way in v2 16:24:01 rakhmerov: yes, absolutely 16:24:13 we can both support name and uuid 16:24:17 or maybe have v2.1 16:24:17 yes, we can use name or uuid 16:24:30 for backport 16:24:38 akuznetsova: because we wanted save API calls when we needed to do something with workflows 16:24:57 so that you don't need to lookup a workflow by name first in order to find its id 16:25:05 and then, for example, to execute it 16:25:32 assuming that names are unique you can run them immediately without having to know their ids 16:25:37 that was the idea 16:26:00 oh, I see 16:26:07 names are human-readable :) 16:26:16 and rememberable 16:26:16 nmakhotkin: indeed 16:26:34 but now in case of public wfs it became a problem 16:26:40 nmakhotkin: but it is also changable 16:27:00 xylan long do you have any design for it? 16:27:01 and it's part of ReST API 16:27:07 xylan_kong: really? 16:27:12 actually, it can be solved also if we print out their "scope" field and "name + scope" is a unique constraint 16:27:16 LimorStotland: yes, i think it's not a hard thing todo 16:27:25 I don't remember there is a possibility to change a name of workflow 16:27:47 xylan_kong: yes, I'm actually not sure we can change it 16:27:50 let me see.. 16:28:03 we can't change the name 16:28:42 we can't 16:28:45 that's right 16:29:04 because /workflows/name PUT accepts plain/text only 16:29:20 which is YAML 16:29:27 so can please publish the design... its a bit hard (at least for me to see the problem, for me it's sound like we only need to add workflow-id to the get ....) 16:29:52 rakhmerov: that works. but as a user, maybe I will be confused that i can't design a workflow with a name i wanted if you add the constraint 16:30:08 yes 16:30:14 well, after all I think it may have been a mistake to identify workflows by names 16:30:16 LimorStotland: yes, it deserves a spec for review 16:30:29 xylan_kong thanks 16:30:38 so, what's you suggestion about when we can start to do that? 16:30:49 in M? or N? 16:30:56 on one hand, it's a little bit more convenient in certain cases but on the other hands ids are much more flexible 16:31:06 xylan_kong: doing what? 16:31:15 rakhmerov: use uuid 16:31:26 or adding uuid support 16:31:30 in rest api 16:31:38 xylan_kong: whenever API v3 comes through, in my opinion 16:31:55 which I hope will happen in M 16:32:07 since i have to solve the problem in the resource sharing feature design 16:32:16 well, it's just my thought, I'm not sure about this suggestion 16:32:29 probably will be more changes in api v3, so I guess that we need to design it first 16:32:30 it really should be designed first and reviewed like LimorStotland said 16:32:48 rakhmerov: yes, agreed 16:32:51 akuznetsova: yes 16:32:54 xylan_kong: yes 16:33:23 xylan_kong: so you actually sent some patches with showing id, right? 16:33:23 so maybe i can have the first commit in mistral-spec :-) 16:33:30 rakhmerov: yes 16:33:32 I voted +2 for them 16:33:43 rakhmerov: but that's just some workaround for nwo 16:33:56 can not solve the whole problem totally 16:34:05 xylan_kong: ok, but do we need anything else for now? 16:34:11 I know that's a workaround 16:34:53 the problems still exist 16:35:13 yes 16:35:18 and we have to wait until we support uuid in rest api 16:35:36 let's create etherpad with new API design 16:35:58 akuznetsova: no need etherpad, just specification in mistral-spec 16:36:00 xylan_kong: I mean is it a roadblock for resource sharing implementation now? 16:36:08 xylan_kong, oh, yes 16:36:58 rakhmerov: yes, when i share a workflow to a tenant, he can't see the workflow details if he has a workflow with the same name 16:37:24 why? 16:37:26 in implementation, we don't know which workflow detail the tenant want to show 16:37:33 give me a sec.. thinking.. 16:37:39 with the only workflow name 16:38:00 given we have 2 tenant2, A and B. 16:38:05 yes 16:38:09 A creats a workflow, and shars with B 16:38:14 what do you do to share a workflow? 16:38:15 yes 16:38:30 blablabla.... 16:38:43 rakhmerov: you already know , right? 16:38:47 what's the sharing algorithm? 16:38:52 no I don't 16:39:08 more precisely, I remember what we discussed at the summit but didn't look at your impl yet.. 16:39:17 rakhmerov: https://blueprints.launchpad.net/mistral/+spec/mistral-resource-sharing 16:39:45 yes, you can take a look at the code first, including the sharing api design 16:40:00 especially the test cases 16:40:16 i think that what xylan_kong is saying is that it can create a situation where a user can run 2 different wf with the same name 16:40:28 xylan_kong: yes, I saw the BP, just please explain your algo in 2 words 16:40:36 you create a permissions table? 16:40:51 i added a new table to record the sharing relationship 16:41:12 the table can be used for workflow, workbook, and action 16:41:27 and any other resources in future that can be sharable 16:41:43 ooh, ok. I see now the problem 16:41:53 correct me if I'm wrong.. 16:42:01 ok 16:42:55 so even if we shared a workflow from A to B and users from B can see the WF in listings they still can't use it because they need to use unique names 16:43:10 rakhmerov: yes, exactly 16:43:20 that are not unique anymore because A and B can contain wfs with same names 16:43:25 yep... 16:43:29 f...k 16:43:39 calm down :-) 16:43:40 it's a serious issue :) 16:44:18 it definitely need to change but I just wonder if we can workaround it for now somehow 16:44:41 rakhmerov: yes, we can support name and uuid at the same time 16:44:50 name is just for backward compatible 16:45:00 and we recommend users to use uuid in future 16:45:05 maybe in M release 16:45:16 you mean we can change all that methods taking names to also support ids? 16:45:24 rakhmerov: yes 16:45:27 yeah, that should work 16:45:36 I guess that it is good variant 16:45:44 I actually I know some technologies that use that approach 16:45:52 for example, StackStorm does that 16:46:11 xylan_kong: so that is what you're going to work on? 16:46:22 create a spec for it? 16:46:26 and in release notes, we must be honest to tell users what's the restriction about using name 16:46:33 rakhmerov: sure, i can go with that 16:46:44 xylan_kong: yes, please do 16:46:50 because anyway it's related to your task 16:46:56 rakhmerov: yes 16:47:00 ok, deal 16:47:09 i can start with a specification 16:47:56 yes, please 16:48:16 ok 16:48:17 will call for review when i finish 16:48:21 :-) 16:48:29 anything else to discuss ? 16:48:47 rakhmerov, ? 16:48:50 I'm done 16:48:54 akuznetsova, rakhmerov: I have a short question, do you have any progress on https://bugs.launchpad.net/mistral/+bug/1513456 Today I was able to dummy fix it (using sleep), but have idea for better solution. I'm wondering if I can reassigne it to myself. 16:48:54 Launchpad bug 1513456 in Mistral "task stuck in RUNNING state when all action executions are finished" [Critical,Triaged] - Assigned to Renat Akhmerov (rakhmerov) 16:49:04 and I would even say "I'm completely finished" :) 16:49:13 AFAIK we don't 16:49:25 rakhmerov? 16:49:25 rakhmerov :-) 16:49:26 yes, we don't fix it 16:49:28 ddeja: please do 16:49:32 feel free 16:49:45 ok, will do so :) 16:49:54 ddeja: just one question 16:50:17 were you just able to reproduce it or you were able to understand the cause of the issue? 16:50:30 both 16:50:34 I'd be rather interested to know where it comes from 16:50:35 <_gryf> rakhmerov, we were working on it last week 16:50:41 ddeja: ooh, awesome! 16:51:07 ddeja: can you please explain briefly what this issue is caused by? 16:51:16 It's a race condition in default engine 16:51:24 ok, where exactly? 16:51:30 in method 'on_action_complete' 16:51:33 <_gryf> rakhmerov, ddeja, it could be good, to make a comment under the bug on lp 16:51:44 yes, definitely 16:51:59 ok, let me put it this way: I'd like to know all the guts of this issue 16:52:01 :)) 16:52:12 when transaction is started, it sometimes (in my case - always) didn't finish 16:52:27 before transaction is started in second thread 16:52:27 transaction hangs?? 16:52:46 so, both transactions didn't see that the other action has ended 16:53:10 yep, I also investigated that a bit 16:53:47 hm.. 16:53:48 weird 16:53:55 it can be fixed by not checking in code if every action has ended, but leave it to database 16:53:58 I saw the same thing... 16:54:01 why didn't that TX finish? 16:54:24 it did finished 16:54:31 ddeja: as far as checks it makes sense, yes 16:54:32 but before it happend, second started 16:54:44 oooh! I think I got it 16:55:03 it's because an ORM model in memory differs from DB state.. 16:55:07 right? 16:55:09 yes 16:55:14 gotcha 16:55:17 folks, we have only 3 mins left 16:55:23 OK :) 16:55:25 ddeja: good job! welcome your contribution btw 16:55:29 then the fix should be pretty simple 16:55:43 ddeja: yeah, awesome job! Thanks 16:55:55 let's wrap our meeting 16:55:59 reassign it to yourself and ask any help if needed 16:56:00 xylan_kong, rakhmerov, thanks :-) 16:56:07 OK 16:56:11 we can continue in our usual channel 16:56:12 it's an extremely important issue 16:56:29 ok, now I'm completely finished 16:56:35 ok to end the meeting 16:56:38 bye! 16:56:41 bye 16:56:42 ok, productive meeting 16:56:43 let'd meet in our channel 16:56:44 bye 16:56:44 bye, guys 16:56:49 <_gryf> bye 16:56:53 bye 16:56:54 bye 16:56:57 #endmeeting