Thursday, 2018-05-31

*** harlowja has quit IRC01:19
openstackgerritwangqi proposed openstack/mistral master: [sytle] use http code constant instead of int  https://review.openstack.org/57137403:56
openstackgerritwangqi proposed openstack/mistral master: [sytle] use http code constant instead of int  https://review.openstack.org/57137403:59
*** hardikjasani has joined #openstack-mistral04:46
*** AlexeyAbashkin has joined #openstack-mistral05:04
*** AlexeyAbashkin has quit IRC05:23
*** AlexeyAbashkin has joined #openstack-mistral05:28
*** AlexeyAbashkin has quit IRC05:35
*** jaosorior has quit IRC05:58
*** jaosorior has joined #openstack-mistral06:14
*** AlexeyAbashkin has joined #openstack-mistral07:30
*** shardy has joined #openstack-mistral07:32
*** jpich has joined #openstack-mistral07:55
opetrenko_Hello guys, https://review.openstack.org/#/c/570206/2 this review failed with some strange failure, not corresponding to commit changes08:00
opetrenko_https://review.openstack.org/#/c/570572/ review please08:09
openstackgerritVitalii Solodilov proposed openstack/mistral master: Use on-clause and retry_policy get_spec for validation  https://review.openstack.org/49979008:20
openstackgerritVitalii Solodilov proposed openstack/mistral master: Refresh a number of retry a task when task was rerun  https://review.openstack.org/56964308:36
openstackgerritDougal Matthews proposed openstack/mistral master: Create Base class for Mistral Exceptions and Errors  https://review.openstack.org/57020608:47
d0ugalopetrenko_: I agree, the error looks unrelated. I rebased the patch so it is tested again.08:47
openstackgerritKupai József proposed openstack/mistral master: A mechanism to close stuck running action executions  https://review.openstack.org/52708509:04
*** apetrich has quit IRC09:34
openstackgerritRenat Akhmerov proposed openstack/mistral master: Add YAQL engine options  https://review.openstack.org/47781609:53
*** thrash|g0ne is now known as thrash11:16
openstackgerritMerged openstack/python-mistralclient master: Switch to using stestr  https://review.openstack.org/56987511:17
rakhmerovd0ugal: hi11:23
rakhmerovd0ugal: I investigated yesterday's thing related to yaml_dump()11:23
rakhmerovthe thing is that if we do <% { k => v1, ...} %> in a workflow then YAQL uses its own internal structure called FrozenDict instead of a built-in dict and the yaml library doesn't know how to serialize it into yaml11:25
openstackgerritMerged openstack/mistral master: Add test for _try_import  https://review.openstack.org/57057211:25
rakhmerovit seems a lot like a bug in YAQL actually because, IMO, a result returned from an expression evaluation should be free of any internal YAQL types11:26
rakhmerovd0ugal: ooh... and now I think I know what to do!11:27
rakhmerov:)11:27
rakhmerovjust found a utility that sanitizes a result11:27
d0ugalnice!11:36
d0ugalGlad I helped! lol :)11:36
rakhmerovyes, thanks ) So I'm thinking how to address that in a better way11:39
rakhmerovit's still a little tricky11:39
*** hardikjasani has quit IRC12:02
*** apetrich has joined #openstack-mistral12:29
openstackgerritMerged openstack/mistral master: Fix workflows query with fields=input  https://review.openstack.org/56659412:36
*** toure|gone is now known as toure12:54
openstackgerritMerged openstack/mistral master: Create Base class for Mistral Exceptions and Errors  https://review.openstack.org/57020612:56
openstackgerritDougal Matthews proposed openstack/mistral master: Fix the call to start_workflow from events triggers  https://review.openstack.org/57053512:58
*** jistr is now known as jistr|mtg12:59
openstackgerritRenat Akhmerov proposed openstack/mistral master: Add YAQL engine options  https://review.openstack.org/47781613:01
openstackgerritRenat Akhmerov proposed openstack/mistral master: Add YAQL engine options  https://review.openstack.org/47781613:02
rakhmerovd0ugal: so https://review.openstack.org/#/c/477816/7/mistral/utils/expression_utils.py, line 192 solves the issue although it's slightly hacky13:03
rakhmerovideally we need to fix a bug in YAQL but that may be challenging13:03
rakhmerovanyway, waiting for your opinion13:04
rakhmerovwhether it's ok or not13:04
d0ugalrakhmerov: looking13:05
rakhmerovok13:07
d0ugalrakhmerov: Yeah, that is hacky :)13:07
d0ugalbut I guess it is okay13:07
rakhmerov:)13:07
d0ugalI just wonder what other data structures YAQL might return - will we hit other errors later?13:07
rakhmerovif I have some more time later I will look how to fix it in YAQL13:07
rakhmerovd0ugal: I checked that for lists, works fine13:08
toured0ugal rakhmerov I was just about to state that13:08
rakhmerovit gives a tuple actually there instead of a list13:08
d0ugalright13:08
rakhmerovso should be fine13:08
d0ugalso I guess it is probably okay - we can fix other cases as it comes up.13:08
rakhmerovjson_dump also works fine, I added a test13:08
*** rbrady-afk is now known as rbrady13:08
rakhmerovd0ugal: yep13:08
d0ugalcool13:08
rakhmerovok, so please review the rest. If that's ok I'll follow up with a release note patch13:09
d0ugalrakhmerov: LGTM13:09
rakhmerovok13:09
*** shardy has quit IRC13:11
*** shardy has joined #openstack-mistral13:12
pgaxattehello13:12
openstackgerritRenat Akhmerov proposed openstack/mistral master: Add YAQL engine options  https://review.openstack.org/47781613:13
pgaxatted0ugal: about the output formatting bug I was talking about yesterday13:13
pgaxatteit might not be a bug13:13
pgaxattethe workflow create behaves like a list operation (regarding output formats) because you can create multiple workflows with one definition file13:14
d0ugalah, good point13:14
pgaxattei don't know if this behavior is good or bad but i believe this a bit unexpected13:15
d0ugalAgreed, it is a little odd13:15
pgaxattei don't mind having a different file for each workflow13:15
d0ugalLots of people would mind :)13:16
d0ugalbut I use a workbook when I want multiple workflows in a file.13:16
pgaxatteexactly13:16
pgaxattebut i'm pretty sure you cannot create multiple workbooks inside one file13:16
openstackgerritBrad P. Crochet proposed openstack/mistral master: Switch to using stestr  https://review.openstack.org/56987613:17
rakhmerovd0ugal, pgaxatte: it was done intentionally13:19
rakhmerovbecause one may want to have 1 file for many workflows w/o having to include them into a workbook13:20
rakhmerovso we decided to give such an opportunity13:20
d0ugalyeah, it makes sense to me13:20
rakhmerovpgaxatte: as far as workbooks, right, we can't create many in one file13:21
d0ugalIt is just a little strainge from the CLI/API point of view. You probably wouldn't expect workflow create to create multiple - but it can.13:21
pgaxatteyes especially since other create command don't have the same behavior13:22
pgaxatteI filed a bug on this yesterday, you can close it :)13:22
pgaxattehttps://bugs.launchpad.net/python-mistralclient/+bug/177417213:22
openstackLaunchpad bug 1774172 in python-mistralclient "Output format are inconsistent across create actions in openstack cli" [Undecided,New]13:22
d0ugalpgaxatte: Done. Thanks for investigating this!13:23
pgaxatteI'll just adapt my puppet provider accordingly and add a note saying this is the desired behavior13:23
pgaxatted0ugal: no problem :) but i'm a bit disappointed, I thought this would be an easy win :D13:24
d0ugalso did I at a first glance!13:24
pgaxatteany idea who maintains the puppet-mistral repo?13:26
pgaxattei'd like to push my dev to add a workflow from puppet13:27
openstackgerritRenat Akhmerov proposed openstack/mistral master: Release note for adding YAQL engine options  https://review.openstack.org/57148113:29
rakhmerov:)13:30
rakhmerovpgaxatte: good question, hm.. d0ugal: was it Red Hat?13:31
d0ugalpgaxatte: I believe EmilienM and mwhahaha are puppet-mistral cores13:32
d0ugalThere is probably even an IRC channel for them somewhere...13:32
mwhahaha#puppet-openstack13:33
mwhahahawe maintain it from a we need it in tripleo standpoint :D but patches welcome13:33
d0ugalthanks (I guessed the other way around)13:33
pgaxattemwhahaha: ok thanks, i'll meet you there :)13:36
*** thrash is now known as thrash|biab14:01
*** apetrich has quit IRC14:09
*** thrash|biab is now known as thrash14:54
*** jistr|mtg is now known as jistr14:57
opetrenko_Hi guys, do we have any EBNF documentation about our dsl?15:00
d0ugalopetrenko_: no, not that I am aware of.15:26
*** AlexeyAbashkin has quit IRC15:37
*** jpich has quit IRC16:09
*** apetrich has joined #openstack-mistral16:18
*** shardy has quit IRC17:23
*** AlexeyAbashkin has joined #openstack-mistral17:32
*** d0ugal_ has joined #openstack-mistral17:40
*** d0ugal has quit IRC17:42
*** AlexeyAbashkin has quit IRC17:45
*** AlexeyAbashkin has joined #openstack-mistral17:45
*** AlexeyAbashkin has quit IRC17:45
*** AlexeyAbashkin has joined #openstack-mistral17:46
*** d0ugal__ has joined #openstack-mistral17:51
*** d0ugal_ has quit IRC17:53
*** d0ugal__ has quit IRC17:59
*** Alexey_Abashkin has joined #openstack-mistral18:04
*** AlexeyAbashkin has quit IRC18:07
*** Alexey_Abashkin is now known as AlexeyAbashkin18:07
*** AlexeyAbashkin has quit IRC18:13
*** d0ugal__ has joined #openstack-mistral18:23
*** d0ugal__ has quit IRC18:34
*** d0ugal__ has joined #openstack-mistral18:59
*** harlowja has joined #openstack-mistral20:01
*** apetrich has quit IRC20:23
*** apetrich has joined #openstack-mistral20:23
*** AlexeyAbashkin has joined #openstack-mistral20:33
*** AlexeyAbashkin has quit IRC20:50
*** harlowja has quit IRC21:00
*** thrash is now known as thrash|g0ne21:15
*** harlowja has joined #openstack-mistral22:21
*** d0ugal__ has quit IRC22:48
*** d0ugal__ has joined #openstack-mistral23:03

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