This patch removes identical modules versions.py
in heat/api, moves this module to heat/api/versions.py
and fix imports for new path of module.
Change-Id: I9f92a9c07aaf5d2283af8642cdffc4c958e5b96b
Add type field to the schema of the heat resources.
Also added Integer type to attributes schema.
Change-Id: Icd09f28a29a52be1904f76887a37c7f17786c4a6
Implements: blueprint add-type-in-attributes-schema
There is no 'backup_id' data in snapshot if the cinder
volume snapshot failed. This patch will use 'get'
instead __getitem__ to get the 'backup_id' data to avoid
KeyError exception raise.
Change-Id: Iae7e22ccdaf8f48a85d90afac3a38011f14cbd34
Closes-Bug: #1465173
This resource was moved from contrib to the main tree and now is not
required to register this resource in tests.
Change-Id: Ib27af18f938fa82e6953f9c56312392059e60858
This patch moves registration of GenericResource to the main test class.
There are several places, where original registration was saved:
- heat/tests/autoscaling/test_lbutils.py - need to be consist with type
names of other resources which are used in test.
- heat/tests/test_environment.py - need special type name for testing
environment mapping.
- heat/tests/test_engine_service.py - need two different types fro mapping.
Change-Id: I33bdaf3d59e573526e5ffa24086ad55be6bbe6ae
If db throw any exceptions during service status report, service
will not report its status forever. This patch catch errors during
status report and log them in to log files.
Change-Id: I6775b3446caffabd3135d5e24098ab0ee31975ac
Closes-Bug: #1464188
After database migration 056, it became possible to have an environment
of None. Check that env is not None before looking inside it.
Change-Id: Ic498e8e630608886178df83d1e7a503525834573
Closes-Bug: #1464379
In an convergence enabled environment, when an stack-delete
action is completed, the stack was not soft deleted from DB.
This patch soft deletes the stack after all the required
stack-delete operations are completed.
Change-Id: I36d2b76223d3fc5f313b953b3976282d0923e92e
get_attr on a non-created resource returns an empty string
(rather than None). We should pass validation in this case.
Change-Id: I5a1d651cc7dc46162140210ebeacaa7519111c91
Closes-bug: 1451819
Updates required unit test cases for the keystone service
in the keystone client plug-in, with recent review comments
addressed in other keystone client plugin test cases.
Change-Id: Iabb176cf8f718d9eae4b4156979253085603424a
Related-Bug: #1463267
The requirements for manila client has been added (the version is
the same as global-requirements version). Also the manilaclient version
is introduced when creating a client.
Change-Id: Id487c94477e82addbb98e5402ae50f0151c87669
This column is never used. The logic to retrieve the previous template
for rollback is based on stack table's prev_template_id.
Change-Id: Ib0af21502d0cc94613b3963d6ccdeffbc8103f6b
This patch separates out the test cases related to thread group manager
and the service engine itself.
Change-Id: I8b2f28f3796d611d72c42ae57e6f19f8bec71d42