Friday, 2017-09-22

*** yangyapeng has quit IRC00:04
*** yangyapeng has joined #openstack-mistral00:05
*** yangyapeng has quit IRC00:09
*** zhurong has joined #openstack-mistral00:39
*** yangyapeng has joined #openstack-mistral01:13
*** yangyapeng has quit IRC01:14
*** yangyapeng has joined #openstack-mistral01:14
*** rbrady has quit IRC01:15
*** rbrady has joined #openstack-mistral01:28
*** rbrady has quit IRC01:28
*** rbrady has joined #openstack-mistral01:28
rakhmerovmattybrennan: yes, graceful executor shutdown is on our roadmap01:35
rakhmerovit's not fully implemented yet01:36
*** yangyapeng has quit IRC01:38
*** yangyapeng has joined #openstack-mistral01:39
*** yangyapeng has quit IRC01:42
*** yangyapeng has joined #openstack-mistral01:43
*** yangyape_ has joined #openstack-mistral01:45
*** yangyapeng has quit IRC01:47
*** malcomX527 has joined #openstack-mistral01:55
*** malcomX527 has quit IRC01:55
*** gkadam has quit IRC01:59
*** rbrady has quit IRC02:18
*** gkadam has joined #openstack-mistral03:13
*** bobh has joined #openstack-mistral03:31
*** bobh has quit IRC03:43
*** dougshelley66 has joined #openstack-mistral04:00
*** rbrady has joined #openstack-mistral04:08
*** yangyape_ has quit IRC04:29
*** yangyapeng has joined #openstack-mistral04:30
*** yangyapeng has quit IRC04:34
openstackgerritRenat Akhmerov proposed openstack/mistral master: Replace @loopingcall.RetryDecorator with @tenacity.retry  https://review.openstack.org/50652304:46
*** yangyapeng has joined #openstack-mistral05:20
*** zhurong has quit IRC06:32
openstackgerritDougal Matthews proposed openstack/mistral master: Add actions for the ironic virtual network interface commands  https://review.openstack.org/50626406:55
openstackgerritDougal Matthews proposed openstack/mistral master: Add the Ironic wait_for_provision_state action  https://review.openstack.org/50626806:55
d0ugalrakhmerov: hey, so I didn't manage to make much progress with it yesterday07:00
openstackgerritDougal Matthews proposed openstack/mistral master: [WIP] Pass the new ActionContext to mistral-lib  https://review.openstack.org/50618507:03
rakhmerovd0ugal: hi07:09
rakhmerovsorry, just got to answering your question07:10
rakhmerovin case you still have time today to work on it, here's what I think07:10
d0ugalrakhmerov: I have a bit of time, but I'm feeling less confident about finishing it this week :)07:10
rakhmerovthat's ok07:11
rakhmerovso, https://github.com/openstack/mistral/blob/master/mistral/engine/actions.py#L33807:11
d0ugalI am also trying to figure out another issue, cron triggered workflows seem to have a different context passed to actions.07:11
rakhmerovthis is the place where we need to prepare this action context to pass it to executor07:11
rakhmerovwooow07:11
rakhmerovthat may be actually07:11
rakhmerovyes07:11
rakhmerovNikolay seems to have fixed something related to this07:12
d0ugalYeah, I remeber that but it seems to be back.07:12
rakhmerovhah07:12
rakhmerovbad07:12
rakhmerovso, on that actions thing.. This "rpc_ctx" parameter gets passed implicitly by RPC layer07:12
d0ugalright07:13
d0ugalthat is why I couldn't track it down :)07:13
*** zhurong has joined #openstack-mistral07:13
rakhmerovI'm thinking may be we just need to insert our execution context right into our auth context?07:13
rakhmerovtaken as mistral.context.ctx()07:13
rakhmerov?07:13
d0ugalugh, so we just add more to the context?07:13
rakhmerovkind of07:13
rakhmerovyes07:13
d0ugalseems a bit hacky07:13
rakhmerovwe can just use some special key07:14
rakhmerovlike __execution_context07:14
rakhmerovyeah, hacky, I agree07:14
rakhmerovbut not sure how else we can easily get this07:14
rakhmerovotherwise, I think we'll have to change throughout the code what context.ctx() returns07:15
d0ugalRight07:15
rakhmerovnot just what it returns, rather how all the code uses it07:15
rakhmerovyes, we could probably create a more generic context including auth context and, if needed, execution context07:16
rakhmerov(basically what we're planning for mistral-lib)07:16
rakhmerovbut it's going to be a big change I think07:16
rakhmerovor somehow alter RPC's behavior07:17
rakhmerovdon't know yet how07:17
rakhmerovand we also need to keep in mind that it should be agnostic of oslo.messaging RPC07:17
rakhmerovwe can also use direct Kombu RPC07:17
rakhmerovthat's what I have in mind07:17
d0ugalright, makes sense07:18
d0ugalI guess a hack for now is enough :)07:18
d0ugalJust reading this code to try and get my head around your suggestion.07:18
d0ugalrakhmerov: any idea why we create an empty context here? https://github.com/openstack/mistral/blob/b8d1e096e4cd5869e868cb7ad7101c52f93ea7d1/mistral/services/periodic.py#L141-L14607:45
d0ugalrakhmerov: I think having a global context is probably a design flaw, it would be much harder to have bugs like this cron-trigger one otherwise07:50
d0ugalbut I realise changing that now would be tricky :)07:51
*** jpich has joined #openstack-mistral07:53
rakhmerovd0ugal: nope, I don't remember why08:01
*** weshay_bbiab has quit IRC08:05
*** toure_biab has quit IRC08:05
*** harlowja has quit IRC08:06
*** toure has joined #openstack-mistral08:07
*** weshay has joined #openstack-mistral08:11
rakhmerovd0ugal: before you leave, could you please look at https://review.openstack.org/#/c/506523/ which is pretty tiny but very important for stability08:51
rakhmerov?08:51
rakhmerovd0ugal: it fixes that problem with the decorator I found yesterday08:51
*** livelace has joined #openstack-mistral09:03
d0ugalrakhmerov: sure09:06
d0ugalrakhmerov: LGTM09:09
rakhmerovthanks!09:10
d0ugalrakhmerov: Can you look at https://review.openstack.org/#/c/480587/09:10
rakhmerovyes09:10
d0ugalThanks :)09:11
rakhmerovooh, the topic looks interesting )09:12
rakhmerovand it's already merged )09:12
d0ugalumm09:12
d0ugalrakhmerov: sorry, I meant https://review.openstack.org/#/c/506264/209:13
rakhmerovooh09:13
rakhmerov:)09:13
d0ugalhaha, no idea how I copied that other one.09:13
rakhmerovok09:13
rakhmerovdone09:16
d0ugalrakhmerov: thanks.09:17
*** livelace has quit IRC09:19
*** yangyapeng has quit IRC10:09
*** yangyapeng has joined #openstack-mistral10:09
*** yangyapeng has quit IRC10:14
*** chlong has quit IRC10:16
*** zhurong has quit IRC10:39
*** d0ugal has quit IRC10:48
*** d0ugal has joined #openstack-mistral10:48
*** d0ugal has quit IRC10:48
openstackgerritMerged openstack/mistral master: Replace @loopingcall.RetryDecorator with @tenacity.retry  https://review.openstack.org/50652310:59
*** niraj_singh has quit IRC11:34
*** yangyapeng has joined #openstack-mistral11:47
*** bobh has joined #openstack-mistral11:48
*** thrash|g0ne is now known as thrash12:00
*** bobh has quit IRC12:17
*** dprince has joined #openstack-mistral12:24
*** gkadam has quit IRC12:31
*** jaosorior has quit IRC12:40
*** katkapilatova_ has joined #openstack-mistral12:45
*** katkapilatova has quit IRC12:46
*** katkapilatova_ is now known as katkapilatova12:46
*** bobh has joined #openstack-mistral12:48
*** catintheroof has joined #openstack-mistral12:50
*** katkapilatova has quit IRC13:08
*** katkapilatova has joined #openstack-mistral13:10
openstackgerritToure Dunnon proposed openstack/mistral master: [WIP] Running new workflow based on an existing execution.  https://review.openstack.org/50665213:11
*** rbrady has quit IRC13:14
openstackgerritToure Dunnon proposed openstack/python-mistralclient master: [WIP] Running new workflow based on existing execution.  https://review.openstack.org/50665313:18
tourerakhmerov so I gave it an initial try, shouldn't be to difficult to complete, will test it out today.13:20
tourerakhmerov https://review.openstack.org/506652  https://review.openstack.org/50665313:20
*** rbrady has joined #openstack-mistral13:35
*** rbrady has joined #openstack-mistral13:35
*** Dinesh_Bhor has quit IRC13:36
*** jkilpatr has quit IRC14:21
*** chlong has joined #openstack-mistral14:38
*** catintheroof has quit IRC14:42
*** thrash is now known as thrash|biab15:29
*** jpich has quit IRC16:14
*** shardy has quit IRC16:17
*** thrash|biab is now known as thrash16:41
*** weshay is now known as weshay_bbiab19:15
*** dprince has quit IRC19:20
openstackgerritBrad P. Crochet proposed openstack/mistral master: Update README with Keystone authtoken config  https://review.openstack.org/50676119:42
*** thrash is now known as thrash|bbl20:01
*** dprince has joined #openstack-mistral20:25
*** harlowja has joined #openstack-mistral21:23
*** dprince has quit IRC21:44
*** chlong has quit IRC21:51
*** bobh has quit IRC22:14
*** catintheroof has joined #openstack-mistral23:07
*** catintheroof has quit IRC23:55

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