The oslo-incubator log modlule has been removed, so port to the oslo_log
library. Note this uses the new (non namespaced, e.g oslo.log) import
convention, we'll need to align other imports in a future commit.
Some import reordering was required due to pedantic H30 checks, and
the services have all been converted to initialize the oslo_log library
as this is done differently to the log.py in incubator.
Adds required REST API, Db model and engine service
changes for reporting the heat engine service status.
Implements: blueprint heat-manage-service-list
Common db code was updated in oslo. The most important thing is that
engine instances don't stored anymore in oslo.db - ce69e7f.
This patch moves methods `get_engine` and `get_session` to module
Latest commit in oslo related to db module:
Follow oslo.config style guide for help strings better to create
consistent help strings:
* Capitalize first word of each help string
* Finish help strings with "."
* Improve wording
* Add missing space between strings
heat-manage db_sync is currently broken because
heat is trying to use two backends with the Oslo DB
api which is configurable via heat.conf where only
a single DB api can be specified.
Currently this defaults to:
#The backend to use for db (string value)
To fix things we:
1) merge heat/db/migration.py into heat/db/api.py.
2) Add db_sync and db_version calls to heat/db/sqlalchemy/api.py
which call into the functions in heat/db/sqlalchemy/migration.py.
3) Remove the old heat/db/migration.py module (no longer needed).
In the process we also move the INIT_VERSION constant into
heat/db/sqlalchemy/api.py where it is actually used
anyway. (it probably shouldn't have been in the higher level
migration module to begin with)
This should fix SmokeStack which stopped working last Wednesday
Oslo version 96d1f887dda21b43ba4376187f31953dee6f5273
This commit just migrates Heat to new db related code from Oslo
Partially implements blueprint oslo-db-support
Add a purge_deleted command to heat-manage. The command takes an
'age' argument, and removes all database records that have been soft
deleted for more than 'age' days. Default to 90.
Fixes bug 1184923
because prog was missing the CONF object was looking for
the config file in /etc/heat/heat.conf this should have