*** ricolin has joined #heat | 00:58 | |
*** mhen has quit IRC | 01:13 | |
*** spsurya has joined #heat | 01:14 | |
*** ramishra has joined #heat | 01:51 | |
*** ramishra has quit IRC | 03:30 | |
*** ramishra has joined #heat | 03:39 | |
*** skramaja has joined #heat | 04:41 | |
*** zaneb has quit IRC | 05:04 | |
*** zbitter has joined #heat | 05:04 | |
*** e0ne has joined #heat | 05:13 | |
*** e0ne has quit IRC | 05:27 | |
*** jtomasek has joined #heat | 05:36 | |
*** zhurong has joined #heat | 06:12 | |
openstackgerrit | lidong proposed openstack/heat master: Firewall creation failed due to "INACTIVE" https://review.opendev.org/676384 | 06:29 |
---|---|---|
*** mhen has joined #heat | 06:34 | |
mhen | hello, can somebody tell me how Heat aggregates the events for stacks? | 06:34 |
mhen | is it simply polling the APIs (Nova, Cinder etc.) in a regular interval and recording the states of individual resources? | 06:35 |
ramishra | mhen: those are heat events and not polled from other services, we keep a event log in the database and write to it at different times in the process of resource actions | 07:20 |
ramishra | if you're talking about heat events api | 07:22 |
*** jtomasek has quit IRC | 07:25 | |
mhen | ramishra, thanks, yes I'm talking about this API | 07:28 |
mhen | how does Heat determine the state of resources if it is not polling the other APIs? | 07:28 |
ramishra | yes it does api calls for getting the status of the async resource operations, if that's what you mean | 07:31 |
mhen | what I'm wondering is, let's say a Nova server resource transitions between multiple states A > B > C in the process of a task on that resource, how is Heat made aware of each transition? | 07:40 |
ramishra | We don't keep track of all nova server states, we've basically have four states(status) for heat resources INIT, IN_PROGRESS, COMPLETE, FAILED, we translate nova server states to heat resource states | 07:45 |
ramishra | https://github.com/openstack/heat/blob/master/heat/engine/resource.py#L969-L986 we keep polling for the status (check_*_complete method diff for every resource), if there is an error we mark it as FAILED | 07:47 |
ramishra | https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/nova/server.py#L890-L896 for nova server create | 07:48 |
ramishra | https://docs.openstack.org/heat/latest/developing_guides/pluginguide.html#life-cycle-handler-methods should help you understand the lifecycle | 07:49 |
mhen | ramishra, I see now. That has been most helpful, thanks a lot! | 07:51 |
*** e0ne has joined #heat | 07:52 | |
ramishra | just a correction there are 3 statuses (IN_PROGRESS, COMPLETE, FAILED) INIT is an action like CREATE/UPDATE/DELETE not an status | 07:53 |
mhen | ramishra, alright, thanks for the clarification :) | 08:01 |
*** ivve has joined #heat | 08:07 | |
openstackgerrit | Jens Harbott (frickler) proposed openstack/heat master: Stop requiring an identity admin endpoint https://review.opendev.org/675778 | 10:34 |
*** jtomasek has joined #heat | 11:03 | |
*** gfidente has joined #heat | 11:04 | |
*** skramaja has quit IRC | 12:03 | |
*** zbitter is now known as zaneb | 13:23 | |
*** zaneb has quit IRC | 13:55 | |
*** hjensas has quit IRC | 13:56 | |
*** cliffparsons has quit IRC | 14:10 | |
*** bnemec is now known as beekneemech | 14:48 | |
*** ivve has quit IRC | 14:57 | |
*** ramishra has quit IRC | 15:14 | |
*** e0ne has quit IRC | 15:58 | |
*** bnemec has joined #heat | 16:19 | |
*** beekneemech has quit IRC | 16:19 | |
*** bnemec is now known as beekneemech | 16:20 | |
*** beekneemech has quit IRC | 16:32 | |
*** bnemec has joined #heat | 16:35 | |
*** bnemec has quit IRC | 16:44 | |
*** bnemec has joined #heat | 16:45 | |
*** gfidente has quit IRC | 16:48 | |
*** ivve has joined #heat | 16:49 | |
*** ivve has quit IRC | 16:49 | |
*** bnemec has quit IRC | 17:02 | |
*** bnemec has joined #heat | 17:03 | |
*** ivve has joined #heat | 17:09 | |
*** bnemec has quit IRC | 17:14 | |
*** bnemec has joined #heat | 17:15 | |
*** bnemec has quit IRC | 17:31 | |
*** bnemec has joined #heat | 17:34 | |
*** bnemec has quit IRC | 17:40 | |
*** bnemec has joined #heat | 17:42 | |
*** jtomasek has quit IRC | 17:53 | |
*** ivve has quit IRC | 18:07 | |
*** ricolin has quit IRC | 18:24 | |
*** zaneb has joined #heat | 18:29 | |
*** jcoufal has joined #heat | 18:39 | |
*** jcoufal has quit IRC | 19:01 | |
*** bnemec is now known as beekneemech | 20:14 | |
*** spsurya has quit IRC | 22:23 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!