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.
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
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.
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.
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.