*** gyee has joined #openstack-mistral | 00:32 | |
*** gyee has quit IRC | 00:37 | |
*** gyee has joined #openstack-mistral | 01:20 | |
openstackgerrit | Lingxian Kong proposed openstack/mistral master: Fix update workflow by admin https://review.openstack.org/437212 | 01:22 |
---|---|---|
*** gyee has quit IRC | 01:50 | |
*** gyee has joined #openstack-mistral | 02:11 | |
openstackgerrit | Lucky samadhiya proposed openstack/python-mistralclient master: Using jsonutils instead of json https://review.openstack.org/436726 | 02:23 |
openstackgerrit | Lingxian Kong proposed openstack/mistral master: Improve database object access checking https://review.openstack.org/437219 | 02:25 |
*** gyee has quit IRC | 02:33 | |
*** zhurong has joined #openstack-mistral | 02:51 | |
*** zhurong has quit IRC | 03:00 | |
*** jtomasek__ has quit IRC | 03:05 | |
*** jtomasek has joined #openstack-mistral | 03:07 | |
*** catintheroof has joined #openstack-mistral | 03:31 | |
*** catintheroof has quit IRC | 03:43 | |
*** jtomasek has quit IRC | 03:47 | |
openstackgerrit | Lingxian Kong proposed openstack/mistral master: Improve database object access checking https://review.openstack.org/437219 | 03:56 |
openstackgerrit | Lingxian Kong proposed openstack/mistral master: Fix update workflow by admin https://review.openstack.org/437212 | 03:56 |
*** ist has joined #openstack-mistral | 05:57 | |
*** ist has quit IRC | 06:12 | |
*** ist has joined #openstack-mistral | 06:36 | |
*** jaosorior has joined #openstack-mistral | 06:40 | |
*** losh has joined #openstack-mistral | 07:44 | |
losh | Hello, is this the right place to ask questions about developing a YAQL extension? | 07:45 |
d0ugal | losh: sure! | 08:11 |
d0ugal | losh: Most of the other Mistral developers are at the PTG this week, but I can try to help. | 08:12 |
*** losh has quit IRC | 08:25 | |
*** ist has quit IRC | 08:32 | |
*** ist has joined #openstack-mistral | 08:33 | |
*** losh has joined #openstack-mistral | 08:44 | |
*** jaosorior has quit IRC | 08:46 | |
*** ist_ has joined #openstack-mistral | 08:53 | |
*** ist has quit IRC | 08:53 | |
*** jaosorior has joined #openstack-mistral | 08:56 | |
*** ist__ has joined #openstack-mistral | 08:57 | |
*** ist_ has quit IRC | 08:57 | |
losh | thanks 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 my | 09:01 |
losh | function 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-mistral | 09:02 | |
*** ist__ has quit IRC | 09:02 | |
d0ugal | losh: ah, I wont be able to help with anything specific to Stackstorm | 09:10 |
d0ugal | (and stackstorm devs are rarely here - I guess they have another support channel?) | 09:10 |
losh | d0ugal, i see one lurking here. ;) So you think extending YAQL is a stackstorm specific issue? | 09:11 |
d0ugal | it shouldn't be - unless they do something extra I don't know about | 09:12 |
d0ugal | In terms of debugging, I'm not sure - you could add your own exception handling and logging to the yaql function? | 09:13 |
losh | d0ugal 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-mistral | 09:19 | |
*** ist_ has quit IRC | 09:19 | |
*** jaosorior has quit IRC | 09:23 | |
*** ist_ has joined #openstack-mistral | 09:26 | |
*** ist__ has quit IRC | 09:26 | |
d0ugal | losh: 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 |
losh | Well, 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-mistral | 10:36 | |
*** ist_ has quit IRC | 10:36 | |
d0ugal | losh: great - it sounds like we should make sure Mistral is catching and logging exceptions from expression functions. | 10:36 |
d0ugal | losh: 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 |
d0ugal | Maybe we just need to configure logging with YAQL somehow | 10:37 |
*** rbrady has joined #openstack-mistral | 11:47 | |
*** rbrady has quit IRC | 11:47 | |
*** rbrady has joined #openstack-mistral | 11:47 | |
*** jaosorior has joined #openstack-mistral | 12:15 | |
*** jkilpatr has joined #openstack-mistral | 12:16 | |
*** catintheroof has joined #openstack-mistral | 12:18 | |
*** jtomasek has joined #openstack-mistral | 12:19 | |
*** jtomasek has quit IRC | 12:22 | |
*** jtomasek has joined #openstack-mistral | 12:22 | |
*** jtomasek has quit IRC | 12:39 | |
*** jtomasek has joined #openstack-mistral | 13:18 | |
*** rbrady has quit IRC | 13:48 | |
losh | d0ugal, I've got a working to_json()/from_json() extension for YAQL under stackstorm. Thanks a lot for your help. | 13:48 |
d0ugal | losh: great :) I didn't do much! | 13:48 |
losh | Your 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 IRC | 13:50 | |
*** chlong has joined #openstack-mistral | 13:53 | |
*** shardy has joined #openstack-mistral | 13:57 | |
*** jtomasek has joined #openstack-mistral | 14:05 | |
*** jpich has joined #openstack-mistral | 14:20 | |
*** chlong has quit IRC | 14:23 | |
*** jtomasek_ has joined #openstack-mistral | 14:32 | |
*** jtomasek has quit IRC | 14:34 | |
*** jamielennox|away is now known as jamielennox | 14:36 | |
*** rbrady has joined #openstack-mistral | 14:37 | |
*** rbrady has quit IRC | 14:37 | |
*** rbrady has joined #openstack-mistral | 14:37 | |
openstackgerrit | Istvan Imre proposed openstack/mistral master: External OpenStack action mapping file support https://review.openstack.org/434230 | 14:39 |
*** rbrady has quit IRC | 14:43 | |
*** ist__ has quit IRC | 14:44 | |
*** chlong has joined #openstack-mistral | 14:46 | |
*** rbrady has joined #openstack-mistral | 14:47 | |
*** rbrady has quit IRC | 14:47 | |
*** rbrady has joined #openstack-mistral | 14:47 | |
*** jpich has quit IRC | 14:51 | |
*** jtomasek_ has quit IRC | 14:57 | |
*** shardy has quit IRC | 14:57 | |
*** jtomasek has joined #openstack-mistral | 14:59 | |
*** jpich has joined #openstack-mistral | 14:59 | |
*** shardy has joined #openstack-mistral | 15:03 | |
*** gyee has joined #openstack-mistral | 15:18 | |
*** toure|gone is now known as toure | 15:26 | |
*** toure is now known as toure_ptg | 15:26 | |
*** jpich has quit IRC | 15:31 | |
*** losh has quit IRC | 15:32 | |
*** rbrady has quit IRC | 15:40 | |
*** jpich has joined #openstack-mistral | 15:49 | |
*** rbrady has joined #openstack-mistral | 15:57 | |
*** rbrady has quit IRC | 15:57 | |
*** rbrady has joined #openstack-mistral | 15:57 | |
*** jaosorior has quit IRC | 16:07 | |
*** jtomasek has quit IRC | 16:08 | |
*** jtomasek has joined #openstack-mistral | 16:09 | |
*** jpich has quit IRC | 16:11 | |
*** jpich has joined #openstack-mistral | 16:11 | |
*** gyee has quit IRC | 16:29 | |
*** shardy has quit IRC | 16:30 | |
*** jamielennox is now known as jamielennox|away | 16:36 | |
*** rbrady has quit IRC | 16:37 | |
*** shardy has joined #openstack-mistral | 16:44 | |
*** gyee has joined #openstack-mistral | 16:45 | |
*** jtomasek has quit IRC | 16:45 | |
*** toure_ptg is now known as toure | 16:50 | |
*** gyee has quit IRC | 16:52 | |
*** jpich has quit IRC | 16:57 | |
*** shardy has quit IRC | 16:58 | |
*** chlong has quit IRC | 17:18 | |
*** pcastets has quit IRC | 17:31 | |
openstackgerrit | Merged openstack/python-mistralclient master: Remove support for py34 https://review.openstack.org/430838 | 17:33 |
*** jtomasek has joined #openstack-mistral | 17:40 | |
*** jpich has joined #openstack-mistral | 17:46 | |
*** thrash|g0ne is now known as thrash|ptg | 17:58 | |
*** rbrady has joined #openstack-mistral | 18:04 | |
*** rbrady has quit IRC | 18:04 | |
*** rbrady has joined #openstack-mistral | 18:04 | |
*** shardy has joined #openstack-mistral | 18:07 | |
*** gyee has joined #openstack-mistral | 18:26 | |
*** jamielennox|away is now known as jamielennox | 18:31 | |
*** jtomasek_ has joined #openstack-mistral | 18:32 | |
*** harlowja has joined #openstack-mistral | 18:33 | |
*** jtomasek has quit IRC | 18:34 | |
*** gyee has quit IRC | 18:35 | |
*** gyee has joined #openstack-mistral | 18:49 | |
*** chlong has joined #openstack-mistral | 18:55 | |
*** jamielennox is now known as jamielennox|away | 19:34 | |
*** jpich has quit IRC | 19:47 | |
*** gyee has quit IRC | 19:49 | |
*** jamielennox|away is now known as jamielennox | 19:57 | |
*** gyee has joined #openstack-mistral | 19:58 | |
*** rbrady has quit IRC | 20:00 | |
*** chlong has quit IRC | 20:03 | |
*** jpich has joined #openstack-mistral | 20:04 | |
*** chlong has joined #openstack-mistral | 20:17 | |
*** jtomasek_ is now known as jtomasek | 20:55 | |
*** gyee has quit IRC | 21:14 | |
*** jamielennox is now known as jamielennox|away | 21:20 | |
*** jkilpatr has quit IRC | 21:24 | |
*** shardy has quit IRC | 21:29 | |
*** jpich has quit IRC | 21:33 | |
*** jpich has joined #openstack-mistral | 21:36 | |
*** shardy has joined #openstack-mistral | 21:45 | |
*** chlong has quit IRC | 21:50 | |
*** jpich has quit IRC | 21:55 | |
*** jkilpatr has joined #openstack-mistral | 22:00 | |
*** jtomasek has quit IRC | 22:00 | |
*** gyee has joined #openstack-mistral | 22:15 | |
*** gyee has quit IRC | 22:19 | |
*** shardy has quit IRC | 22:21 | |
*** bradjones has quit IRC | 22:33 | |
*** bradjones has joined #openstack-mistral | 22:40 | |
*** bradjones has quit IRC | 22:40 | |
*** bradjones has joined #openstack-mistral | 22:40 | |
*** jtomasek has joined #openstack-mistral | 23:01 | |
*** jtomasek has quit IRC | 23:09 | |
*** jpich has joined #openstack-mistral | 23:31 | |
*** jpich has quit IRC | 23:49 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!