[1chb1n, r=thedac] Amulet tests: add and enable known-passing U:OS targets (all but systemd-based); enable debug/verbose on deployed services to improve failure troubleshooting.

This commit is contained in:
David Ames 2015-12-18 10:23:07 -08:00
commit 97893f2a90
6 changed files with 55 additions and 0 deletions

11
tests/016-basic-trusty-juno Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/python
"""Amulet tests on a basic hacluster deployment on trusty-juno."""
from basic_deployment import HAClusterBasicDeployment
if __name__ == '__main__':
deployment = HAClusterBasicDeployment(series='trusty',
openstack='cloud:trusty-juno',
source='cloud:trusty-updates/juno')
deployment.run_tests()

11
tests/017-basic-trusty-kilo Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/python
"""Amulet tests on a basic hacluster deployment on trusty-kilo."""
from basic_deployment import HAClusterBasicDeployment
if __name__ == '__main__':
deployment = HAClusterBasicDeployment(series='trusty',
openstack='cloud:trusty-kilo',
source='cloud:trusty-updates/kilo')
deployment.run_tests()

View File

@ -0,0 +1,9 @@
#!/usr/bin/python
"""Amulet tests on a basic hacluster deployment on vivid-kilo."""
from basic_deployment import HAClusterBasicDeployment
if __name__ == '__main__':
deployment = HAClusterBasicDeployment(series='vivid')
deployment.run_tests()

11
tests/020-basic-trusty-liberty Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/python
"""Amulet tests on a basic hacluster deployment on trusty-liberty."""
from basic_deployment import HAClusterBasicDeployment
if __name__ == '__main__':
deployment = HAClusterBasicDeployment(series='trusty',
openstack='cloud:trusty-liberty',
source='cloud:trusty-updates/liberty')
deployment.run_tests()

View File

@ -0,0 +1,9 @@
#!/usr/bin/python
"""Amulet tests on a basic hacluster deployment on wily-liberty."""
from basic_deployment import HAClusterBasicDeployment
if __name__ == '__main__':
deployment = HAClusterBasicDeployment(series='wily')
deployment.run_tests()

View File

@ -58,9 +58,13 @@ class HAClusterBasicDeployment(OpenStackAmuletDeployment):
def _configure_services(self):
keystone_config = {'admin-password': 'openstack',
'admin-token': 'ubuntutesting',
'debug': 'true',
'verbose': 'true',
'vip': self._vip}
mysql_config = {'dataset-size': '50%'}
hacluster_config = {'debug': 'true'}
configs = {'keystone': keystone_config,
'hacluster': hacluster_config,
'mysql': mysql_config}
super(HAClusterBasicDeployment, self)._configure_services(configs)