heat/heat/scaling
huangtianhua 5b04acb4e2 To reset metadata for resources when mark unhealthy
Some resources do not work if their metadata is in
a wrong state, .e.g the metadata 'scaling_in_progress'
of scaling group/policy might be always True if engine
restarts while scaling.
This patch adds an interface 'handle_metadata_reset' for
resource, then the plugins can override it if needed.
We reset the metadata while marking resource healthy.

Change-Id: Ibd6c18acf6f3f24cf9bf16a524127850968062bc
Closes-Bug: #1651084
2017-01-04 11:18:00 +00:00
..
__init__.py Move resource_templates to heat.scaling 2014-02-06 22:53:28 +00:00
cooldown.py To reset metadata for resources when mark unhealthy 2017-01-04 11:18:00 +00:00
lbutils.py Fix [H405] pep rule in heat/scaling 2015-09-21 14:51:45 +03:00
rolling_update.py Fix [H405] pep rule in heat/scaling 2015-09-21 14:51:45 +03:00
scalingutil.py Fix [H405] pep rule in heat/scaling 2015-09-21 14:51:45 +03:00
template.py Fix [H405] pep rule in heat/scaling 2015-09-21 14:51:45 +03:00