This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I5b4bdcb674b58ab419d00ca9c6bff105ce19aca8
hiera_cmd used to output internal node names like "node-$i"
even if there are user-defined hostnames set. This breaks
DB-related checks when hostnames are customized.
The fix is to return not "database_nodes" keys, but
the value of "name" key in each "database_nodes"
subhash.
Change-Id: I9fbcfc270ab17d6302ce0a785c96f5b44fc9e75d
Co-Authored-By: Omar Rivera <gr113x@att.com>
Closes-Bug: #1582800
- Get controller ip only if there are online controllers
- Skip mysql ha tests if all controllers are offline
Change-Id: I44853c6de7914778206dab9b494ddb3385e600f7
Closes-Bug: #1550236
- Since all clusters share the same ostf instance
we can face problems after upgrade when 7.0 tests
don't work with old release clusters. Add check that
if release is before 7.0 - use controllers in HA tests
Change-Id: I4d37c8f1ef4a7c3ae607f39450c122c34bec43ac
Closes-Bug: #1489462
After reverting https://review.openstack.org/#/c/213625/ we need to
re-implement this fix with additional changes
Code optimization should be removed because unittest2 marks test
as failed if skipTest method is not called from test
Closes-bug:#1485448
Change-Id: Id7c6ac24fd88c9b73962636b081714a1aeaf9985
Return controllers as database nodes if variable
"database_nodes" is not defined in hiera or empty
Change-Id: If2bc1bd6d2614a32c42fb049fbc9b4eebc9cf212
Closes-bug:#1485448
Rertieve data about mysql hosts from hiera instead of hardcoded controllers
Change-Id: I139d186288b6d05a185c878b0d5c1c21c581af69
Implements: blueprint ostf-separate-services-refactor
Change file name from test_sanity mysql to test_mysql status
to avoid wrong discovery order
Related-Bug: #1438735
Change-Id: Ia08eb551389fafe7a2e0f9247f4b5c61f3edf80a