Thursday, 2018-11-08

*** bobh has joined #openstack-mistral01:12
*** bobh has quit IRC01:28
*** bobh has joined #openstack-mistral02:49
rakhmerovd0ugal: I did03:43
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor action execution checker without using scheduler  https://review.openstack.org/61609603:54
*** bobh has quit IRC03:55
*** bobh has joined #openstack-mistral04:08
*** bobh has quit IRC04:10
*** apetrich has quit IRC04:45
*** apetrich has joined #openstack-mistral04:46
openstackgerritAyub Massalha proposed openstack/mistral master: Updating the execution_expiration_policy.batch_size to 1000  https://review.openstack.org/61641404:58
*** akovi has joined #openstack-mistral05:21
*** jtomasek has joined #openstack-mistral08:18
*** shardy has joined #openstack-mistral09:22
rakhmerovapetrich: thanks for reviewing!09:28
apetrichrakhmerov, no worries. I was trying to finish them yesterday09:28
apetrichrakhmerov, I'm almost done on the last one09:29
rakhmerovok09:49
therved0ugal: I have some questions about the action expirer if you're around09:57
rakhmerovtherve: hi, I might be able to help too or akovi09:58
therverakhmerov: Hey thanks09:59
therverakhmerov: I've seen some weird behavior when it finds a stuck action09:59
therverakhmerov: Does it resume the action?09:59
rakhmerovwhat do you mean by "stuck"? When it's running for too long?09:59
rakhmerovit can only move it to ERROR state after it sees that a configure number of heartbeats are missed10:00
therverakhmerov: When it's detected as expired by the action executino checker10:00
rakhmerovyes10:00
rakhmerovit fails them10:00
therveI've seen something where it fails the current tasks, but goes on the next task in the execution10:01
rakhmerovconsidering them hopeless to ever finish10:02
rakhmerovif this failed task has "on-error" or "on-complete" (or one of those things in task-defaults) then it's possible, yes10:02
d0ugaltherve: here now, was just getting coffee10:03
d0ugaltherve: but it looks like you might have gotten the answer you needed. Do you have an exxample?10:03
therved0ugal: Yeah it's a tripleo action10:03
therveThe issue is that the on_error references <% execution() %>10:04
d0ugalaha10:04
therveAnd that fails in a broken way in that case10:04
d0ugalMakes sense10:04
rakhmerovtherve: fails with what error?10:04
d0ugaltherve: Do we know why it is considered expired? I thought that only happened if the executor crashed/restarted10:05
rakhmerovthe expression looks OK to me, it's supposed to return a dict with the current wf execution info10:05
therverakhmerov: "WorkflowExecution not found"10:05
therved0ugal: Yes I think the executor restarted10:06
d0ugalI guess execution is missing from the context10:06
d0ugalhmm, but maybe not10:06
rakhmerovd0ugal: not necessarily, it can just be running for too long (longer than heartbeat checking interval multiplied by max missed heartbeats set in the config)10:06
* d0ugal digs into the code10:06
rakhmerovbecause, e.g., the executor is too busy10:07
d0ugaloh, what is the default max?10:07
*** shardy has quit IRC10:07
rakhmerov15 afaik10:07
d0ugalmax_missed_heartbeats * check_interval?10:07
rakhmerovyep10:07
d0ugalso that is only 300 seconds10:08
rakhmerovyes10:08
rakhmerovbut there's also another option first_heartbeat_timeout10:08
rakhmerovwhich is 3600 by default10:08
d0ugalRight10:08
rakhmerovthe first heartbeat is OK to come within an hour10:08
rakhmerovwhich is quite reasonable because executors might be busy and don't spread load evenly enough10:09
*** shardy has joined #openstack-mistral10:09
d0ugalrakhmerov: so an individual action can't take longer than 65 mins (by default)?10:09
rakhmerovI guess for most cases 3600 is too big value though10:09
d0ugalyeah10:09
rakhmerovd0ugal: right10:09
d0ugalWe run ansible playbooks in actions - I am not sure how long they can take10:10
d0ugalbut I suspect some of them could be slow10:10
rakhmerovtherve: hah, interesting.. "WorkflowExecution not found" is probably a different issue10:10
rakhmerovd0ugal: yeah10:10
*** jrist has quit IRC10:14
*** shardy has quit IRC10:14
*** jrist has joined #openstack-mistral10:16
*** shardy has joined #openstack-mistral10:19
*** shardy has quit IRC10:38
*** shardy has joined #openstack-mistral10:39
*** shardy has quit IRC10:44
vgvolegHi everyone! Just registered a little blueprint, please give some feedback https://blueprints.launchpad.net/mistral/+spec/mistral-getting-execution-with-specific-list-of-fields11:18
openstackgerritRenat Akhmerov proposed openstack/mistral master: Allow None for 'params' when starting a workflow execution  https://review.openstack.org/61654913:55
openstackgerritRenat Akhmerov proposed openstack/mistral master: Allow None for 'params' when starting a workflow execution  https://review.openstack.org/61654914:01
*** jtomasek has quit IRC14:02
*** akovi has quit IRC14:02
*** jaosorior has quit IRC14:02
*** mmethot has quit IRC14:02
*** mmethot has joined #openstack-mistral14:04
*** jtomasek has joined #openstack-mistral14:04
*** jaosorior has joined #openstack-mistral14:08
*** bobh has joined #openstack-mistral14:16
*** shardy has joined #openstack-mistral15:08
*** shardy has quit IRC15:09
*** shardy has joined #openstack-mistral15:09
*** shardy has quit IRC15:09
*** shardy has joined #openstack-mistral15:11
*** shardy has quit IRC15:40
d0ugalvgvoleg: That sounds like a good addition to me17:03
*** irclogbot_1 has quit IRC17:31
openstackgerritMerged openstack/mistral master: Improve workflow completion logic by removing periodic jobs  https://review.openstack.org/60780717:43
*** irclogbot_1 has joined #openstack-mistral18:02
*** irclogbot_1 has quit IRC18:05
*** edleafe_ has joined #openstack-mistral18:22
openstackgerritRenat Akhmerov proposed openstack/mistral stable/rocky: Improve workflow completion logic by removing periodic jobs  https://review.openstack.org/61665818:26
*** irclogbot_1 has joined #openstack-mistral18:27
openstackgerritRenat Akhmerov proposed openstack/mistral master: Add batch size for integrity checker  https://review.openstack.org/61572018:27
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor action execution checker without using scheduler  https://review.openstack.org/61609618:27
*** bobh has quit IRC18:29
*** irclogbot_1 has quit IRC18:32
*** irclogbot_1 has joined #openstack-mistral18:37
*** jtomasek has quit IRC20:05
openstackgerritOleg Ovcharuk proposed openstack/mistral master: Support getting execution by id with specific list of fields  https://review.openstack.org/61669321:09

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