SAML Mellon tests have been broken on Focal. The handling of the region
selection behaves differently from bionic. Or it may be that bionic
accidentally was working by seeing a string as int 0.
Horizon has a "default" region which returns the keystone URL.
A recent change to allow multiple zazas to run at the same time fixed
the cacert file into a local 'tests/' directory. Unfortunately, that
doesn't exist for every environment where zaza runs (e.g. mojo) and so
this patch ensures that the path exists prior to trying to download into
it.
When creating an Arista-backed Neutron network, the API call from Neutron
to Arista sometimes spuriously fails. This is not fatal and Neutron
simply retries a few seconds later. The tests now account for that.
Add a ceph_ready config step which just checks that the ceph units
are in a 'active' 'Unit is Ready.*' state. This is useful when
encryption at rest is being used and the tests.yaml assumes that
the units are going to come up blocked. Once vault is ready the
tests then need to wait for the ceph units to become unblocked.
Fix paramiko.ssh_exception.BadAuthenticationType when SSHing to a new Ubuntu instance.
Note that paramiko still has a few issues around authentication:
https://github.com/paramiko/paramiko/pull/1106/files
This paramiko PR also shows that password='' isn't the same as
password=None
On a recent mosci run the guest used for a restart test had a
pending power task which stopped the restart test working properly.
This PR adds an assertion that the guest is ready.
wait_for_cacert will wait for keystone to recieve and install
a cacert. This is particularly useful when the certificate
issuer is in a different model.
When vault is in its own model with no clients then vault needs
to be initialised without waiting for clients to start executing
and without validating a client has recieved the cert. To achieve
this, this PR adds auto_initialize_no_validation_no_wait.
Ensure that the CA cert for the deployment is passed to
requests when retrieving stream data from swift.
Refresh the product catalog entry on each attempt to retrieve
stream data as the URL will update once data was been written
to the swift endpoint in the deployment.
Retry on KeyError and drop number of retry attempts
Add a log message to detail URL being used for product-stream data
Log return data from streams endpoint
Fixup endpoint resolution
At present the shared resource cleanup method is a class method.
This will prohibit descendents of the class to influence whether
cleanup should be run.
Remove the @classmethod decorator so that it will make its
descisions based on class instance variables set by the
descendent.
Since commit c98aa001f9, there are some
missing changes.
This stops the API check on Ocata when gnocchi is in play. Gnocchi must
be in play for Ocata but heretofore has not been.