Commit Graph

20 Commits

Author SHA1 Message Date
Liam Young af856138ee Increase wait time for guest to boot.
Zaza seems to currently wait for 64+32+16+8+4+2+1 seconds (127) for
a guest to boot. This is not quite enough sometimes, so increase
this to 511 seconds.
2019-09-23 15:15:11 +01:00
Frode Nordahl caed1ceeb3 Use UTC when calculating certificate validity
The current usage of ``datetime.today()`` is at the grace of the
locale settings of the test executor and the instances spun up.

The ``cryptography.x509.CertificateBuilder`` ``not_valud_before``
and ``not_valid_after`` attributes do expect [0] a UTC datetime.

0: https://cryptography.io/en/latest/x509/reference/#cryptography.x509.CertificateBuilder
2019-09-10 12:14:52 +02:00
Chris MacNaughton 52a26a9254 Update versions to include Train 2019-09-02 16:09:42 +02:00
Ryan Beisner c77bf176d7 Consume the http proxy info using the new OS_ env var fmt 2019-08-29 12:43:46 -05:00
Alex Kavanagh f06b957081 Fix issue that it's a unit rather than app
This matches on an unit, rather than an app, which  was the original
intention.
2019-08-05 09:31:05 +01:00
Alex Kavanagh 14f0f53e49 Add a subordinate blacklist for pausing services
During the series upgrade tests, zaza pauses subordinate services.
However, the cinder-ceph charm has no pause/resume action, and so the
test fails.  This PR adds a blacklist that ensures that the cinder-ceph
subordinate is not paused during series upgrade.
2019-08-04 15:40:38 +01:00
David Ames 1de731a70f Ceilometer is in a blocked state until action run
For a full stack deployment ceilometer will be in a blocked state waiting
on the ceilometer-action run.

Add this to the workload exceptions dict.
2019-08-01 10:18:59 -07:00
David Ames 81604c399b Review requests for Liam 2019-07-17 11:07:52 -07:00
lolwww 6678a4e5bc Fix indents for pep8 2019-06-28 00:02:52 +03:00
lolwww 514d113365 Add check for volume backup_driver, remove unneeded code 2019-06-27 23:43:17 +03:00
lolwww 6dcc83af87 Fix retry for delete_volume method 2019-06-26 13:26:33 +03:00
lolwww 6180153bbe Adding delete_volume methods to openstack utilities 2019-06-26 01:03:58 +03:00
lolwww 4f234eb0aa Add cinder-backup-swift tests 2019-06-25 14:15:23 +03:00
Frode Nordahl eafa0036f7 Allow passing custom security group rules 2019-06-21 14:41:16 +02:00
Chris MacNaughton 045c50637b Add a new SSH function
It is likely that there are other commands that we
would like to run in our tests, so this is a new SSH
command runner that the existing SSH check has been
updated to use.
2019-06-06 13:46:06 +02:00
Liam Young 748d1ba6e1 Remove erroneous print message (#12) 2019-05-23 12:01:41 +02:00
Liam Young 648ac9262b Expose resource_removeds retry options (#11)
resource_removed is used in many places to monitor removal of
different kinds of OpenStack resource. It is reasonable to expect a
flavor to be removed in a few seconds where as an image based instance
may take minutes to be removed. With that in mind this change
exposes the retry options used by tenacity allowing the caller to
set reasonable expectations for the resource removal.
2019-05-23 11:16:03 +02:00
Liam Young 6dad655b5d Avoid adding duplicate handler (#4)
If a logging handler has already been added don't add it again.
2019-05-14 15:31:55 +02:00
Liam Young 6b2c1d26eb Add function for getting keystone auth from relation 2019-05-13 09:06:40 +00:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00