heat/heat
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
..
api Handle ambiguous physical resource IDs 2016-12-05 14:58:20 -05:00
cloudinit Validate that python3 is ready for loguserdata 2016-08-26 11:49:30 +00:00
cmd Sanitize newly added heat-manage command 2016-12-23 12:25:03 +00:00
common Merge "Add noauth middleware" 2016-12-15 22:08:45 +00:00
db Add resource_properties_data data migration 2016-12-22 10:28:34 -08:00
engine To reset metadata for resources when mark unhealthy 2017-01-04 11:18:00 +00:00
hacking Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
httpd Moved CORS middleware configuration into oslo-config-generator 2016-03-14 08:19:29 -07:00
locale Imported Translations from Zanata 2016-10-28 08:12:36 +00:00
objects Remove db.api wrapper 2016-12-13 09:40:29 +01:00
rpc Returns project info while getting sd with admin context 2016-12-23 01:13:38 +00:00
scaling To reset metadata for resources when mark unhealthy 2017-01-04 11:18:00 +00:00
tests To reset metadata for resources when mark unhealthy 2017-01-04 11:18:00 +00:00
__init__.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
version.py