Thursday, 2017-06-01

*** rbrady has quit IRC01:46
*** rbrady has joined #openstack-mistral01:59
*** rbrady has quit IRC01:59
*** rbrady has joined #openstack-mistral01:59
*** bobh has joined #openstack-mistral02:57
*** rbrady has quit IRC03:02
*** zhurong has joined #openstack-mistral03:27
*** bobh has quit IRC03:30
*** rbrady has joined #openstack-mistral03:58
*** fultonj has quit IRC04:23
*** fultonj has joined #openstack-mistral04:25
*** zhurong has quit IRC04:27
*** zhurong has joined #openstack-mistral04:36
*** tung_doan has joined #openstack-mistral04:52
*** zhurong has quit IRC05:16
*** zhurong has joined #openstack-mistral05:17
*** jaosorior_away is now known as jaosorior05:24
*** sharatss has joined #openstack-mistral06:16
*** Dinesh_Bhor has quit IRC06:23
rakhmerovhi, is anyone aware of why 'doc' gate keeps failing?06:32
rakhmerovhttp://logs.openstack.org/49/469049/1/check/gate-mistral-docs-ubuntu-xenial/2559c4e/console.html06:32
rakhmerovsome problem with versions?06:32
*** sharatss has quit IRC06:53
*** jpich has joined #openstack-mistral07:00
*** shardy has joined #openstack-mistral07:16
*** zhurong has quit IRC08:29
*** shardy is now known as shardy_afk09:47
*** sharatss has joined #openstack-mistral09:49
*** shardy_afk is now known as shardy10:05
*** rook has quit IRC10:18
*** jenner has quit IRC10:23
*** rook has joined #openstack-mistral10:33
*** rook is now known as Guest8646410:33
*** zhurong has joined #openstack-mistral10:35
*** jkilpatr has quit IRC10:45
*** Dinesh_Bhor has joined #openstack-mistral10:47
*** jkilpatr has joined #openstack-mistral11:02
*** xavierhardy has joined #openstack-mistral11:11
*** shardy has quit IRC11:36
*** dtantsur has joined #openstack-mistral11:36
dtantsurhi folks! is mistral using some custom import hooks for action?11:37
dtantsurI see 'ImportError: No module named tripleo_common.actions.baremetal' in logs, though the module can be imported11:37
*** Guest86464 is now known as rook11:41
dtantsuralso, is it possible to see a workflow error for CLI, without diving into debug logs?11:44
*** shardy has joined #openstack-mistral11:58
*** bobh has joined #openstack-mistral12:00
rbradydtantsur: zaqar queue maybe?12:07
*** bobh has quit IRC12:14
*** zhurong has quit IRC12:16
dtantsurrbrady: well, I hoped it can be done without messing with another service :)12:27
dtantsurlike, are all users supposed to use zaqar?12:27
rbradydtantsur: if you don't want to look at the debug logs on the server, the only other place errors go is back to the caller of the workflow via a zaqar queue12:28
dtantsurgot it. it does not sound convenient. does it mean that mistral depends on zaqar for debugging? what about workflows that do not use zaqar (or should they?)12:29
rbradymistral doesn't depend on it - it's just used heavily within tripleo (I assumed, maybe incorrectly that this would pertain to the baremetal workflows)12:30
thrashdtantsur: you would use the client to look at the outcomes of the actions12:31
dtantsurthrash: which client?12:31
dtantsurrbrady: yeah, I wonder what people do outside of tripleo12:31
rbradydtantsur: http://paste.openstack.org/show/611195/12:32
dtantsuraction-execution-get-output is probably what I needed, thanks12:32
rbradydtantsur: that is an excerpt from the workflow error anaylsis spec12:32
dtantsurbtw does it have an OSC counterpart?12:32
thrashdtantsur: mistral12:34
thrashdtantsur: openstack action execution show12:34
dtantsurthrash: no, this does not show an error, only the fact that error occured12:35
dtantsurthrash: example: http://paste.openstack.org/show/611197/12:38
*** mgershen has joined #openstack-mistral12:38
dtantsur(ditto for action execution show)12:39
rbradydtantsur: did you read my paste?12:39
rbradymistral action-execution-get-output <id>12:39
dtantsurrbrady: yep, I'm answering to thrash12:39
dtantsur'openstack action execution output show' seems to be it, thanks, rbrady12:40
*** dprince has joined #openstack-mistral12:41
*** Dinesh_Bhor has quit IRC12:45
thrashdtantsur: whoops... meant to do the output version. :)12:46
*** Dinesh_Bhor has joined #openstack-mistral12:46
dtantsur:)12:46
dtantsurnext question please: is there an easy way to have nested with-items? i.e. a cartesian product of several arrays?12:47
*** Dinesh_Bhor has quit IRC12:49
*** Dinesh_Bhor has joined #openstack-mistral12:49
*** Dinesh_Bhor has quit IRC12:49
*** Dinesh_Bhor has joined #openstack-mistral12:50
thrashdtantsur: not that I'm aware of.12:52
rakhmerovdtantsur: well, one built-in capability we have is to iterate over multiple arrays at the same time12:52
rakhmerovone cycle12:53
dtantsuryeah, but in parallel, right?12:53
rakhmerovyes12:53
rakhmerovif you want to iterate over combinations you can first get an expanded array with pairs12:53
rakhmerovthat's what I would do probably12:53
rakhmerovYAQL may even have a function that takes two arrays and returns all possible combinations12:55
rakhmerovif it doesn't, you can create such a function and plug it in12:55
rakhmerovbtw, you could contribute it back if it doesn't exist12:55
rakhmerov:)12:55
thrashwq12:56
dtantsurthrash: you can't escape!12:57
dtantsurrakhmerov: I see :)12:58
thrashdtantsur: haha12:58
*** sharatss has quit IRC12:58
thrashdtantsur: damn stray mouse pointer...12:58
thrash*mouse12:58
thrash:D12:59
dtantsur:)12:59
thrash&mouse12:59
rbradydtantsur: http://yaql.readthedocs.io/en/latest/getting_started.html?highlight=join13:02
dtantsurrbrady, rakhmerov, I suspect I need http://yaql.readthedocs.io/en/latest/standard_library.html#zip13:03
dtantsurmm, no, ignore me13:04
rakhmerov:)13:04
dtantsuryeah, join seems to be add. even a bit more complex than I need.13:06
dtantsurthanks all13:06
rakhmerovdtantsur: yeah, it's a good function. Just learned about it myself )13:13
dtantsurheh13:13
rakhmerovseems like you just need to omit predicate and selector13:13
rakhmerovor use col1.join(col2, true, [$1, $2])13:14
dtantsuryeah13:14
*** bobh has joined #openstack-mistral13:34
fultonjhi rbrady , may i add you as a reviewer to https://review.openstack.org/#/c/469644/13:34
rbradyfultonj: sure, although I typically try to review most tripleo-common patches anyway :)13:35
fultonjrbrady: ok, thanks13:36
*** jkilpatr has quit IRC13:53
*** jkilpatr has joined #openstack-mistral13:55
bobhIs there a way to use "join" when some of the tasks that lead to the joining-task are optional?  I want to run several tasks in parallel and have them all join before the workflow finishes, but depending on the inputs to the workflow some of the tasks may not execute.  I'm getting "fail" errors now from the joining-task.14:20
bobh  One workaround I found is to use with-items so the task executes but it may or may not do anything if there is nothing in the items list.14:21
bobhI'd really like for join to apply to all of the running tasks instead of the defined tasks - not sure if that's possible.14:21
*** openstackgerrit has quit IRC14:34
*** jaosorior has quit IRC14:36
*** tung_doan has quit IRC14:47
*** jkilpatr has quit IRC14:59
*** jkilpatr has joined #openstack-mistral15:09
*** thrash is now known as thrash|biab15:35
*** catintheroof has joined #openstack-mistral16:02
*** jpich has quit IRC16:12
*** catintheroof has quit IRC16:27
*** dtantsur is now known as dtantsur|afk16:45
*** shardy has quit IRC16:53
*** thrash|biab is now known as thrash17:07
*** bobh has quit IRC17:56
*** jkilpatr_ has joined #openstack-mistral18:15
*** jkilpatr has quit IRC18:18
*** thrash is now known as thrash|bbl18:24
*** bobh has joined #openstack-mistral19:17
fultonjdoes mistral support variable parameter lists so that a workflow doesn't need to be written with the exact parameters that it will act on? This would be like Python's "def foo(**dict): ..." syntax.20:16
*** dprince has quit IRC20:30
*** jrist has quit IRC20:45
*** jkilpatr_ has quit IRC20:47
*** jrist has joined #openstack-mistral20:49
*** jkilpatr has joined #openstack-mistral21:06
*** openstackgerrit has joined #openstack-mistral22:13
openstackgerritOpenStack Proposal Bot proposed openstack/mistral master: Updated from global requirements  https://review.openstack.org/46957122:13
*** bobh has quit IRC22:19
*** bobh has joined #openstack-mistral23:17
*** bobh has quit IRC23:27
*** bobh has joined #openstack-mistral23:30
*** jamielennox|away is now known as jamielennox23:59

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