Tuesday, 2017-01-31

*** jrist has quit IRC00:02
*** rbrady has quit IRC00:31
*** rbrady has joined #openstack-mistral00:45
*** rbrady has quit IRC00:45
*** rbrady has joined #openstack-mistral00:45
*** jamielennox is now known as jamielennox|away00:58
*** catintheroof has quit IRC01:02
*** jamielennox|away is now known as jamielennox01:12
*** jaosorior has quit IRC01:17
*** rbrady has quit IRC01:34
*** catintheroof has joined #openstack-mistral01:37
*** catintheroof has quit IRC01:37
*** catintheroof has joined #openstack-mistral01:37
*** catintheroof has quit IRC03:09
*** catintheroof has joined #openstack-mistral03:11
*** catintheroof has quit IRC03:15
*** jrist has joined #openstack-mistral05:19
*** sharatss has joined #openstack-mistral05:38
*** sharatss has quit IRC06:24
*** sharatss has joined #openstack-mistral06:25
*** sharatss has quit IRC06:38
*** sharatss has joined #openstack-mistral06:38
*** sharatss has quit IRC07:00
*** sharatss has joined #openstack-mistral07:00
*** sharatss has quit IRC07:14
*** sharatss has joined #openstack-mistral07:14
d0ugalWill the expiration policy remove RUNNING workflows that are older than the define limits?07:48
d0ugal(or PAUSED?)07:49
*** shardy has joined #openstack-mistral07:51
*** shardy has quit IRC08:24
rakhmerovd0ugal: hi08:40
rakhmerovon Zaqar action: yes, current Zaqar actions can't do that I guess, we can look at them and see if it's possible to fix them instead of creating new ones08:41
rakhmerovbut custom action is an option, yes08:41
rakhmerovd0ugal: on expiration policy, no08:43
rakhmerovonly in terminal state: ERROR, SUCCESS, CANCELLED08:43
d0ugalrakhmerov: I came up with a solution for an interactive workflow with Zaqar (without custom actions)08:47
d0ugalI'll share it shortly.08:47
rakhmerovreally? :)08:47
* d0ugal is blogging08:47
d0ugalrakhmerov: I used pause-before08:48
rakhmerovI'm almost ready to eat my hat if it's true08:48
rakhmerov:)08:48
d0ugalhaha08:48
rakhmerovoooh08:48
rakhmerovinteractive?08:48
d0ugalsort-of08:48
d0ugalrakhmerov: http://paste.openstack.org/show/596983/08:48
rakhmerovI guess I confused it with something else08:48
d0ugalit's interactive because the workflow has users send and recieve messages08:48
d0ugalbut it isn't ideal, as the user needs to send the message and then unpause the workflow08:49
d0ugal(I could do a retry loop with continue-on, but that seemed a bit like overkill)08:49
*** jpich has joined #openstack-mistral08:49
rakhmerovyes, I see what you're doing08:50
rakhmerovyeah, this unpause piece is missing08:50
d0ugalit would be very cool to have an "unpause-on" and provide a condition08:51
rakhmerovit would be cool if we could pass execution id to Zaqar somehow and then when we provide an input we would let Mistral know that this execution needs to be unpaused08:51
rakhmerovyes08:51
d0ugalyup08:51
d0ugalha08:52
rakhmerovbtw, it's an idea to have something like this08:52
rakhmerovI've been cherishing the idea of creating this kind of interactive workflows (kind of wizards) for a couple of years )08:52
rakhmerovwe even started doing something with Nikolay but it's not completed08:53
rakhmerovone of the elements that we saw was needed was some action that holds until a certain event happens08:53
rakhmerovlike std.wait event=...08:54
rakhmerovin this case we could just use a separate task that blocks and then jump wherever needed to continue WF08:54
rakhmerovwhen we have our needed data08:54
d0ugalThat would be nice08:55
rakhmerovsemantically it's similar to "unpause-on" but w/o new keywords08:55
d0ugalYeah08:55
d0ugalWe do something like that in TripleO: https://github.com/openstack/tripleo-common/blob/master/workbooks/stack.yaml#L15-L2108:55
rakhmerovaha08:55
d0ugalwe don't have a custom action, we just do the loop in the workflow with retry :)08:55
rakhmerovok08:56
d0ugalI think that would be basically the same?08:56
rakhmerovone downside of this is that we'll create a lot of task executions08:56
rakhmerovfor every iteration08:56
d0ugalyup08:56
rakhmerovbut yes, same08:56
rakhmerovbtw, I noticed that you do: task(wait_for_stack_status)08:56
rakhmerovyou can just do task() to reference the current task08:57
rakhmerove.g. in publish08:57
d0ugalI learned that a bit late :)08:57
rakhmerovI fixed a bug recently related to this08:57
rakhmerovnp, I'm just letting you know08:57
d0ugalthanks08:57
rakhmerovit'll be part of Ocata08:57
rakhmerovd0ugal: I replied your comments in my patch08:57
d0ugalI keep meaning to fix it, but everyone in tripleo is repeating the name because they copy the existing workflows lol08:57
rakhmerovsome of them are correct, fixing..08:58
d0ugalthanks, looking08:58
rakhmerovin cut_dict() I really f...ed up a little bit08:58
d0ugaland then I assumed the same pattern in cut_list :)08:58
rakhmerovyes09:00
rakhmerovunderstand09:00
openstackgerritRenat Akhmerov proposed openstack/mistral: Optimizing utils.cut() for big dictionaries and lists  https://review.openstack.org/42670409:18
openstackgerritSharat Sharma proposed openstack/mistral: Improve the CONTRIBUTING.rst  https://review.openstack.org/42405809:20
rakhmerovd0ugal: fixed the patch09:21
rakhmerovit's better now09:21
d0ugalGreat, taking another look.09:36
openstackgerritSharat Sharma proposed openstack/mistral: Improve the CONTRIBUTING.rst  https://review.openstack.org/42405810:25
*** dmellado has quit IRC11:00
*** shardy has joined #openstack-mistral11:02
*** dmellado has joined #openstack-mistral11:03
*** tuan_ has joined #openstack-mistral11:07
tuan_https://bugs.launchpad.net/mistral/+bug/166059011:24
openstackLaunchpad bug 1660590 in Mistral "Mistralclient does not pass cacert to other Openstack clients" [Undecided,New]11:24
openstackgerritMerged openstack/python-mistralclient: Fix doc build if git is absent  https://review.openstack.org/42278411:43
openstackgerritSharat Sharma proposed openstack/mistral: Fix doc build if git is absent  https://review.openstack.org/42712011:50
openstackgerritSharat Sharma proposed openstack/mistral-specs: Fix doc build if git is absent  https://review.openstack.org/42712211:57
*** ist has joined #openstack-mistral11:59
openstackgerritRenat Akhmerov proposed openstack/mistral: Remove unnecessary evaluation of outbound context  https://review.openstack.org/42713612:21
*** catintheroof has joined #openstack-mistral12:22
*** ist has quit IRC12:49
openstackgerritRenat Akhmerov proposed openstack/mistral: Optimizing utils.cut() for big dictionaries and lists  https://review.openstack.org/42670412:54
openstackgerritRenat Akhmerov proposed openstack/mistral: Remove unnecessary evaluation of outbound context  https://review.openstack.org/42713612:54
*** rbrady has joined #openstack-mistral13:03
*** rbrady has quit IRC13:03
*** rbrady has joined #openstack-mistral13:03
*** tuan_ has quit IRC13:03
*** thrash|g0ne is now known as thrash13:05
*** tuan_ has joined #openstack-mistral13:08
*** sharatss has quit IRC13:33
*** sharatss has joined #openstack-mistral13:33
*** catinthe_ has joined #openstack-mistral13:36
*** catintheroof has quit IRC13:40
*** dprince has joined #openstack-mistral13:46
*** ist has joined #openstack-mistral14:46
*** bobh has joined #openstack-mistral14:55
*** jaosorior has joined #openstack-mistral15:20
*** catinthe_ has quit IRC15:45
*** bobh has quit IRC15:55
*** bobh has joined #openstack-mistral16:00
*** d0ugal has quit IRC16:16
*** d0ugal has joined #openstack-mistral16:17
*** d0ugal has joined #openstack-mistral16:17
*** tuan_ has quit IRC17:02
*** dprince has quit IRC17:07
*** tuan_ has joined #openstack-mistral17:07
*** jpich has quit IRC17:16
*** ist has quit IRC17:17
openstackgerritMerged openstack/mistral: Optimizing utils.cut() for big dictionaries and lists  https://review.openstack.org/42670417:25
*** dprince has joined #openstack-mistral17:31
*** bobh has quit IRC17:46
*** catintheroof has joined #openstack-mistral17:55
*** tuan_ has quit IRC17:55
*** jamielennox is now known as jamielennox|away17:58
*** dprince has quit IRC18:12
*** dprince has joined #openstack-mistral18:15
*** shardy is now known as shardy_afk18:21
*** bobh has joined #openstack-mistral18:24
*** thrash is now known as thrash|biab18:27
*** thrash|biab is now known as thrash18:56
*** jaosorior has quit IRC19:18
*** jaosorior has joined #openstack-mistral19:18
*** bobh has quit IRC20:41
*** jaosorior has quit IRC21:23
*** catintheroof has quit IRC21:38
*** catintheroof has joined #openstack-mistral21:38
*** catintheroof has quit IRC21:39
*** jaosorior has joined #openstack-mistral21:55
*** catintheroof has joined #openstack-mistral22:05
*** catintheroof has quit IRC22:05
*** catintheroof has joined #openstack-mistral22:06
*** dprince has quit IRC22:08
*** catintheroof has quit IRC22:11
*** shardy_afk has quit IRC22:15
*** jamielennox|away is now known as jamielennox22:15

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