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 patch separates out the test cases related to thread group manager
and the service engine itself.
Change-Id: I8b2f28f3796d611d72c42ae57e6f19f8bec71d42
This is to prevent the decrypted values from being written to the
database.
Change-Id: Iab8d4d737e3fd839a12d8782367ff0b731f93fe7
Closes-Bug: #1463929
Co-Authored-By: Thomas Herve <therve@redhat.com>
This doesn't change behaviour - it was implicitly returning None before -
but it makes the code a lot easier to read because it is now clear that we
can return None if the property is not required, does not have a default,
and is not specified by the user.
Change-Id: I7b4a177fde0b3acf7ea55a44e9fc60e716c0f7b1
Adds required unit test cases for the keystone group
in the keystone client plug-in
Closes-Bug: #1463267
Change-Id: I5e09e2c797701483d0a85d33fad37f8481458f8c
Adds required unit test cases for the keystone domain
in the keystone client plug-in
Partial-Bug: #1463267
Change-Id: I75e07158588827456eaf0448b5b47d25d788ce16
Adds required unit test cases for the keystone project
in the keystone client plug-in
Partial-Bug: #1463267
Change-Id: Id29274d1419fd89fa2e0d8474a580e67db5622d7
Adds required unit test cases for the keystone role
in the keystone client plug-in
Partial-Bug: #1463267
Change-Id: I2c0d88882d441537c1b2280b401b7034a1174eb8
This change relocates the mistral resources from the contrib area into the main
resource tree. It was originally added to contrib/ because of the project's
incubation status, and more specifically because the client is not in the
global-requirements.txt file. However, when this was discussed at the summit in
Vancouver, the decision was to move the resources to main tree but skip
registration if the client is not installed. This will save users from the
trouble of installing it as a plugin.
Change-Id: I6eeef5fa2b080df610e52620d2b935450d8d49e3