Tuesday, 2016-05-24

*** gyee has quit IRC00:10
*** toddjohn has quit IRC00:14
*** d0ugal has joined #openstack-mistral00:20
*** bobh has quit IRC00:25
*** rena9067_ has quit IRC00:27
*** bobh has joined #openstack-mistral00:38
*** vishwanathj has quit IRC00:50
*** Qiming has joined #openstack-mistral00:52
*** rbrady has quit IRC00:55
*** cheneydc has joined #openstack-mistral00:59
*** rena9067 has joined #openstack-mistral01:08
*** toddjohn has joined #openstack-mistral01:08
*** rena9067_ has joined #openstack-mistral01:09
*** rena9067 has quit IRC01:12
*** toddjohn has quit IRC01:22
*** toddjohn has joined #openstack-mistral01:22
*** toddjohn has quit IRC01:28
*** bobh has quit IRC01:59
*** Qiming has quit IRC02:18
*** Qiming has joined #openstack-mistral02:19
*** toddjohn has joined #openstack-mistral02:24
*** toddjohn has quit IRC02:29
*** Qiming has quit IRC02:30
*** bobh has joined #openstack-mistral02:41
*** Qiming has joined #openstack-mistral02:46
*** bobh has quit IRC02:55
*** Qiming has quit IRC02:56
*** Qiming has joined #openstack-mistral03:07
*** toddjohn has joined #openstack-mistral03:26
*** toddjohn has quit IRC03:32
*** rena9067_ has quit IRC04:39
rakhmerovkong: hi Lingxian04:43
rakhmerovkong: can you please look at https://review.openstack.org/#/c/319861/ ? It's a backport of your patch to stable/mitaka04:43
rakhmerovdocs gate is failing for some reason04:43
rakhmerovmaybe you still need to do some tweaks in tox.ini04:44
openstackgerritMerged openstack/mistral: Updated from global requirements  https://review.openstack.org/31988404:58
openstackgerritMerged openstack/mistral: Remove unnecessary executable permissions  https://review.openstack.org/32000605:08
*** toddjohn has joined #openstack-mistral05:29
*** toddjohn has quit IRC05:34
*** lkannan has quit IRC06:14
*** evgenyl has quit IRC06:15
*** lkannan has joined #openstack-mistral06:15
*** zhenguo_ has quit IRC06:16
*** evgenyl has joined #openstack-mistral06:18
*** doriftoshoes has quit IRC06:18
*** zhenguo_ has joined #openstack-mistral06:18
*** doriftoshoes has joined #openstack-mistral06:20
*** harlowja has quit IRC06:28
*** rwsu has quit IRC06:30
*** jtomasek has quit IRC07:10
*** Ravikiran_K has joined #openstack-mistral07:25
*** shardy has joined #openstack-mistral08:12
*** dmk0202 has joined #openstack-mistral08:16
*** venkat has joined #openstack-mistral08:23
*** _mgershen is now known as mgershen08:24
*** ig0r_ has joined #openstack-mistral08:40
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787908:41
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787908:42
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787908:46
d0ugalDoes Mistral support Python 3?08:51
d0ugalIt looks like it does based on the tests.08:52
*** ak has joined #openstack-mistral08:55
akHi In mistral can i have looping in tasks .08:56
akmistral does allow it but is this the write way to use it08:57
mgershenak: did you read http://docs.openstack.org/developer/mistral/dsl/dsl_v2.html#policies09:00
aktaking a look at it09:00
aki though retry is only done in error cases09:01
akcan retry happen even when http status code is 200 ?09:02
akI remember trying this09:02
mgershenak: I used it to re-run failed task, but it says there you can add continue-on rule09:02
akhere the basic issue is mistral wont retry anything until u have http response code more than 40009:04
akwill it retry for 200 too , i dont think so last time i tried it did not work09:05
akretry  Defines a pattern how task should be repeated in case of an error.09:05
akmistral documentation ...09:06
akBasically I have a task which has to be run infinitely, two ways to solve this problem keep looping or throw some know error and keep a very high retry count09:07
mgershenyou can wrap your wf with another one and make sure the inner one fails when needed09:13
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787909:19
mgershenak: ^09:22
akthats something we are doing09:28
mgershenak: did you consider using cron-trigger to run a workflow4+09:29
mgershenak: sorry509:30
openstackgerritAndras Kovi proposed openstack/mistral-specs: Execute workflows on targeted cloud  https://review.openstack.org/31986809:30
mgershen6666664109:31
mgershenak: sorry, someone at work found the other half of my keyboard and played with it09:32
mgershenhttps://www.google.com/search?q=Microsoft+Sculpt+wireless+ergonomic+desktop&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjc46CBtPLMAhUMIMAKHbz1CsIQ_AUICSgD&biw=1920&bih=965#imgrc=ECw6-lwyVUcioM%3A09:34
mgershenak: I have to step out for a while09:34
openstackgerritDougal Matthews proposed openstack/mistral: Add Python 3.4 to the classifiers  https://review.openstack.org/32032609:38
*** cheneydc has quit IRC10:01
aksure not a problem10:05
mgershenak: I'm back10:15
akhi10:15
akdo we have an api which start it and stop when ever we want ?10:16
mgershenak: are you referencing cron-triggers? you can create and delete them when ever you like via API or cli10:17
akohk cool10:18
akneed to check it ..10:18
openstackgerritMerged openstack/mistral: Add Python 3.4 to the classifiers  https://review.openstack.org/32032610:18
akThe problem here is i want to retry a task even though it succeded and i think mistral doest do that :(10:19
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787910:21
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787910:28
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787910:30
mgershenak: I don't understand, didn't you say using nested workflows solved your problem?10:33
akit did10:33
akbut nested have a bug in them10:33
mgershenak: what bug?10:34
akfor example i try to publish a variable .. and try to republish again in one particular scenario it doest work.10:34
akLets consider this particular scenario10:35
mgershenak: do we have a bug open on launchpad for this?10:35
akT1 on-success call T2 on Failure calls T3 , T3 on success call T1 again10:36
akin T1 I am trying to publish a variable X10:36
akT1 task is done it was an error so it published X as null which is valid scenario10:37
aknow T3 will call T1 again10:37
akT1 is success this time and published X as 210:38
aknow T2 is called which is correct again. But when i try to use the $.X ( it should give me 2 instead it gives me null )10:39
ak@mgershen let me know if need any clarification10:39
ak@mgershen let me know if need any clarification10:40
akthats why I was worried if mistral supports looping in tasks10:46
mgershenak: please clarify  the first line "T1 on-success call T2 on Failure calls T3 , T3 on success call T1 again "10:46
mgershenak: mainly "T1 on-success call T2 on Failure calls T3"10:47
akT1 is a task. It has on-success and on-failure10:47
*** dmowrer has joined #openstack-mistral10:57
*** hparekh has quit IRC10:59
*** dprince has joined #openstack-mistral11:02
*** Qiming has quit IRC11:06
*** Ravikiran_K has quit IRC11:08
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787911:10
*** hparekh has joined #openstack-mistral11:13
*** venkat has quit IRC11:15
*** ak has quit IRC11:20
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787911:30
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787911:30
*** ig0r_ has quit IRC11:34
rakhmerovak: I think that but really exists11:37
rakhmerovwe even had something like this filed in LP11:38
rakhmerovbtw, one more way to loop is using "with-items" but it's inside a task, not for building loops out of tasks..11:38
rakhmerovak: there's an ambiguity in workflow semantics whenever we encounter loops and tasks not marked as "join"11:39
rakhmerovone of our team members is now working on a blueprint that will help eliminate those ambiguities11:40
rakhmerovhttps://blueprints.launchpad.net/mistral/+spec/mistral-workflow-execution-graph11:40
rakhmerovso you can subscribe to it and track its progress11:40
rakhmerovI'm expecting that it will be solved in N-2 or the worst case N-311:41
mgershenrakhmerov: ak: I tried using nested workflows, but I couldn't get any info from the inner workflow when it failed.11:42
rakhmerovthe only way is to access corresponding task in the parent workflow11:43
rakhmerovtask(task_name).result11:43
mgershendoes not work11:43
rakhmerovor task(task_name).state_info11:43
rakhmerovwhat exactly doesn't work?11:43
rakhmerovwell, if a nested workflow failed you should rather look at state_info11:44
rakhmerovit should be in result as well but there's a small bug in master now, I already fixed it locally11:44
mgershenI wanted to retry the task containing the nested workflow, so it didn't technically failed yet. I wanted to use  "break-on" with info from the nested workflow11:45
mgershenhttp://paste.openstack.org/show/498586/11:46
rakhmerovhm..11:49
mgershenat the end state info has this in its value:11:49
rakhmerovok11:49
mgershenCan not evaluate YAQL expression:  task(l ... A LOT OF TEXT ... error: u'loop_result'11:49
rakhmerovyeah, I see11:49
rakhmerovbtw, "task(loop).loop_result" should not work11:50
mgershenwhy?11:50
rakhmerovbecause only properties of task are accessible with task(loop)11:50
rakhmerovloop_result is a published variable11:50
mgershenalso an output11:50
mgershensorry for the messy workflow...11:51
rakhmerovyou can try this: task(loop).published.loop_result11:51
rakhmerovnp11:51
mgershennothing gets published11:52
rakhmerovooh, yes, if it fails11:52
rakhmerovtrue11:52
rakhmerovok, maybe I don't understand what you're trying to achieve here11:53
mgershenI couldn't think of a way to pull information from the nested workflow when it fails11:53
rakhmerovwhat kind of information?11:53
mgershenI wanted to use info from the failed workflow in order to decide to retry or ont11:53
rakhmerovyou can only detect that it failed and see an error message11:53
mgershen/s/ont/not11:54
rakhmerovyes, but what info?11:54
rakhmerovif something failed it doesn't necessarily have any structured output or something we could rely on11:54
mgershenanything I can control from the nested workflow11:54
rakhmerovit's just ERROR state and state_info that explains what happened11:54
mgershenthe real reason I tried this is to find a way to loop on a task11:55
rakhmerovwell, theoretically we can have yaql functions (we discussed it before) that can peek at other workflow executions and tasks11:55
rakhmerovmgershen: ok, understood11:55
rakhmerovso that, for example, from parent wf we could see how many executions of task1 in the nested wf11:56
rakhmerovbut those functions are still to be implemented11:56
rakhmerovas far as publishing issue, it's true that it exists in case of looping11:56
*** ig0r_ has joined #openstack-mistral11:57
rakhmerovI would try to avoid it till we fix it11:57
rakhmerovsorry, have to run. Will be back later )11:58
*** Qiming has joined #openstack-mistral11:58
mgershencool11:58
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787911:58
mgershenI think we should consider adding the option to publish things add save outputs even if the workflow fails.11:59
rakhmerovyes, needs to be discussed12:08
*** bobh has joined #openstack-mistral12:09
*** rbrady has joined #openstack-mistral12:13
*** Qiming has quit IRC12:15
*** Ravikiran_K has joined #openstack-mistral12:16
*** Qiming has joined #openstack-mistral12:17
*** bobh has quit IRC12:28
*** dprince has quit IRC12:38
*** catintheroof has joined #openstack-mistral12:49
openstackgerrithardik proposed openstack/mistral: Fail/Success/Pause transition message  https://review.openstack.org/27662512:56
*** Qiming has quit IRC13:01
*** toddjohn has joined #openstack-mistral13:11
mfloboQuestion about Mistral and workflow with several tasks13:12
mfloboWhat happen if I have a workflow with 3 actions, and the second one fails? How mistral behaves with that?13:13
*** bobh has joined #openstack-mistral13:16
openstackgerritMichal Gershenzon proposed openstack/python-mistralclient: Validate ad-hoc action via cli  https://review.openstack.org/31815213:47
*** Qiming has joined #openstack-mistral14:02
*** toddjohn has quit IRC14:42
openstackgerritDaryl Mowrer proposed openstack/mistral: [WIP] Implement event-notification-trigger spec This is part 1 of 5 patch sets which implement the Mistral event-notification-trigger spec. This is a work in progress.  https://review.openstack.org/32049714:46
openstackgerritDaryl Mowrer proposed openstack/mistral: [WIP] Implement event-notification-trigger spec This is part 2 of 5 patch sets which implement the Mistral event-notification-trigger spec. This is a work in progress.  https://review.openstack.org/32050014:52
*** rena9067 has joined #openstack-mistral14:54
openstackgerritDaryl Mowrer proposed openstack/mistral: [WIP] Implement event-notification-trigger spec This is part 3 of 5 patch sets which implement the Mistral event-notification-trigger spec. This is a work in progress.  https://review.openstack.org/32050914:57
openstackgerritDaryl Mowrer proposed openstack/python-mistralclient: [WIP] Implement event-notification-trigger spec This is part 4 of 5 patch sets which implement the Mistral event-notification-trigger spec. This is a work in progress.  https://review.openstack.org/32051015:01
*** Qiming has quit IRC15:04
openstackgerritDaryl Mowrer proposed openstack/mistral: [WIP] Implement event-notification-trigger spec This is part 5 of 5 patch sets which implement the Mistral event-notification-trigger spec. This is a work in progress.  https://review.openstack.org/32051415:08
*** tonytan4ever has joined #openstack-mistral15:31
*** dmk0202 has quit IRC15:38
*** dmk0202 has joined #openstack-mistral15:38
*** toddjohn has joined #openstack-mistral15:45
*** gyee has joined #openstack-mistral15:53
*** toddjohn has quit IRC15:57
*** rena9067_ has joined #openstack-mistral15:58
*** rena9067 has quit IRC16:01
*** toddjohn has joined #openstack-mistral16:02
*** dmk0202 has quit IRC16:24
*** ig0r_ has quit IRC16:24
*** catintheroof has quit IRC16:28
*** harlowja has joined #openstack-mistral16:51
*** tonytan4ever has quit IRC16:55
*** Ravikiran_K has quit IRC17:34
*** dmowrer has quit IRC17:46
*** dmowrer has joined #openstack-mistral18:11
*** ig0r_ has joined #openstack-mistral18:23
*** dmowrer has quit IRC18:41
*** dmowrer has joined #openstack-mistral18:43
*** toddjohn has quit IRC18:55
*** tonytan4ever has joined #openstack-mistral19:01
*** ig0r_ has quit IRC19:39
*** tonytan4ever has quit IRC19:46
*** gyee has quit IRC19:47
*** dmk0202 has joined #openstack-mistral19:54
*** shardy has quit IRC20:06
*** tonytan4ever has joined #openstack-mistral20:10
*** dmowrer has quit IRC20:24
*** dmowrer has joined #openstack-mistral20:25
*** dmowrer has quit IRC20:30
*** dmowrer has joined #openstack-mistral20:44
*** gyee has joined #openstack-mistral20:45
*** vishwanathj has joined #openstack-mistral21:20
*** dmk0202 has quit IRC21:32
*** dmk0202 has joined #openstack-mistral21:37
*** stevebak` is now known as stevebaker21:46
*** dmk0202 has quit IRC22:09
*** dmowrer has quit IRC22:26
*** dmowrer has joined #openstack-mistral22:27
*** dmowrer has quit IRC22:31
*** openstackgerrit has quit IRC23:03
*** vishwanathj has quit IRC23:03
*** openstackgerrit has joined #openstack-mistral23:03
*** Qiming has joined #openstack-mistral23:37
*** rbrady has quit IRC23:41
*** bobh has quit IRC23:53

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