Monday, 2017-10-23

*** yangyape_ has quit IRC00:17
*** yangyapeng has joined #openstack-mistral00:18
*** yangyapeng has quit IRC00:22
*** yangyapeng has joined #openstack-mistral01:20
*** d0ugal has quit IRC01:36
*** d0ugal has joined #openstack-mistral02:00
*** int32bit has joined #openstack-mistral02:21
*** int32bit has quit IRC02:23
*** int32bit has joined #openstack-mistral02:23
*** int32bit has quit IRC02:24
*** int32bit has joined #openstack-mistral02:25
*** int32bit has quit IRC02:26
*** int32bit has joined #openstack-mistral02:27
*** int32bit has quit IRC02:28
*** int32bit has joined #openstack-mistral02:28
*** int32bit has quit IRC02:29
*** int32bit has joined #openstack-mistral02:30
*** int32bit has quit IRC02:31
*** int32bit has joined #openstack-mistral02:32
*** int32bit has quit IRC02:33
*** int32bit has joined #openstack-mistral02:33
*** int32bit has quit IRC02:34
*** int32bit has joined #openstack-mistral02:35
*** int32bit has quit IRC02:36
*** int32bit has joined #openstack-mistral02:36
*** int32bit has quit IRC02:37
*** int32bit has joined #openstack-mistral02:38
*** int32bit has quit IRC02:39
*** int32bit has joined #openstack-mistral02:40
*** int32bit has quit IRC02:41
*** int32bit has joined #openstack-mistral02:41
*** int32bit has quit IRC02:42
*** int32bit has joined #openstack-mistral02:43
*** int32bit has quit IRC02:45
*** int32bit has joined #openstack-mistral02:45
*** int32bit has joined #openstack-mistral02:47
*** int32bit has quit IRC02:48
*** int32bit has joined #openstack-mistral02:49
*** int32bit has quit IRC02:50
*** int32bit has joined #openstack-mistral02:50
*** int32bit has quit IRC02:51
*** int32bit has joined #openstack-mistral02:52
*** int32bit has quit IRC02:53
*** int32bit has joined #openstack-mistral02:53
*** int32bit has joined #openstack-mistral02:55
*** int32bit has joined #openstack-mistral03:13
*** int32bit has quit IRC03:14
*** int32bit has joined #openstack-mistral03:15
*** int32bit has quit IRC03:16
*** int32bit has joined #openstack-mistral03:17
*** int32bit has quit IRC03:18
*** int32bit has joined #openstack-mistral03:18
*** int32bit has quit IRC03:19
*** int32bit has joined #openstack-mistral03:20
*** int32bit has quit IRC03:21
*** int32bit has joined #openstack-mistral03:21
*** int32bit has quit IRC03:22
*** int32bit has joined #openstack-mistral03:23
*** int32bit has quit IRC03:24
*** int32bit has joined #openstack-mistral03:25
*** int32bit has quit IRC03:26
*** int32bit has joined #openstack-mistral03:26
*** int32bit has quit IRC03:27
*** int32bit has joined #openstack-mistral03:28
*** int32bit has quit IRC03:29
*** int32bit has joined #openstack-mistral03:30
*** int32bit has quit IRC03:31
*** int32bit has joined #openstack-mistral03:31
*** int32bit has quit IRC03:32
*** int32bit has joined #openstack-mistral03:33
*** int32bit has quit IRC03:34
*** int32bit has joined #openstack-mistral03:34
*** int32bit has quit IRC03:35
*** gkadam has joined #openstack-mistral03:35
*** int32bit has joined #openstack-mistral03:36
*** gkadam_ has joined #openstack-mistral03:40
*** gkadam has quit IRC03:41
*** Dinesh_Bhor has joined #openstack-mistral04:19
rakhmerovd0ugal: hi, take a look at https://review.openstack.org/#/c/513321/ please04:33
rakhmerovcomments04:33
*** jaosorior has joined #openstack-mistral05:02
*** int32bit has joined #openstack-mistral05:23
*** int32bit has quit IRC05:24
*** int32bit has joined #openstack-mistral05:24
*** int32bit has quit IRC05:25
*** int32bit has joined #openstack-mistral05:26
*** int32bit has quit IRC05:27
*** int32bit has joined #openstack-mistral05:28
*** int32bit_ has joined #openstack-mistral05:29
*** int32bit_ has quit IRC05:30
openstackgerritMerged openstack/mistral master: Redundant alias in import statement  https://review.openstack.org/51329505:31
*** int32bit_ has joined #openstack-mistral05:31
*** int32bit has quit IRC05:32
*** int32bit_ has quit IRC05:33
*** int32bit has joined #openstack-mistral05:35
*** int32bit has quit IRC05:36
*** yangyapeng has quit IRC05:36
*** int32bit has joined #openstack-mistral05:36
*** yangyapeng has joined #openstack-mistral05:36
*** int32bit has quit IRC05:38
*** int32bit has joined #openstack-mistral05:38
*** int32bit has quit IRC05:39
*** int32bit has joined #openstack-mistral05:40
*** yangyapeng has quit IRC05:41
*** int32bit has quit IRC05:42
*** int32bit has joined #openstack-mistral05:42
*** int32bit has quit IRC05:43
*** int32bit has joined #openstack-mistral05:44
*** int32bit has quit IRC05:45
*** int32bit has joined #openstack-mistral05:45
*** int32bit has quit IRC05:46
*** int32bit has joined #openstack-mistral05:47
*** int32bit has quit IRC05:48
*** int32bit has joined #openstack-mistral05:49
*** int32bit has quit IRC05:50
*** int32bit has joined #openstack-mistral05:50
*** int32bit has quit IRC05:51
*** int32bit has joined #openstack-mistral05:52
*** int32bit has quit IRC05:53
*** int32bit has joined #openstack-mistral05:54
*** int32bit has quit IRC05:55
*** int32bit has joined #openstack-mistral05:56
*** int32bit has quit IRC05:57
*** int32bit has joined #openstack-mistral05:57
*** int32bit has quit IRC05:58
*** int32bit has joined #openstack-mistral05:59
*** int32bit has quit IRC06:00
*** int32bit has joined #openstack-mistral06:00
*** int32bit has quit IRC06:01
*** int32bit has joined #openstack-mistral06:02
*** int32bit has quit IRC06:03
*** int32bit has joined #openstack-mistral06:04
*** int32bit has quit IRC06:05
*** int32bit has joined #openstack-mistral06:05
*** int32bit has quit IRC06:06
*** int32bit has joined #openstack-mistral06:07
*** int32bit has quit IRC06:08
*** int32bit has joined #openstack-mistral06:09
*** int32bit has quit IRC06:10
*** int32bit has joined #openstack-mistral06:10
*** int32bit has quit IRC06:11
*** int32bit has joined #openstack-mistral06:12
*** int32bit has quit IRC06:13
*** int32bit has joined #openstack-mistral06:14
*** int32bit has quit IRC06:15
*** int32bit has joined #openstack-mistral06:15
*** int32bit has quit IRC06:16
*** int32bit has joined #openstack-mistral06:17
*** int32bit has quit IRC06:18
*** int32bit has joined #openstack-mistral06:18
*** int32bit has quit IRC06:19
*** int32bit has joined #openstack-mistral06:20
*** int32bit has quit IRC06:21
*** int32bit has joined #openstack-mistral06:22
*** int32bit has quit IRC06:23
openstackgerritMerged openstack/mistral master: Add a yaml_dump expression  https://review.openstack.org/51345506:26
rakhmerovd0ugal, thrash|g0ne: hey, although https://review.openstack.org/#/c/513455/ is already merged pls take a look at the comment I left, might be useful06:55
*** jtomasek has joined #openstack-mistral07:01
apetrichrakhmerov, morning07:07
rakhmerovapetrich: hi!07:07
rakhmerovwhat's up? )07:07
openstackgerritRenat Akhmerov proposed openstack/mistral master: Fix deletion of delayed calls  https://review.openstack.org/51416207:09
apetrichrakhmerov, I'm just happy that I'm finally feeling human again. Not feeling sick anymore07:09
rakhmerovooh, congrats!07:09
rakhmerovgood )07:09
rakhmerovbeing a human is a wonderful thing :)07:09
apetrichit is the small things like waking to the kitchen without a coughing fit :)07:12
rakhmerovЖ)07:12
rakhmerov:)07:12
*** jtomasek has quit IRC07:14
*** jistr is now known as jistr|mtgs07:26
*** AlexeyAbashkin has joined #openstack-mistral07:37
*** jtomasek has joined #openstack-mistral07:54
*** oidgar has joined #openstack-mistral08:10
*** AlexeyAbashkin has quit IRC08:12
*** AlexeyAbashkin has joined #openstack-mistral08:12
*** int32bit has joined #openstack-mistral08:24
*** int32bit has quit IRC08:26
*** mcdoker181818 has joined #openstack-mistral09:09
*** do3meli has joined #openstack-mistral09:30
do3melihey 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
rakhmerovdo3meli: hi09:35
rakhmerovsec..09:35
rakhmerovI'm not sure I understood. $.ipaddress is in the workflow context?09:35
rakhmerovdo3meli: ^09:36
rakhmerovif so, you need to use YAQL "set" function09:36
rakhmerovtrying to find an example..09:37
do3meliactually .$.ipaddress is a global input variable09:39
rakhmerovyeah, ok, it's the same thing09:39
do3melihmm so the set function i need to use in the action ?09:41
rakhmerovno-no, just a sec..09:41
rakhmerovlooking for it09:41
rakhmerovooh, gosh.. d0ugal: do you remember how to use YAQL's "set" thing?09:45
rakhmerovI'm trying to find an example but can't..09:45
do3meliyou're talking about this function here, right: http://yaql.readthedocs.io/en/latest/standard_library.html#set ?09:45
rakhmerovyes, right09:46
rakhmerovso09:46
rakhmerov<% set(my_temp_var, $.ipaddress) => $.port.fixed_ips.indexWhere( $.ip_address = $.my_temp_var ) %>09:47
rakhmerovit should work09:47
do3melilet me try that.09:48
do3melihmm that doesn't seems to work. Parse error: unexpected '=>' at position09:52
rakhmerovdo3meli: 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
do3melisure, thanks rakhmerov09:54
d0ugalrakhmerov: sorry, I'm only half around today - something came up.09:54
rakhmerovok09:55
*** thrash|g0ne is now known as thrash10:14
*** yangyapeng has joined #openstack-mistral10:38
*** yangyapeng has quit IRC10:43
*** yangyapeng has joined #openstack-mistral10:44
*** Qiming has quit IRC10:50
*** Qiming has joined #openstack-mistral10:54
*** Qiming has quit IRC10:58
*** Qiming has joined #openstack-mistral11:01
*** jkilpatr has joined #openstack-mistral11:19
*** jtomasek has quit IRC11:39
openstackgerritMerged openstack/mistral master: Fix deletion of delayed calls  https://review.openstack.org/51416211:49
*** jtomasek has joined #openstack-mistral12:08
*** jpich has joined #openstack-mistral12:15
*** weshay|bbiab is now known as weshay|ruck12:18
*** dprince has joined #openstack-mistral12:21
do3melirakhmerov, 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
do3melinever 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 IRC12:44
*** oidgar has quit IRC13:03
*** jtomasek has quit IRC13:05
*** bobh has joined #openstack-mistral13:07
*** jtomasek has joined #openstack-mistral13:11
*** rbrady has joined #openstack-mistral13:13
*** rbrady has joined #openstack-mistral13:13
d0ugaldo3meli: I think I have seen an example of this...13:14
d0ugalI wonder if you reached the same conclusion13:14
* d0ugal greps code13:14
d0ugaldo3meli: Yes, it looks like we do the same thing - https://github.com/openstack/tripleo-common/blob/7ead7a572c88953fa8f4d226b6ac5e89e7af5de1/workbooks/derive_params.yaml#L4213:15
d0ugalSorry I wasn't around earlier.13:15
do3melid0ugal: i read it here: https://docs.stackstorm.com/mistral_yaql.html#queries but actually same thing yes.13:15
d0ugalcool, the stackstorm docs can be quite useful.13:16
do3melidefenitely. so basically the yaql doc is missing some example with context passing13:16
d0ugalas a tip, I find looking at the YAQL test suite is good for examples, it often has more than the docs.13:17
d0ugalWhich isn't ideal, but better than nothing13:17
do3meligood point, thanks for that d0ugal13:19
*** oidgar has joined #openstack-mistral13:20
*** toure_biab is now known as toure13:20
*** oidgar has quit IRC13:29
openstackgerritBob Haddleton proposed openstack/mistral-specs master: Allow Join Success on Partial Tree  https://review.openstack.org/51431713:31
*** oidgar has joined #openstack-mistral13:31
*** yangyapeng has quit IRC13:50
*** yangyapeng has joined #openstack-mistral13:51
*** yangyapeng has quit IRC13:55
*** jaosorior has quit IRC14:08
*** jtomasek has quit IRC14:08
*** jtomasek has joined #openstack-mistral14:09
openstackgerritBrad P. Crochet proposed openstack/mistral master: DNM: TEST Zuul v3 jobs  https://review.openstack.org/50942814:09
*** jtomasek has quit IRC14:27
rakhmerovdo3meli: awesome :)14:29
rakhmerovsorry, yes, I just forgot the syntax a little bit14:29
do3melinp, rakhmerov ;-) what a wonder with all those different languages14:29
rakhmerovd0ugal, rbrady, thrash, apetrich, toure, bobh: hi14:29
thrashrakhmerov: hi14:30
rakhmerovsorry, I'm not feeling well now14:30
rakhmerovwanna skip the meeting (sorry, it's the second time in a row, I know)14:30
rakhmerovany news, topics to discuss?14:30
rakhmerovok14:33
rakhmerovwe can cancel it if there isn't anything important14:34
rakhmerovup to you14:34
rakhmerovthrash: btw, what's the status of Zuul v3? We're good, right?14:36
thrashrakhmerov: yes... I am actually close to getting all of the jobs migrated to "native" zuul v3.14:36
rakhmerovgreat14:36
rakhmerovthanks14:36
thrashrakhmerov: https://review.openstack.org/#/c/509428/14:36
rakhmerovyep14:36
apetrichrakhmerov, I'm fine with skipping the meeting14:41
rakhmerovok14:41
d0ugalrakhmerov: +1 to cancel, I'm tired :)14:41
rakhmerovd0ugal: I'm exhausted too )14:42
rakhmerovand a little sick14:42
rakhmerovwe have quite crazy time here with an internal release14:42
rakhmerovthanks for understanding14:42
d0ugalnp14:42
apetrichno worries14:43
openstackgerritBrad P. Crochet proposed openstack/mistral master: DNM: TEST Zuul v3 jobs  https://review.openstack.org/50942814:44
d0ugalrakhmerov: Can you review this quickly?14:46
d0ugalhttps://review.openstack.org/#/c/513321/14:46
d0ugalI think we need a PTL +1, but I forget14:47
bobhrakhmerov: some discussion with Winson on https://review.openstack.org/#/c/467799/14:49
bobhrakhmerov: seems we have different interpretation of the PTG discussion14:49
*** jtomasek has joined #openstack-mistral14:52
mcdoker181818Hi all, https://review.openstack.org/#/c/510384/ will be merged to stable/pike?14:52
d0ugalmcdoker181818: 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
d0ugalI'll review it.14:53
mcdoker181818Thanks14:55
d0ugalLGTM14:55
*** jaosorior has joined #openstack-mistral14:57
*** yangyapeng has joined #openstack-mistral15:03
*** yangyapeng has quit IRC15:04
*** yangyapeng has joined #openstack-mistral15:04
*** thrash is now known as thrash|biab15:16
*** AlexeyAbashkin has quit IRC15:37
openstackgerritToure Dunnon proposed openstack/mistral-extra master: Migrate the ansible actions from tripleo-common to mistral-extra.  https://review.openstack.org/51436015:39
*** do3meli has quit IRC15:46
*** thrash|biab is now known as thrash15:47
d0ugalthrash: any idea why the .replace() hacks are here? https://github.com/openstack/mistral/blob/master/mistral/utils/expression_utils.py#L12215:48
thrashd0ugal: I *think* it's because of the pretty-print part?15:49
thrashbut honestly, I have *no* idea15:49
d0ugalhrm, maybe I'll just remove that :P15:50
d0ugalso it un-escapes newlines and also removes single spaces from the ends of lines AFAICT15:51
d0ugaltwo very specific things15:51
*** jkilpatr has quit IRC15:55
thrashd0ugal: and wouldn't strip work better for the space thing?16:03
thrashbut I guess you'd have to go line by line16:03
d0ugalyeah16:05
d0ugalthrash: "This function also fixes escaped new-line symbols"16:06
d0ugalfrom the original commit16:06
d0ugalhttps://review.openstack.org/#/c/236881/116:06
d0ugaloh and the extra space seems to be a py2 vs py3 thing?16:08
d0ugalThat was added here: V16:09
d0ugalhttps://review.openstack.org/#/c/241248/16:09
*** oidgar has quit IRC16:09
*** jkilpatr has joined #openstack-mistral16:32
*** jaosorior has quit IRC16:35
*** jaosorior has joined #openstack-mistral16:36
thrashd0ugal: interesting17:07
openstackgerritBrad P. Crochet proposed openstack/python-mistralclient master: Migrate python-mistralclient jobs to Zuul v3  https://review.openstack.org/50918417:09
*** rbrady is now known as rbrady-afk17:12
*** AlexeyAbashkin has joined #openstack-mistral17:13
*** jpich has quit IRC17:13
*** rakhmerov has quit IRC17:17
*** AlexeyAbashkin has quit IRC17:17
*** dprince has quit IRC17:17
*** akuznetsova has quit IRC17:17
*** rakhmerov has joined #openstack-mistral17:21
*** akuznetsova has joined #openstack-mistral17:22
*** thrash is now known as thrash|biab17:25
openstackgerritLance Bragstad proposed openstack/mistral master: Implement policy in code - execution (6)  https://review.openstack.org/51169817:34
openstackgerritLance Bragstad proposed openstack/mistral master: Implement policy in code - member (7)  https://review.openstack.org/51169917:35
openstackgerritLance Bragstad proposed openstack/mistral master: Implement policy in code - service and task (8)  https://review.openstack.org/51170017:35
openstackgerritLance Bragstad proposed openstack/mistral master: Implement policy in code - workbook (9)  https://review.openstack.org/51170117:36
openstackgerritLance Bragstad proposed openstack/mistral master: Implement policy in code - workflow (10)  https://review.openstack.org/51171917:36
openstackgerritLance Bragstad proposed openstack/mistral master: Implement policy in code - event trigger (11)  https://review.openstack.org/51173817:37
openstackgerritLance Bragstad proposed openstack/mistral master: Implement policy in code - docs and reno (end)  https://review.openstack.org/51176917:38
*** mcdoker181818 has quit IRC17:39
*** dprince has joined #openstack-mistral17:39
*** thrash|biab is now known as thrash17:50
*** harlowja has joined #openstack-mistral18:53
*** AlexeyAbashkin has joined #openstack-mistral19:58
*** AlexeyAbashkin has quit IRC20:02
*** rbrady-afk is now known as rbrady20:26
*** toure is now known as toure_biab20:32
*** dprince has quit IRC20:37
*** bobh has quit IRC22:33
*** bobh has joined #openstack-mistral23:48
openstackgerritMike Fedosin proposed openstack/mistral master: Invoke AuthHook before ContextHook  https://review.openstack.org/51337223:48

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