Monday, 2017-01-23

*** jamielennox|away is now known as jamielennox00:05
*** bobh has joined #openstack-mistral00:41
*** bobh has quit IRC00:46
*** gongysh has joined #openstack-mistral03:05
*** bobh has joined #openstack-mistral03:44
*** bobh has quit IRC03:49
rakhmerovthrash|g0ne: yes, you could also use your previous form of expression but with "let"04:05
rakhmerovlet(stack => $.stack) -> <your expression>04:07
rakhmerovit's because $ doesn't refer to a root context any more inside "where"04:08
rakhmerovyou can also do a similar thing with the entire root context:04:08
rakhmerovlet(root => $) -> <expression>04:08
*** sharatss has joined #openstack-mistral04:21
*** gongysh has quit IRC04:36
*** bobh has joined #openstack-mistral04:45
*** bobh has quit IRC04:49
rakhmerovd0ugal: hi Dougal, I left a comment in https://review.openstack.org/#/c/42329904:58
rakhmerovpls take a look04:58
rakhmerovcan be addressed separately but I'd like to ask you to do it one way or another04:58
*** gongysh has joined #openstack-mistral05:16
*** gongysh has quit IRC05:32
*** sharatss has quit IRC06:00
*** bobh has joined #openstack-mistral06:01
*** bobh has quit IRC06:15
*** sharatss has joined #openstack-mistral06:20
*** sharatss has quit IRC07:33
*** sharatss has joined #openstack-mistral07:46
openstackgerritMerged openstack/mistral: Allow hyphens in Workflow and ad-hoc action names  https://review.openstack.org/42329907:53
d0ugalrakhmerov: underscores are already included :)07:55
rakhmerovhow come?07:56
rakhmerovit's not a part of that regex, right?07:56
d0ugalIt is actually07:56
d0ugal\w includes _07:56
d0ugalLet me find the relevant bit in the docs...07:56
d0ugal"this is equivalent to the set [a-zA-Z0-9_]"07:56
d0ugalhttps://docs.python.org/2/library/re.html07:56
d0ugalrakhmerov: there is even one in the tests that I added (when I added it originally)07:58
rakhmerovooh07:58
rakhmerovyeah07:58
rakhmerovI forgot07:58
d0ugalhttps://github.com/openstack/mistral/blob/master/mistral/tests/resources/workbook/v2/workbook_schema_test.yaml#L4207:58
rakhmerovok then07:58
d0ugalbut the comment about allowing "-" is valid, maybe I should make it a bit better.07:59
d0ugalwe don't want to just allow - or _, but we currently do07:59
d0ugalso a workflow could be named "_-_" lol07:59
rakhmerovI knew about digits and letters but forgot about underscore07:59
rakhmerov:)))))08:00
rakhmerovit's actually pretty cool08:00
d0ugallol08:00
d0ugalI guess if people are doing that, then we should let them - it would be hard to do it by accident.08:00
*** jtomasek has quit IRC08:15
*** jtomasek has joined #openstack-mistral08:17
*** jpich has joined #openstack-mistral08:52
*** shardy has joined #openstack-mistral09:02
openstackgerritSharat Sharma proposed openstack/mistral: Add script for unit test coverage job  https://review.openstack.org/41788109:09
openstackgerritSharat Sharma proposed openstack/python-mistralclient: Add script for unit test coverage job  https://review.openstack.org/41790209:12
*** sharat has joined #openstack-mistral09:57
rakhmerovsharatss: hi10:20
rakhmerovcan you please test Congress actions?10:20
rakhmerovasap10:20
rakhmerovI'd like to merge your patch10:20
sharatssrakhmerov: yes. i am on a holiday10:20
sharatssrakhmerov: will test it asap and let you know10:21
d0ugalso, I am looking at the Glare email thread...10:34
d0ugal"Mistral will store its workflows in Glare" - does that mean Mistral will depend on Glare?10:34
rakhmerovd0ugal: yes, I guess so10:35
rakhmerovon glare client10:35
d0ugalrakhmerov: right, but it will be optional?10:35
rakhmerovsure10:36
d0ugalcool10:36
d0ugalJust wondering about non-OpenStack users.10:36
rakhmerovIMO it won't be necessary to store WFs in Glare10:36
rakhmerovjust one of the options10:36
rakhmerovyes10:36
d0ugalmakes sense10:36
d0ugalthanks10:36
d0ugalit would also make things more complicated for us too :)10:36
rakhmerovthe bigger thing IMO is that we should teach Mistral to have references to binaries in workflows10:37
rakhmerovsomehow10:37
d0ugalreferences to binaries?10:37
rakhmerovyes10:37
d0ugalI don't understand what that is.10:37
rakhmerovsec10:37
rakhmerovthink of the following (typical) example: I want to build a workflow in which I'm planning to use a number of shell scripts (or other types of scripts), I want to use some public keys, I want to use something else that is not really good to have hardcoded in my workflow10:40
rakhmeroveven when we use std.ssh now we have to write SH scripts right in workflows10:40
rakhmerovso it would be cool to have some sort of an external storage where we could store all necessary resources we're going to use10:41
rakhmerovIn fact, this is a replacement of a regular FS which we can't use normally10:42
d0ugalright10:42
rakhmerovsince Mistral is a RESTful service10:42
rakhmerovyes, so that's the idea10:42
d0ugalso, you could maybe have an action that uses a shell script stored in Glare or Swift or ..10:42
d0ugalor any other executable10:43
rakhmerovyou got it10:43
rakhmerovyes10:43
d0ugalyeah, I could see that being useful.10:43
rakhmerovit's basically a better separation of concerns10:43
rakhmerovworkflow and resources stored separately10:43
d0ugalWe have this problem in a way with TripleO, the solution is kind of ugly :)10:43
rakhmerovyes, a lot of middlemen10:44
rakhmerov:)10:44
rakhmerovwith bent sticks :)10:44
d0ugalhaha10:44
d0ugalwe give the Mistral user extra permissions :-/ https://github.com/openstack/tripleo-common/blob/master/sudoers10:44
d0ugalso that it can do more10:44
rakhmerovyeah, I see10:45
d0ugalanyway, maybe this is another good PTG topic10:45
rakhmerovlet me include it10:45
rakhmerovbtw, Mike Fedosin will join us there10:45
rakhmerovwe are going to discuss it anyway10:45
d0ugalgreat10:46
rakhmerovdone, included10:48
rakhmerovd0ugal: I don't remember a real status of https://bugs.launchpad.net/mistral/+bug/164529510:48
openstackLaunchpad bug 1645295 in Mistral "Custom actions can cause database errors if they pass the result class objects" [Critical,In progress] - Assigned to Dougal Matthews (d0ugal)10:48
rakhmerovcan you please remind me?10:48
rakhmerovI'm going over our tickets for Ocata-310:49
d0ugalrakhmerov: I think you fixed it, in another related bug but we wanted to add a test for this particular case.10:49
d0ugalI keep forgetting about it, sorry.10:49
rakhmerovcan you do it before Thu?10:50
d0ugalyes, I think so10:50
rakhmerovand can we close this exact ticket?10:50
d0ugalYup, sounds good.10:51
d0ugalI dropped the priority as I don't think it should still be "critical"10:52
* d0ugal will bbiab10:53
openstackgerritSharat Sharma proposed openstack/mistral: Improve the CONTRIBUTING.rst  https://review.openstack.org/42405811:05
*** sharatss_ has joined #openstack-mistral11:45
*** sharat has quit IRC11:45
*** sharatss has quit IRC11:45
*** sharatss has joined #openstack-mistral11:46
*** sharatss_ has quit IRC11:47
*** sharatss has quit IRC11:47
*** sharatss_ has joined #openstack-mistral11:47
*** sharatss has joined #openstack-mistral11:47
*** shardy is now known as shardy_lunch12:22
*** thrash|g0ne is now known as thrash12:37
*** catintheroof has joined #openstack-mistral12:45
*** catintheroof has quit IRC12:50
*** catintheroof has joined #openstack-mistral12:58
*** dprince has joined #openstack-mistral13:00
*** bobh has joined #openstack-mistral13:00
*** hrybacki|sick is now known as hrybacki13:04
*** sharatss_ has quit IRC13:20
*** bobh has quit IRC13:27
openstackgerritDougal Matthews proposed openstack/mistral: Don't create actions with empty arg_lists  https://review.openstack.org/41243313:28
*** shardy_lunch is now known as shardy13:28
openstackgerritDougal Matthews proposed openstack/mistral: Don't create actions with empty arg_lists  https://review.openstack.org/41243313:41
*** catinthe_ has joined #openstack-mistral14:29
*** rbrady is now known as rbrady-mtg14:30
*** catintheroof has quit IRC14:32
*** rbrady-mtg is now known as rbrady14:45
*** tuan_ has joined #openstack-mistral14:45
tuan_rakhmerov: Hi renat14:46
tuan_i have attached the summary for the test of YAQL in the mailing loop14:46
tuan_please take a look to that14:46
openstackgerritDawid Deja proposed openstack/mistral: Refactor rpc configuration loading  https://review.openstack.org/42417114:49
*** jaosorior has joined #openstack-mistral14:56
*** bobh has joined #openstack-mistral15:07
*** bobh has quit IRC15:12
tuan_hey guys15:20
tuan_someone online?15:20
d0ugaltuan_: Hi15:28
tuan_Hi15:30
tuan_thanks for being online15:30
tuan_:D15:30
tuan_may i have you some minutes15:30
d0ugalsure, what's up?15:30
tuan_yeap15:32
tuan_it seems like with the big data of executions15:32
tuan_more tan 10GB15:32
tuan_when we try do delete the execution based on expiration_time15:33
tuan_as i saw in the code that we open only one transaction15:33
tuan_and then when we delete the big data of execution based on expiration_time15:33
tuan_we have the error of DB15:33
tuan_it seems that only one sqlalchemy transaction opened15:34
tuan_it is not enough for the big data15:34
tuan_may be the timeout of sqlalchemy15:34
tuan_then we have to list out all the execution15:35
tuan_and then for each of them we open one transaction to delete15:35
tuan_but you know that it does not seem good with sqlalchemy15:35
tuan_do you guys have this use case before?15:36
d0ugalI've never seen anything like that15:38
d0ugalbut we don't keep the executions for long15:38
tuan_yeap15:38
tuan_however in our usecase15:38
tuan_the list of executions is thousands15:38
tuan_and each of them contains quite a lot of task15:39
tuan_therefore it can issue the problem of performance of sql15:39
tuan_therefore i would like to ask you guys this problem15:39
tuan_and if it really affects to the db query with large size of data15:40
tuan_may be we have to limit the number of query of sqlalchemy15:40
tuan_in order to ensure the normal behaviour with the large size of db15:41
tuan_??15:41
tuan_how do you think about this15:41
*** shardy has quit IRC15:41
*** shardy has joined #openstack-mistral15:42
rakhmerovtuan_: can you just tune expiration policy so that it triggers more frequently?16:01
rakhmerovthat way you will keep these transactions smaller16:01
rakhmerovwe're starting a meeting at #openstack-meeting16:01
tuan_oh i am sorry16:02
tuan_i will switch to that channel16:02
rakhmerovtuan_: I guess the problem really exist, you're right16:03
rakhmerovlet's discuss it tomorrow16:03
rakhmerovI think that nobody has hit this issue with large amount of data yet16:03
tuan_yeap16:04
tuan_if there is no one in openstack meeting channel16:04
tuan_we can delay it until tmorrow16:04
tuan_so let's delay it16:04
tuan_:d16:04
tuan_meanwhile i am trying to find more information about performance of sqlalchemy16:05
*** bobh has joined #openstack-mistral16:08
*** bobh has quit IRC16:13
d0ugalsqlalchemy performs pretty well, the problem is usually how you use it :)16:13
*** bobh has joined #openstack-mistral16:14
*** bobh has quit IRC16:21
*** mgershen1 is now known as mgershen16:22
rakhmerovd0ugal: right16:22
tuan_d0ugal: I agree, i have not had this experience before16:51
tuan_but we still have to find out the solution16:51
tuan_however, as i worked in Nova and Neutron before16:52
tuan_in Nova they use tpool from evenlet to avoid the hanging db connection16:52
*** bobh has joined #openstack-mistral16:53
tuan_i do not know that if we have a large size of db16:53
tuan_time to query is big, therefore another connection has to wait for previous one16:53
tuan_it may hang till it reaches the timeout16:53
tuan_hmm, just only my guest16:54
*** rbrady is now known as rbrady-food17:10
*** tuan_ has quit IRC17:23
*** jpich has quit IRC17:38
*** bobh has quit IRC17:43
*** bobh has joined #openstack-mistral17:55
*** mgershen has quit IRC17:56
*** bobh has quit IRC17:59
*** rbrady-food is now known as rbrady18:29
*** catintheroof has joined #openstack-mistral18:45
*** catinthe_ has quit IRC18:47
*** shardy is now known as shardy_afk18:55
*** bobh has joined #openstack-mistral18:57
*** catinthe_ has joined #openstack-mistral19:03
*** catintheroof has quit IRC19:06
*** jaosorior has quit IRC19:50
*** dprince has quit IRC20:10
kongrakhmerov: re your example  'I want to build a workflow in which I'm planning to use a number of shell scripts ', that was what I tried to implement in https://review.openstack.org/#/c/373606/21:20
kongrakhmerov: even we could store scripts or code in a third party place, we still need to find an elegant way to run scripts safely21:21
kongthat's why i think FaaS can bring much additional benefit to Mistral21:21
*** shardy_afk has quit IRC21:27
*** toure is now known as toure|biab21:32
*** harlowja has quit IRC22:03
*** dprince has joined #openstack-mistral22:07
*** dprince has quit IRC22:15
*** bobh has quit IRC23:01
*** catinthe_ has quit IRC23:23
*** harlowja has joined #openstack-mistral23:34
*** harlowja has quit IRC23:35
*** harlowja has joined #openstack-mistral23:48

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!