Monday, 2018-03-19

*** bobh has joined #openstack-mistral00:44
*** zhurong has joined #openstack-mistral01:16
*** pengdake has joined #openstack-mistral01:45
*** zhurong has quit IRC02:36
*** zhurong has joined #openstack-mistral02:37
*** bobh has quit IRC04:11
*** bobh has joined #openstack-mistral04:20
*** bobh has quit IRC04:25
*** bobh has joined #openstack-mistral04:34
*** bobh has quit IRC04:39
*** itlinux has quit IRC04:39
*** bobh has joined #openstack-mistral04:43
*** bobh has quit IRC04:48
*** bobh has joined #openstack-mistral04:51
*** bobh has quit IRC04:57
*** bobh has joined #openstack-mistral05:00
*** zhurong has quit IRC05:04
*** bobh has quit IRC05:04
*** bobh has joined #openstack-mistral05:10
*** bobh has quit IRC05:10
*** bobh has joined #openstack-mistral05:21
*** bobh has quit IRC05:25
*** openstackgerrit has quit IRC05:49
*** bobh has joined #openstack-mistral05:53
*** bobh has quit IRC05:58
*** bobh has joined #openstack-mistral06:00
*** bobh has quit IRC06:05
*** openstackgerrit has joined #openstack-mistral06:07
openstackgerritQi Peng proposed openstack/mistral master: Update test-requirements  https://review.openstack.org/55036306:07
*** bobh has joined #openstack-mistral06:12
*** bobh has quit IRC06:17
*** bobh has joined #openstack-mistral06:20
*** bobh has quit IRC06:25
*** bobh has joined #openstack-mistral06:31
*** bobh has quit IRC06:37
*** bobh has joined #openstack-mistral06:41
*** bobh has quit IRC06:46
*** d0ugal has joined #openstack-mistral07:00
*** d0ugal has quit IRC07:00
*** d0ugal has joined #openstack-mistral07:00
*** zhurong has joined #openstack-mistral07:00
*** bobh has joined #openstack-mistral07:03
*** bobh has quit IRC07:08
*** bobh has joined #openstack-mistral07:11
*** bobh has quit IRC07:16
*** bobh has joined #openstack-mistral07:23
*** bobh has quit IRC07:27
openstackgerritMerged openstack/mistral master: Fixed the broken MySQL job  https://review.openstack.org/54780807:28
openstackgerritMerged openstack/mistral master: Clarify usage of break-on and continue-on  https://review.openstack.org/55338607:28
openstackgerritMerged openstack/mistral-tempest-plugin master: Updated from global requirements  https://review.openstack.org/55319707:28
apetrichMorning07:39
*** bobh has joined #openstack-mistral07:42
*** bobh has quit IRC07:47
*** AlexeyAbashkin has joined #openstack-mistral07:54
*** zhurong has quit IRC07:54
*** bobh has joined #openstack-mistral07:55
*** bobh has quit IRC07:59
openstackgerritAndras Kovi proposed openstack/mistral master: Ensure workflow check is retried on DB error  https://review.openstack.org/54706908:12
openstackgerritAndras Kovi proposed openstack/mistral master: WIP: Enable delayed call rescheculing before execution on execution integrity check  https://review.openstack.org/55291108:14
openstackgerritMerged openstack/mistral master: Fix server info string  https://review.openstack.org/55270308:19
openstackgerritMerged openstack/mistral master: Add a release note for execution events noitifications  https://review.openstack.org/55077908:19
openstackgerritMerged openstack/mistral master: Remove a redundant initializer of InvalidUnicodeAction in the tests  https://review.openstack.org/55283408:19
openstackgerritAndras Kovi proposed openstack/mistral master: WIP: Enable delayed call rescheculing before execution on execution integrity check  https://review.openstack.org/55291108:23
*** jaosorior has joined #openstack-mistral08:40
*** bobh has joined #openstack-mistral08:51
*** bobh has quit IRC08:56
*** shardy has joined #openstack-mistral08:59
openstackgerritMerged openstack/mistral master: Rename task_id to task_execution_id  https://review.openstack.org/51468809:01
*** jtomasek has joined #openstack-mistral09:02
*** bobh has joined #openstack-mistral09:14
*** bobh has quit IRC09:19
*** chkumar|off is now known as chandankumare09:21
*** chandankumare is now known as chandankumar09:21
*** bobh has joined #openstack-mistral09:21
*** bobh has quit IRC09:26
*** bobh has joined #openstack-mistral09:30
openstackgerritAdriano Petrich proposed openstack/mistral master: Ensure workflow check is retried on DB error  https://review.openstack.org/54706909:34
*** bobh has quit IRC09:35
openstackgerritMerged openstack/mistral master: Retry DB operation on deadlock  https://review.openstack.org/55086409:38
*** bobh has joined #openstack-mistral09:57
*** bobh has quit IRC10:01
*** bobh has joined #openstack-mistral10:05
*** bobh has quit IRC10:10
*** bobh has joined #openstack-mistral10:12
*** bobh has quit IRC10:16
*** bobh has joined #openstack-mistral10:22
openstackgerritRenat Akhmerov proposed openstack/mistral master: WIP: fixing 'pause' engine command  https://review.openstack.org/55245510:26
*** bobh has quit IRC10:28
*** pengdake has quit IRC10:33
openstackgerritRenat Akhmerov proposed openstack/mistral master: WIP: fixing 'pause' engine command  https://review.openstack.org/55245510:38
*** bobh has joined #openstack-mistral10:45
*** bobh has quit IRC10:51
*** bobh has joined #openstack-mistral10:51
*** bobh has quit IRC10:56
*** bobh has joined #openstack-mistral11:01
*** bobh has quit IRC11:06
openstackgerritRenat Akhmerov proposed openstack/mistral master: Fix 'pause' engine command  https://review.openstack.org/55245511:11
*** bobh has joined #openstack-mistral11:13
rakhmerovd0ugal: hi, can you please approve https://review.openstack.org/#/c/552870/?11:13
rakhmerovit's a backport to queens11:13
rakhmerovI also would like to release a new version of mistral this week from stable/queens (we need to promote this to RDO)11:15
d0ugalrakhmerov: sure11:17
*** bobh has quit IRC11:18
*** bobh has joined #openstack-mistral11:20
*** katkapilatova has joined #openstack-mistral11:23
*** bobh has quit IRC11:25
openstackgerritMerged openstack/mistral-dashboard master: Updated from global requirements  https://review.openstack.org/55319511:26
*** bobh has joined #openstack-mistral11:30
*** bobh has quit IRC11:36
*** bobh has joined #openstack-mistral11:40
*** pengdake has joined #openstack-mistral11:44
*** bobh has quit IRC11:45
apetrichrakhmerov, oh I'm happy with that being merged and backported  :)11:51
*** bobh has joined #openstack-mistral11:53
*** pengdake has quit IRC12:09
*** thrash|g0ne is now known as thrash12:20
*** pengdake has joined #openstack-mistral12:20
*** bobh has quit IRC12:23
*** pengdake has quit IRC12:31
*** dprince has joined #openstack-mistral12:57
*** toure|gone is now known as toure13:20
*** shardy is now known as shardy_mtg13:28
openstackgerritMerged openstack/mistral stable/queens: Make sure not to swallow original exceptions on handling remote errors  https://review.openstack.org/55287014:03
openstackgerritMerged openstack/mistral master: Improve the Docker integration  https://review.openstack.org/53904814:03
*** bobh has joined #openstack-mistral14:13
*** itlinux has joined #openstack-mistral15:00
*** josecastroleon has joined #openstack-mistral15:47
bobhanybody here for office hours?16:07
d0ugalbobh: I am around16:15
bobhd0ugal: hello16:16
d0ugalHey :)16:16
bobhd0ugal: question for you16:16
d0ugalI keep meaning to add an IRC bot to announce when office hours start - it would help remind me :-D16:16
d0ugalSure16:16
bobhd0ugal: the latest mistralclient added a default LIMIT=100 on task-list, execution-list and action-execution-list commands to reduce the load on the server16:16
d0ugalYup16:17
bobhd0ugal: that causes problems when you have more than 100 tasks/executions/action-executions because it only returns the first 10016:17
bobhso you have to specify limit on every command to see the data you want16:17
d0ugalbobh: right, or you could filter the result?16:18
d0ugalHow often do you really need to look at more than 100 at a time?16:18
bobhI have been trying to find a way to get it to return the latest 100 rows instead of the first 100 but I can't find a way to do it in oslo_db/sqlalchemy16:18
bobhNever16:18
bobhbut I need the latest 100 not the earliest 10016:18
d0ugalah16:18
d0ugalYou can sort it with the CLI16:19
bobhso sort created_at desc ?16:19
bobhbut then I want that result reversed16:19
d0ugalLet me get an example...16:21
d0ugalbobh: mistral execution-list --sort_key="updated_at" --sort_dir="asc" --limit=116:21
d0ugalThat will get you the most recent one :)16:21
d0ugalIt would maybe make sense for us to change the default sort order, because I agree, showing the oldest 100 isn't intuative16:21
bobhhm16:22
bobhI think the defaults are created_at and asc so it "should" work as expected16:23
bobhalso sort_ket and sort_dir are not mentioned in the cli help - so another thing to fix :-)16:23
bobhonly when you put invalid inputs into task-list16:24
bobhthere does not seem to be a way to specify sort-dir16:25
bobhclient sends sort_keys=['created_at'] and sort_dir=['asc'] by default16:27
bobhand limit=10016:27
bobhso you get the oldest 10016:27
bobhlooks like tasks is defined in the client different than executions, which has sort_keys and sort_dir16:29
bobhI'll open a bug to make them consistent and see if I can get the default to be what would be most useful16:30
d0ugalbobh: I see it in the help for "$ mistral help execution-list"16:31
bobhbut not in task-list or action-execution-list16:31
d0ugaloh, odd16:32
tourebobh I don't see that option in the client side16:32
tourethe cli switches that is16:32
bobhI think it will be easy to get the latest 100 entries by sort_dir=desc, but then need to sort again to reverse the list so it is in the expected order16:32
umbSublimesince most cli's are built with cliff now IIRC they all commands should have those available16:33
umbSublimes/they/then/16:33
bobhit's inheriting from lister.Lister so it should be there16:34
d0ugalyup16:34
bobhI'll dig into it some more16:34
toureyeah, but it isn't defined in the base module16:34
toureeach module has to define their own cli switches16:35
tourebut bobh you are corrent the mistral server side has the api support exposed16:36
bobhcliff DisplayCommandBase provides --column and --format16:37
bobhtoure - right but the server side will only do one sort - the desc to get the latest 100 rows16:38
bobhtoure: I need another sort to reverse the result into ascending order16:38
bobhseems clunky to have the client do that, but even more clunky to have the server do it16:38
tourebobh I agree I think the cli should have the option to define a customized output especially since the api is there to support it16:39
toureI think there should be a unified client implementation which matches the api16:39
bobhsomeone must have solved this problem before but I can't find any evidence of it16:40
bobhI think the default output for the task-list, execution-list and action-execution-list commands should be the most recent 100 entries, in ascending order16:42
tourebobh so do you mean implement something like ABC for client models which make sure there is a matching api implementations16:42
toure^from base.16:42
bobhtoure: I think that's part of it but I think there is a larger problem which is hard to solve even in SQL, which is the "get me the latest N records"16:43
bobhtoure: it requires a desc sort followed by an asc sort16:43
bobhtoure: which neither oslo_db not sqlalchemy support16:44
toureoh I get it now you want a list which give you a chunk of data which sorted via desc then have the ability to sort that list via asc16:45
* toure thinks custom sqlalchmey query is needed16:45
bobhright16:46
bobhI agree with putting the limit on the task/execution/action-execution list command, since I never need to see all 20000 executions anyway16:46
tourebobh if you open the bug I will take a look at it, I have been spending time in sqlalchemy world for a bit16:46
bobhtoure: ok, I wasnt sure that this should be a server-side fix, since we can ask the server for the latest 100 rows (updated_at, desc) and it will give them to us16:47
bobhtoure: but then the client would need to do as asc sort or reversed() on the result to make it look like the user expects16:48
touremake sense16:49
*** AlexeyAbashkin has quit IRC16:51
*** shardy_mtg has quit IRC16:52
*** weshay is now known as weshay_brb17:05
*** shardy_mtg has joined #openstack-mistral17:08
*** toure is now known as toure|biab17:10
*** thrash is now known as thrash|biab17:13
*** d0ugal has quit IRC17:21
*** shardy_mtg has quit IRC17:26
*** weshay_brb is now known as weshay17:50
*** thrash|biab is now known as thrash17:51
*** AlexeyAbashkin has joined #openstack-mistral18:20
*** AlexeyAbashkin has quit IRC18:24
*** toure|biab is now known as toure18:30
*** rbrady is now known as rbrady-afk18:36
*** openstackgerrit has quit IRC18:48
*** AlexeyAbashkin has joined #openstack-mistral19:20
*** AlexeyAbashkin has quit IRC19:24
*** dprince has quit IRC19:33
*** AlexeyAbashkin has joined #openstack-mistral20:21
*** livelace has joined #openstack-mistral20:25
*** AlexeyAbashkin has quit IRC20:26
*** jtomasek has quit IRC21:00
*** toure is now known as toure|gone21:04
*** itlinux has quit IRC21:06
*** livelace has quit IRC21:08
*** bobh has quit IRC22:19
*** AlexeyAbashkin has joined #openstack-mistral22:20
*** AlexeyAbashkin has quit IRC22:25
*** katkapilatova has quit IRC22:36
*** AlexeyAbashkin has joined #openstack-mistral23:20
*** AlexeyAbashkin has quit IRC23:24

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