*** __ministry has joined #openstack-mistral | 02:06 | |
*** apetrich has quit IRC | 02:09 | |
*** threestrands has joined #openstack-mistral | 03:12 | |
*** ykarel|away is now known as ykarel | 04:28 | |
*** nightmare_unreal has joined #openstack-mistral | 06:54 | |
*** pgaxatte has joined #openstack-mistral | 07:07 | |
*** apetrich has joined #openstack-mistral | 07:23 | |
*** ykarel is now known as ykarel|afk | 07:35 | |
rakhmerov | nightmare_unreal: hi | 07:40 |
---|---|---|
nightmare_unreal | hello rakhmerov | 07:41 |
rakhmerov | as far as subworkflows you can do this: | 07:41 |
rakhmerov | $ mistral execution-list --root-execution <execution id> | 07:41 |
nightmare_unreal | aah awesome !! :D Thanks a lot | 07:42 |
rakhmerov | it will print all workflow executions from the same tree :) | 07:42 |
rakhmerov | yeah, np | 07:42 |
nightmare_unreal | :D | 07:42 |
rakhmerov | nightmare_unreal: sorry, seems like I'm misleading you... | 07:47 |
rakhmerov | it turns out that we don't have this parameter on the CLI | 07:48 |
nightmare_unreal | aah , I haven't tried the command yet | 07:48 |
rakhmerov | we have --rootsonly but that will retain only the root executions (not sub workflow executions) | 07:48 |
nightmare_unreal | so it's not the way | 07:48 |
rakhmerov | hm.. | 07:48 |
rakhmerov | yeah | 07:48 |
rakhmerov | wait a sec, looking at it.. | 07:48 |
nightmare_unreal | the thing is mistral dashboard shows them | 07:49 |
rakhmerov | yes, because on the API this parameter exists | 07:49 |
nightmare_unreal | like each executed workflow ( sub worfklow) and their task lists too. So I thought there must be a CLI way | 07:49 |
rakhmerov | but not in the Python client and hence CLI | 07:49 |
nightmare_unreal | Oh | 07:49 |
rakhmerov | nope, seems like it doesn't exist | 07:49 |
rakhmerov | yeah | 07:49 |
rakhmerov | it's easy to add it though | 07:49 |
nightmare_unreal | where should I look into ? | 07:50 |
rakhmerov | so, small update: if you're using just a Python client (aka binding) then you can pass this parameter | 07:51 |
rakhmerov | so it doesn't exist only in the CLI | 07:52 |
rakhmerov | I'm going to add it now | 07:52 |
rakhmerov | I'm surprised we still don't have it | 07:52 |
nightmare_unreal | okay | 07:56 |
nightmare_unreal | well thanks :) | 07:56 |
nightmare_unreal | yeah i am just using python cli of mistral | 07:57 |
*** ykarel|afk is now known as ykarel | 07:58 | |
rakhmerov | I see | 07:59 |
rakhmerov | btw | 07:59 |
rakhmerov | you can also try: mistral execution-get-report 06823f3b-7279-480e-907d-2bac6173adb2 --no-errors-only | 08:00 |
rakhmerov | it will print the entire execution tree with sub executions, task executions and action executions | 08:00 |
rakhmerov | not sure though if it's going to be helpful | 08:00 |
rakhmerov | not this "--no-errors-only" param, it's needed to print all tree | 08:01 |
rakhmerov | by default it only prints all error paths (e.g. task A in the root workflow failed, it will print it including its sub execution etc. etc.) | 08:01 |
rakhmerov | not this => note this | 08:01 |
nightmare_unreal | I will try this thanks . Will let you know | 08:12 |
nightmare_unreal | yup it prints workflow execution tree and I think it has every ID | 08:15 |
nightmare_unreal | thanks | 08:15 |
rakhmerov | yes | 08:16 |
rakhmerov | nightmare_unreal: hey, you can actually do this | 08:19 |
rakhmerov | :) | 08:19 |
nightmare_unreal | yes | 08:19 |
rakhmerov | I completely forgot that Mistral has such a thing called "filters" | 08:19 |
rakhmerov | mistral execution-list --filter root_execution_id=06823f3b-7279-480e-907d-2bac6173adb2 | 08:19 |
rakhmerov | and you can repeat this "--filter" many times for different fields | 08:19 |
nightmare_unreal | aah and where can i see list of filters ? | 08:20 |
rakhmerov | basically you can pass anything you want that is available on the REST API | 08:20 |
rakhmerov | :) | 08:20 |
rakhmerov | aahh... good question | 08:20 |
rakhmerov | wait a min.. | 08:20 |
rakhmerov | nightmare_unreal: this is the best source: https://docs.openstack.org/mistral/latest/user/rest_api_v2.html#executions | 08:22 |
nightmare_unreal | awesome :D . Much appreciated | 08:23 |
rakhmerov | :) | 08:25 |
rakhmerov | you're welcome | 08:25 |
*** ykarel is now known as ykarel|lunch | 08:39 | |
*** ykarel|lunch is now known as ykarel | 09:48 | |
*** eyalb2 has quit IRC | 10:15 | |
*** eyalb2 has joined #openstack-mistral | 10:16 | |
*** jenner has quit IRC | 10:32 | |
*** mgariepy has joined #openstack-mistral | 11:54 | |
*** mgariepy has quit IRC | 12:02 | |
*** mgariepy has joined #openstack-mistral | 12:16 | |
*** ykarel is now known as ykarel|afk | 13:01 | |
*** ykarel|afk is now known as ykarel | 14:00 | |
*** ykarel is now known as ykarel|away | 15:01 | |
*** mgariepy has quit IRC | 15:24 | |
*** mgariepy has joined #openstack-mistral | 15:26 | |
*** mgariepy has quit IRC | 15:33 | |
*** mgariepy has joined #openstack-mistral | 15:46 | |
*** pgaxatte has quit IRC | 17:23 | |
*** nightmare_unreal has quit IRC | 17:25 | |
*** threestrands has quit IRC | 20:09 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!