Thursday, 2017-02-23

*** gyee has joined #openstack-mistral00:32
*** gyee has quit IRC00:37
*** gyee has joined #openstack-mistral01:20
openstackgerritLingxian Kong proposed openstack/mistral master: Fix update workflow by admin  https://review.openstack.org/43721201:22
*** gyee has quit IRC01:50
*** gyee has joined #openstack-mistral02:11
openstackgerritLucky samadhiya proposed openstack/python-mistralclient master: Using jsonutils instead of json  https://review.openstack.org/43672602:23
openstackgerritLingxian Kong proposed openstack/mistral master: Improve database object access checking  https://review.openstack.org/43721902:25
*** gyee has quit IRC02:33
*** zhurong has joined #openstack-mistral02:51
*** zhurong has quit IRC03:00
*** jtomasek__ has quit IRC03:05
*** jtomasek has joined #openstack-mistral03:07
*** catintheroof has joined #openstack-mistral03:31
*** catintheroof has quit IRC03:43
*** jtomasek has quit IRC03:47
openstackgerritLingxian Kong proposed openstack/mistral master: Improve database object access checking  https://review.openstack.org/43721903:56
openstackgerritLingxian Kong proposed openstack/mistral master: Fix update workflow by admin  https://review.openstack.org/43721203:56
*** ist has joined #openstack-mistral05:57
*** ist has quit IRC06:12
*** ist has joined #openstack-mistral06:36
*** jaosorior has joined #openstack-mistral06:40
*** losh has joined #openstack-mistral07:44
loshHello, is this the right place to ask questions about developing a YAQL extension?07:45
d0ugallosh: sure!08:11
d0ugallosh: Most of the other Mistral developers are at the PTG this week, but I can try to help.08:12
*** losh has quit IRC08:25
*** ist has quit IRC08:32
*** ist has joined #openstack-mistral08:33
*** losh has joined #openstack-mistral08:44
*** jaosorior has quit IRC08:46
*** ist_ has joined #openstack-mistral08:53
*** ist has quit IRC08:53
*** jaosorior has joined #openstack-mistral08:56
*** ist__ has joined #openstack-mistral08:57
*** ist_ has quit IRC08:57
loshthanks for offering to help d0ugal.  I'm using mistral as supplied by stackstorm and want to add a to_json() and from_json() function to YAQL so I'm able to serialise/deserialise variables before being returned to stackstorm.  I followed instructions https://docs.openstack.org/developer/mistral/developer/extending_yaql.html which allowed me to call my functions from mistral.  However, when I added use the json module inside my09:01
loshfunction YAQL returns the expression in its unevaluated form.  I suspect there is an exception being raised but don't see anything in the mistral-server logs.  Would you be able to suggest how I go about debugging this problem?09:01
*** ist_ has joined #openstack-mistral09:02
*** ist__ has quit IRC09:02
d0ugallosh: ah, I wont be able to help with anything specific to Stackstorm09:10
d0ugal(and stackstorm devs are rarely here - I guess they have another support channel?)09:10
loshd0ugal, i see one lurking here. ;)  So you think extending YAQL is a stackstorm specific issue?09:11
d0ugalit shouldn't be - unless they do something extra I don't know about09:12
d0ugalIn terms of debugging, I'm not sure - you could add your own exception handling and logging to the yaql function?09:13
loshd0ugal ok, i'll do that .. i was wondering if there we some extra options that mistral could take to enable more verbose logging or display caught exceptions.  Thanks for your help.09:16
*** ist__ has joined #openstack-mistral09:19
*** ist_ has quit IRC09:19
*** jaosorior has quit IRC09:23
*** ist_ has joined #openstack-mistral09:26
*** ist__ has quit IRC09:26
d0ugallosh: I have never written a custom YAQL function - so I'd be curious to hear how you find it :)10:25
d0ugal(other than the immediate issue!)10:25
loshWell, thanks to your suggestion, I added a try/except to the function I'm developing and logged the traceback.  I'm now starting to see the bugs in my code which explain why the YAQL expression isn't being returned in an evaluated form.  So it is progress, but implementing exception logging in the function seem backwards from me.10:28
*** ist__ has joined #openstack-mistral10:36
*** ist_ has quit IRC10:36
d0ugallosh: great - it sounds like we should make sure Mistral is catching and logging exceptions from expression functions.10:36
d0ugallosh: I suspect it will be tricky because we register functions with YAQL, then it calls them - so it might be that we never "see" the exception itself.10:37
d0ugalMaybe we just need to configure logging with YAQL somehow10:37
*** rbrady has joined #openstack-mistral11:47
*** rbrady has quit IRC11:47
*** rbrady has joined #openstack-mistral11:47
*** jaosorior has joined #openstack-mistral12:15
*** jkilpatr has joined #openstack-mistral12:16
*** catintheroof has joined #openstack-mistral12:18
*** jtomasek has joined #openstack-mistral12:19
*** jtomasek has quit IRC12:22
*** jtomasek has joined #openstack-mistral12:22
*** jtomasek has quit IRC12:39
*** jtomasek has joined #openstack-mistral13:18
*** rbrady has quit IRC13:48
loshd0ugal, I've got a working to_json()/from_json() extension for YAQL under stackstorm.  Thanks a lot for your help.13:48
d0ugallosh: great :) I didn't do much!13:48
loshYour idea to catch and log was the key to being able to develop the extension.   Without the visibility of the errors being raised by my code, I wasn't able to debug.13:50
*** jtomasek has quit IRC13:50
*** chlong has joined #openstack-mistral13:53
*** shardy has joined #openstack-mistral13:57
*** jtomasek has joined #openstack-mistral14:05
*** jpich has joined #openstack-mistral14:20
*** chlong has quit IRC14:23
*** jtomasek_ has joined #openstack-mistral14:32
*** jtomasek has quit IRC14:34
*** jamielennox|away is now known as jamielennox14:36
*** rbrady has joined #openstack-mistral14:37
*** rbrady has quit IRC14:37
*** rbrady has joined #openstack-mistral14:37
openstackgerritIstvan Imre proposed openstack/mistral master: External OpenStack action mapping file support  https://review.openstack.org/43423014:39
*** rbrady has quit IRC14:43
*** ist__ has quit IRC14:44
*** chlong has joined #openstack-mistral14:46
*** rbrady has joined #openstack-mistral14:47
*** rbrady has quit IRC14:47
*** rbrady has joined #openstack-mistral14:47
*** jpich has quit IRC14:51
*** jtomasek_ has quit IRC14:57
*** shardy has quit IRC14:57
*** jtomasek has joined #openstack-mistral14:59
*** jpich has joined #openstack-mistral14:59
*** shardy has joined #openstack-mistral15:03
*** gyee has joined #openstack-mistral15:18
*** toure|gone is now known as toure15:26
*** toure is now known as toure_ptg15:26
*** jpich has quit IRC15:31
*** losh has quit IRC15:32
*** rbrady has quit IRC15:40
*** jpich has joined #openstack-mistral15:49
*** rbrady has joined #openstack-mistral15:57
*** rbrady has quit IRC15:57
*** rbrady has joined #openstack-mistral15:57
*** jaosorior has quit IRC16:07
*** jtomasek has quit IRC16:08
*** jtomasek has joined #openstack-mistral16:09
*** jpich has quit IRC16:11
*** jpich has joined #openstack-mistral16:11
*** gyee has quit IRC16:29
*** shardy has quit IRC16:30
*** jamielennox is now known as jamielennox|away16:36
*** rbrady has quit IRC16:37
*** shardy has joined #openstack-mistral16:44
*** gyee has joined #openstack-mistral16:45
*** jtomasek has quit IRC16:45
*** toure_ptg is now known as toure16:50
*** gyee has quit IRC16:52
*** jpich has quit IRC16:57
*** shardy has quit IRC16:58
*** chlong has quit IRC17:18
*** pcastets has quit IRC17:31
openstackgerritMerged openstack/python-mistralclient master: Remove support for py34  https://review.openstack.org/43083817:33
*** jtomasek has joined #openstack-mistral17:40
*** jpich has joined #openstack-mistral17:46
*** thrash|g0ne is now known as thrash|ptg17:58
*** rbrady has joined #openstack-mistral18:04
*** rbrady has quit IRC18:04
*** rbrady has joined #openstack-mistral18:04
*** shardy has joined #openstack-mistral18:07
*** gyee has joined #openstack-mistral18:26
*** jamielennox|away is now known as jamielennox18:31
*** jtomasek_ has joined #openstack-mistral18:32
*** harlowja has joined #openstack-mistral18:33
*** jtomasek has quit IRC18:34
*** gyee has quit IRC18:35
*** gyee has joined #openstack-mistral18:49
*** chlong has joined #openstack-mistral18:55
*** jamielennox is now known as jamielennox|away19:34
*** jpich has quit IRC19:47
*** gyee has quit IRC19:49
*** jamielennox|away is now known as jamielennox19:57
*** gyee has joined #openstack-mistral19:58
*** rbrady has quit IRC20:00
*** chlong has quit IRC20:03
*** jpich has joined #openstack-mistral20:04
*** chlong has joined #openstack-mistral20:17
*** jtomasek_ is now known as jtomasek20:55
*** gyee has quit IRC21:14
*** jamielennox is now known as jamielennox|away21:20
*** jkilpatr has quit IRC21:24
*** shardy has quit IRC21:29
*** jpich has quit IRC21:33
*** jpich has joined #openstack-mistral21:36
*** shardy has joined #openstack-mistral21:45
*** chlong has quit IRC21:50
*** jpich has quit IRC21:55
*** jkilpatr has joined #openstack-mistral22:00
*** jtomasek has quit IRC22:00
*** gyee has joined #openstack-mistral22:15
*** gyee has quit IRC22:19
*** shardy has quit IRC22:21
*** bradjones has quit IRC22:33
*** bradjones has joined #openstack-mistral22:40
*** bradjones has quit IRC22:40
*** bradjones has joined #openstack-mistral22:40
*** jtomasek has joined #openstack-mistral23:01
*** jtomasek has quit IRC23:09
*** jpich has joined #openstack-mistral23:31
*** jpich has quit IRC23:49

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