*** yangyape_ has quit IRC | 00:17 | |
*** yangyapeng has joined #openstack-mistral | 00:18 | |
*** yangyapeng has quit IRC | 00:22 | |
*** yangyapeng has joined #openstack-mistral | 01:20 | |
*** d0ugal has quit IRC | 01:36 | |
*** d0ugal has joined #openstack-mistral | 02:00 | |
*** int32bit has joined #openstack-mistral | 02:21 | |
*** int32bit has quit IRC | 02:23 | |
*** int32bit has joined #openstack-mistral | 02:23 | |
*** int32bit has quit IRC | 02:24 | |
*** int32bit has joined #openstack-mistral | 02:25 | |
*** int32bit has quit IRC | 02:26 | |
*** int32bit has joined #openstack-mistral | 02:27 | |
*** int32bit has quit IRC | 02:28 | |
*** int32bit has joined #openstack-mistral | 02:28 | |
*** int32bit has quit IRC | 02:29 | |
*** int32bit has joined #openstack-mistral | 02:30 | |
*** int32bit has quit IRC | 02:31 | |
*** int32bit has joined #openstack-mistral | 02:32 | |
*** int32bit has quit IRC | 02:33 | |
*** int32bit has joined #openstack-mistral | 02:33 | |
*** int32bit has quit IRC | 02:34 | |
*** int32bit has joined #openstack-mistral | 02:35 | |
*** int32bit has quit IRC | 02:36 | |
*** int32bit has joined #openstack-mistral | 02:36 | |
*** int32bit has quit IRC | 02:37 | |
*** int32bit has joined #openstack-mistral | 02:38 | |
*** int32bit has quit IRC | 02:39 | |
*** int32bit has joined #openstack-mistral | 02:40 | |
*** int32bit has quit IRC | 02:41 | |
*** int32bit has joined #openstack-mistral | 02:41 | |
*** int32bit has quit IRC | 02:42 | |
*** int32bit has joined #openstack-mistral | 02:43 | |
*** int32bit has quit IRC | 02:45 | |
*** int32bit has joined #openstack-mistral | 02:45 | |
*** int32bit has joined #openstack-mistral | 02:47 | |
*** int32bit has quit IRC | 02:48 | |
*** int32bit has joined #openstack-mistral | 02:49 | |
*** int32bit has quit IRC | 02:50 | |
*** int32bit has joined #openstack-mistral | 02:50 | |
*** int32bit has quit IRC | 02:51 | |
*** int32bit has joined #openstack-mistral | 02:52 | |
*** int32bit has quit IRC | 02:53 | |
*** int32bit has joined #openstack-mistral | 02:53 | |
*** int32bit has joined #openstack-mistral | 02:55 | |
*** int32bit has joined #openstack-mistral | 03:13 | |
*** int32bit has quit IRC | 03:14 | |
*** int32bit has joined #openstack-mistral | 03:15 | |
*** int32bit has quit IRC | 03:16 | |
*** int32bit has joined #openstack-mistral | 03:17 | |
*** int32bit has quit IRC | 03:18 | |
*** int32bit has joined #openstack-mistral | 03:18 | |
*** int32bit has quit IRC | 03:19 | |
*** int32bit has joined #openstack-mistral | 03:20 | |
*** int32bit has quit IRC | 03:21 | |
*** int32bit has joined #openstack-mistral | 03:21 | |
*** int32bit has quit IRC | 03:22 | |
*** int32bit has joined #openstack-mistral | 03:23 | |
*** int32bit has quit IRC | 03:24 | |
*** int32bit has joined #openstack-mistral | 03:25 | |
*** int32bit has quit IRC | 03:26 | |
*** int32bit has joined #openstack-mistral | 03:26 | |
*** int32bit has quit IRC | 03:27 | |
*** int32bit has joined #openstack-mistral | 03:28 | |
*** int32bit has quit IRC | 03:29 | |
*** int32bit has joined #openstack-mistral | 03:30 | |
*** int32bit has quit IRC | 03:31 | |
*** int32bit has joined #openstack-mistral | 03:31 | |
*** int32bit has quit IRC | 03:32 | |
*** int32bit has joined #openstack-mistral | 03:33 | |
*** int32bit has quit IRC | 03:34 | |
*** int32bit has joined #openstack-mistral | 03:34 | |
*** int32bit has quit IRC | 03:35 | |
*** gkadam has joined #openstack-mistral | 03:35 | |
*** int32bit has joined #openstack-mistral | 03:36 | |
*** gkadam_ has joined #openstack-mistral | 03:40 | |
*** gkadam has quit IRC | 03:41 | |
*** Dinesh_Bhor has joined #openstack-mistral | 04:19 | |
rakhmerov | d0ugal: hi, take a look at https://review.openstack.org/#/c/513321/ please | 04:33 |
---|---|---|
rakhmerov | comments | 04:33 |
*** jaosorior has joined #openstack-mistral | 05:02 | |
*** int32bit has joined #openstack-mistral | 05:23 | |
*** int32bit has quit IRC | 05:24 | |
*** int32bit has joined #openstack-mistral | 05:24 | |
*** int32bit has quit IRC | 05:25 | |
*** int32bit has joined #openstack-mistral | 05:26 | |
*** int32bit has quit IRC | 05:27 | |
*** int32bit has joined #openstack-mistral | 05:28 | |
*** int32bit_ has joined #openstack-mistral | 05:29 | |
*** int32bit_ has quit IRC | 05:30 | |
openstackgerrit | Merged openstack/mistral master: Redundant alias in import statement https://review.openstack.org/513295 | 05:31 |
*** int32bit_ has joined #openstack-mistral | 05:31 | |
*** int32bit has quit IRC | 05:32 | |
*** int32bit_ has quit IRC | 05:33 | |
*** int32bit has joined #openstack-mistral | 05:35 | |
*** int32bit has quit IRC | 05:36 | |
*** yangyapeng has quit IRC | 05:36 | |
*** int32bit has joined #openstack-mistral | 05:36 | |
*** yangyapeng has joined #openstack-mistral | 05:36 | |
*** int32bit has quit IRC | 05:38 | |
*** int32bit has joined #openstack-mistral | 05:38 | |
*** int32bit has quit IRC | 05:39 | |
*** int32bit has joined #openstack-mistral | 05:40 | |
*** yangyapeng has quit IRC | 05:41 | |
*** int32bit has quit IRC | 05:42 | |
*** int32bit has joined #openstack-mistral | 05:42 | |
*** int32bit has quit IRC | 05:43 | |
*** int32bit has joined #openstack-mistral | 05:44 | |
*** int32bit has quit IRC | 05:45 | |
*** int32bit has joined #openstack-mistral | 05:45 | |
*** int32bit has quit IRC | 05:46 | |
*** int32bit has joined #openstack-mistral | 05:47 | |
*** int32bit has quit IRC | 05:48 | |
*** int32bit has joined #openstack-mistral | 05:49 | |
*** int32bit has quit IRC | 05:50 | |
*** int32bit has joined #openstack-mistral | 05:50 | |
*** int32bit has quit IRC | 05:51 | |
*** int32bit has joined #openstack-mistral | 05:52 | |
*** int32bit has quit IRC | 05:53 | |
*** int32bit has joined #openstack-mistral | 05:54 | |
*** int32bit has quit IRC | 05:55 | |
*** int32bit has joined #openstack-mistral | 05:56 | |
*** int32bit has quit IRC | 05:57 | |
*** int32bit has joined #openstack-mistral | 05:57 | |
*** int32bit has quit IRC | 05:58 | |
*** int32bit has joined #openstack-mistral | 05:59 | |
*** int32bit has quit IRC | 06:00 | |
*** int32bit has joined #openstack-mistral | 06:00 | |
*** int32bit has quit IRC | 06:01 | |
*** int32bit has joined #openstack-mistral | 06:02 | |
*** int32bit has quit IRC | 06:03 | |
*** int32bit has joined #openstack-mistral | 06:04 | |
*** int32bit has quit IRC | 06:05 | |
*** int32bit has joined #openstack-mistral | 06:05 | |
*** int32bit has quit IRC | 06:06 | |
*** int32bit has joined #openstack-mistral | 06:07 | |
*** int32bit has quit IRC | 06:08 | |
*** int32bit has joined #openstack-mistral | 06:09 | |
*** int32bit has quit IRC | 06:10 | |
*** int32bit has joined #openstack-mistral | 06:10 | |
*** int32bit has quit IRC | 06:11 | |
*** int32bit has joined #openstack-mistral | 06:12 | |
*** int32bit has quit IRC | 06:13 | |
*** int32bit has joined #openstack-mistral | 06:14 | |
*** int32bit has quit IRC | 06:15 | |
*** int32bit has joined #openstack-mistral | 06:15 | |
*** int32bit has quit IRC | 06:16 | |
*** int32bit has joined #openstack-mistral | 06:17 | |
*** int32bit has quit IRC | 06:18 | |
*** int32bit has joined #openstack-mistral | 06:18 | |
*** int32bit has quit IRC | 06:19 | |
*** int32bit has joined #openstack-mistral | 06:20 | |
*** int32bit has quit IRC | 06:21 | |
*** int32bit has joined #openstack-mistral | 06:22 | |
*** int32bit has quit IRC | 06:23 | |
openstackgerrit | Merged openstack/mistral master: Add a yaml_dump expression https://review.openstack.org/513455 | 06:26 |
rakhmerov | d0ugal, thrash|g0ne: hey, although https://review.openstack.org/#/c/513455/ is already merged pls take a look at the comment I left, might be useful | 06:55 |
*** jtomasek has joined #openstack-mistral | 07:01 | |
apetrich | rakhmerov, morning | 07:07 |
rakhmerov | apetrich: hi! | 07:07 |
rakhmerov | what's up? ) | 07:07 |
openstackgerrit | Renat Akhmerov proposed openstack/mistral master: Fix deletion of delayed calls https://review.openstack.org/514162 | 07:09 |
apetrich | rakhmerov, I'm just happy that I'm finally feeling human again. Not feeling sick anymore | 07:09 |
rakhmerov | ooh, congrats! | 07:09 |
rakhmerov | good ) | 07:09 |
rakhmerov | being a human is a wonderful thing :) | 07:09 |
apetrich | it is the small things like waking to the kitchen without a coughing fit :) | 07:12 |
rakhmerov | Ж) | 07:12 |
rakhmerov | :) | 07:12 |
*** jtomasek has quit IRC | 07:14 | |
*** jistr is now known as jistr|mtgs | 07:26 | |
*** AlexeyAbashkin has joined #openstack-mistral | 07:37 | |
*** jtomasek has joined #openstack-mistral | 07:54 | |
*** oidgar has joined #openstack-mistral | 08:10 | |
*** AlexeyAbashkin has quit IRC | 08:12 | |
*** AlexeyAbashkin has joined #openstack-mistral | 08:12 | |
*** int32bit has joined #openstack-mistral | 08:24 | |
*** int32bit has quit IRC | 08:26 | |
*** mcdoker181818 has joined #openstack-mistral | 09:09 | |
*** do3meli has joined #openstack-mistral | 09:30 | |
do3meli | hey folks. i am writing some mistral workflows and now running into troubles while trying to access a variable. it looks like the variable is not available in the context. so my question is: how can i access a variable within an inner function? example ipnut: ==> "fixed_ips: <% $.port.fixed_ips.delete( $.port.fixed_ips.indexWhere( $.ip_address = $.ipaddress )) %>" how can i get access to $.ipaddress ? | 09:33 |
rakhmerov | do3meli: hi | 09:35 |
rakhmerov | sec.. | 09:35 |
rakhmerov | I'm not sure I understood. $.ipaddress is in the workflow context? | 09:35 |
rakhmerov | do3meli: ^ | 09:36 |
rakhmerov | if so, you need to use YAQL "set" function | 09:36 |
rakhmerov | trying to find an example.. | 09:37 |
do3meli | actually .$.ipaddress is a global input variable | 09:39 |
rakhmerov | yeah, ok, it's the same thing | 09:39 |
do3meli | hmm so the set function i need to use in the action ? | 09:41 |
rakhmerov | no-no, just a sec.. | 09:41 |
rakhmerov | looking for it | 09:41 |
rakhmerov | ooh, gosh.. d0ugal: do you remember how to use YAQL's "set" thing? | 09:45 |
rakhmerov | I'm trying to find an example but can't.. | 09:45 |
do3meli | you're talking about this function here, right: http://yaql.readthedocs.io/en/latest/standard_library.html#set ? | 09:45 |
rakhmerov | yes, right | 09:46 |
rakhmerov | so | 09:46 |
rakhmerov | <% set(my_temp_var, $.ipaddress) => $.port.fixed_ips.indexWhere( $.ip_address = $.my_temp_var ) %> | 09:47 |
rakhmerov | it should work | 09:47 |
do3meli | let me try that. | 09:48 |
do3meli | hmm that doesn't seems to work. Parse error: unexpected '=>' at position | 09:52 |
rakhmerov | do3meli: I have to run now, once I'm back I'll try to help you (if nobody else helps you by that time) | 09:54 |
do3meli | sure, thanks rakhmerov | 09:54 |
d0ugal | rakhmerov: sorry, I'm only half around today - something came up. | 09:54 |
rakhmerov | ok | 09:55 |
*** thrash|g0ne is now known as thrash | 10:14 | |
*** yangyapeng has joined #openstack-mistral | 10:38 | |
*** yangyapeng has quit IRC | 10:43 | |
*** yangyapeng has joined #openstack-mistral | 10:44 | |
*** Qiming has quit IRC | 10:50 | |
*** Qiming has joined #openstack-mistral | 10:54 | |
*** Qiming has quit IRC | 10:58 | |
*** Qiming has joined #openstack-mistral | 11:01 | |
*** jkilpatr has joined #openstack-mistral | 11:19 | |
*** jtomasek has quit IRC | 11:39 | |
openstackgerrit | Merged openstack/mistral master: Fix deletion of delayed calls https://review.openstack.org/514162 | 11:49 |
*** jtomasek has joined #openstack-mistral | 12:08 | |
*** jpich has joined #openstack-mistral | 12:15 | |
*** weshay|bbiab is now known as weshay|ruck | 12:18 | |
*** dprince has joined #openstack-mistral | 12:21 | |
do3meli | rakhmerov, did you get any chance to look at it again? i found this interesting article in the meanwhile: http://blog.oddbit.com/2016/08/11/exploring-yaql-expressions/ but still did not managed to get it working. | 12:28 |
do3meli | never mind, rakhmerov, i managed it now. this is what i ended up with: "fixed_ips: <% let(ip => $.ipaddress) -> $.port.fixed_ips.where($.ip_address != $ip) %>" | 12:43 |
*** gkadam_ has quit IRC | 12:44 | |
*** oidgar has quit IRC | 13:03 | |
*** jtomasek has quit IRC | 13:05 | |
*** bobh has joined #openstack-mistral | 13:07 | |
*** jtomasek has joined #openstack-mistral | 13:11 | |
*** rbrady has joined #openstack-mistral | 13:13 | |
*** rbrady has joined #openstack-mistral | 13:13 | |
d0ugal | do3meli: I think I have seen an example of this... | 13:14 |
d0ugal | I wonder if you reached the same conclusion | 13:14 |
* d0ugal greps code | 13:14 | |
d0ugal | do3meli: Yes, it looks like we do the same thing - https://github.com/openstack/tripleo-common/blob/7ead7a572c88953fa8f4d226b6ac5e89e7af5de1/workbooks/derive_params.yaml#L42 | 13:15 |
d0ugal | Sorry I wasn't around earlier. | 13:15 |
do3meli | d0ugal: i read it here: https://docs.stackstorm.com/mistral_yaql.html#queries but actually same thing yes. | 13:15 |
d0ugal | cool, the stackstorm docs can be quite useful. | 13:16 |
do3meli | defenitely. so basically the yaql doc is missing some example with context passing | 13:16 |
d0ugal | as a tip, I find looking at the YAQL test suite is good for examples, it often has more than the docs. | 13:17 |
d0ugal | Which isn't ideal, but better than nothing | 13:17 |
do3meli | good point, thanks for that d0ugal | 13:19 |
*** oidgar has joined #openstack-mistral | 13:20 | |
*** toure_biab is now known as toure | 13:20 | |
*** oidgar has quit IRC | 13:29 | |
openstackgerrit | Bob Haddleton proposed openstack/mistral-specs master: Allow Join Success on Partial Tree https://review.openstack.org/514317 | 13:31 |
*** oidgar has joined #openstack-mistral | 13:31 | |
*** yangyapeng has quit IRC | 13:50 | |
*** yangyapeng has joined #openstack-mistral | 13:51 | |
*** yangyapeng has quit IRC | 13:55 | |
*** jaosorior has quit IRC | 14:08 | |
*** jtomasek has quit IRC | 14:08 | |
*** jtomasek has joined #openstack-mistral | 14:09 | |
openstackgerrit | Brad P. Crochet proposed openstack/mistral master: DNM: TEST Zuul v3 jobs https://review.openstack.org/509428 | 14:09 |
*** jtomasek has quit IRC | 14:27 | |
rakhmerov | do3meli: awesome :) | 14:29 |
rakhmerov | sorry, yes, I just forgot the syntax a little bit | 14:29 |
do3meli | np, rakhmerov ;-) what a wonder with all those different languages | 14:29 |
rakhmerov | d0ugal, rbrady, thrash, apetrich, toure, bobh: hi | 14:29 |
thrash | rakhmerov: hi | 14:30 |
rakhmerov | sorry, I'm not feeling well now | 14:30 |
rakhmerov | wanna skip the meeting (sorry, it's the second time in a row, I know) | 14:30 |
rakhmerov | any news, topics to discuss? | 14:30 |
rakhmerov | ok | 14:33 |
rakhmerov | we can cancel it if there isn't anything important | 14:34 |
rakhmerov | up to you | 14:34 |
rakhmerov | thrash: btw, what's the status of Zuul v3? We're good, right? | 14:36 |
thrash | rakhmerov: yes... I am actually close to getting all of the jobs migrated to "native" zuul v3. | 14:36 |
rakhmerov | great | 14:36 |
rakhmerov | thanks | 14:36 |
thrash | rakhmerov: https://review.openstack.org/#/c/509428/ | 14:36 |
rakhmerov | yep | 14:36 |
apetrich | rakhmerov, I'm fine with skipping the meeting | 14:41 |
rakhmerov | ok | 14:41 |
d0ugal | rakhmerov: +1 to cancel, I'm tired :) | 14:41 |
rakhmerov | d0ugal: I'm exhausted too ) | 14:42 |
rakhmerov | and a little sick | 14:42 |
rakhmerov | we have quite crazy time here with an internal release | 14:42 |
rakhmerov | thanks for understanding | 14:42 |
d0ugal | np | 14:42 |
apetrich | no worries | 14:43 |
openstackgerrit | Brad P. Crochet proposed openstack/mistral master: DNM: TEST Zuul v3 jobs https://review.openstack.org/509428 | 14:44 |
d0ugal | rakhmerov: Can you review this quickly? | 14:46 |
d0ugal | https://review.openstack.org/#/c/513321/ | 14:46 |
d0ugal | I think we need a PTL +1, but I forget | 14:47 |
bobh | rakhmerov: some discussion with Winson on https://review.openstack.org/#/c/467799/ | 14:49 |
bobh | rakhmerov: seems we have different interpretation of the PTG discussion | 14:49 |
*** jtomasek has joined #openstack-mistral | 14:52 | |
mcdoker181818 | Hi all, https://review.openstack.org/#/c/510384/ will be merged to stable/pike? | 14:52 |
d0ugal | mcdoker181818: I believe it could be, but it needs to land into master first. Since it looks like a clear bug I think it is safe to backport it. | 14:53 |
d0ugal | I'll review it. | 14:53 |
mcdoker181818 | Thanks | 14:55 |
d0ugal | LGTM | 14:55 |
*** jaosorior has joined #openstack-mistral | 14:57 | |
*** yangyapeng has joined #openstack-mistral | 15:03 | |
*** yangyapeng has quit IRC | 15:04 | |
*** yangyapeng has joined #openstack-mistral | 15:04 | |
*** thrash is now known as thrash|biab | 15:16 | |
*** AlexeyAbashkin has quit IRC | 15:37 | |
openstackgerrit | Toure Dunnon proposed openstack/mistral-extra master: Migrate the ansible actions from tripleo-common to mistral-extra. https://review.openstack.org/514360 | 15:39 |
*** do3meli has quit IRC | 15:46 | |
*** thrash|biab is now known as thrash | 15:47 | |
d0ugal | thrash: any idea why the .replace() hacks are here? https://github.com/openstack/mistral/blob/master/mistral/utils/expression_utils.py#L122 | 15:48 |
thrash | d0ugal: I *think* it's because of the pretty-print part? | 15:49 |
thrash | but honestly, I have *no* idea | 15:49 |
d0ugal | hrm, maybe I'll just remove that :P | 15:50 |
d0ugal | so it un-escapes newlines and also removes single spaces from the ends of lines AFAICT | 15:51 |
d0ugal | two very specific things | 15:51 |
*** jkilpatr has quit IRC | 15:55 | |
thrash | d0ugal: and wouldn't strip work better for the space thing? | 16:03 |
thrash | but I guess you'd have to go line by line | 16:03 |
d0ugal | yeah | 16:05 |
d0ugal | thrash: "This function also fixes escaped new-line symbols" | 16:06 |
d0ugal | from the original commit | 16:06 |
d0ugal | https://review.openstack.org/#/c/236881/1 | 16:06 |
d0ugal | oh and the extra space seems to be a py2 vs py3 thing? | 16:08 |
d0ugal | That was added here: V | 16:09 |
d0ugal | https://review.openstack.org/#/c/241248/ | 16:09 |
*** oidgar has quit IRC | 16:09 | |
*** jkilpatr has joined #openstack-mistral | 16:32 | |
*** jaosorior has quit IRC | 16:35 | |
*** jaosorior has joined #openstack-mistral | 16:36 | |
thrash | d0ugal: interesting | 17:07 |
openstackgerrit | Brad P. Crochet proposed openstack/python-mistralclient master: Migrate python-mistralclient jobs to Zuul v3 https://review.openstack.org/509184 | 17:09 |
*** rbrady is now known as rbrady-afk | 17:12 | |
*** AlexeyAbashkin has joined #openstack-mistral | 17:13 | |
*** jpich has quit IRC | 17:13 | |
*** rakhmerov has quit IRC | 17:17 | |
*** AlexeyAbashkin has quit IRC | 17:17 | |
*** dprince has quit IRC | 17:17 | |
*** akuznetsova has quit IRC | 17:17 | |
*** rakhmerov has joined #openstack-mistral | 17:21 | |
*** akuznetsova has joined #openstack-mistral | 17:22 | |
*** thrash is now known as thrash|biab | 17:25 | |
openstackgerrit | Lance Bragstad proposed openstack/mistral master: Implement policy in code - execution (6) https://review.openstack.org/511698 | 17:34 |
openstackgerrit | Lance Bragstad proposed openstack/mistral master: Implement policy in code - member (7) https://review.openstack.org/511699 | 17:35 |
openstackgerrit | Lance Bragstad proposed openstack/mistral master: Implement policy in code - service and task (8) https://review.openstack.org/511700 | 17:35 |
openstackgerrit | Lance Bragstad proposed openstack/mistral master: Implement policy in code - workbook (9) https://review.openstack.org/511701 | 17:36 |
openstackgerrit | Lance Bragstad proposed openstack/mistral master: Implement policy in code - workflow (10) https://review.openstack.org/511719 | 17:36 |
openstackgerrit | Lance Bragstad proposed openstack/mistral master: Implement policy in code - event trigger (11) https://review.openstack.org/511738 | 17:37 |
openstackgerrit | Lance Bragstad proposed openstack/mistral master: Implement policy in code - docs and reno (end) https://review.openstack.org/511769 | 17:38 |
*** mcdoker181818 has quit IRC | 17:39 | |
*** dprince has joined #openstack-mistral | 17:39 | |
*** thrash|biab is now known as thrash | 17:50 | |
*** harlowja has joined #openstack-mistral | 18:53 | |
*** AlexeyAbashkin has joined #openstack-mistral | 19:58 | |
*** AlexeyAbashkin has quit IRC | 20:02 | |
*** rbrady-afk is now known as rbrady | 20:26 | |
*** toure is now known as toure_biab | 20:32 | |
*** dprince has quit IRC | 20:37 | |
*** bobh has quit IRC | 22:33 | |
*** bobh has joined #openstack-mistral | 23:48 | |
openstackgerrit | Mike Fedosin proposed openstack/mistral master: Invoke AuthHook before ContextHook https://review.openstack.org/513372 | 23:48 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!