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
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.
This is the 3rd change in the effort to deprecate
zaza.openstack.utilities.juju in favour of zaza.utilities.juju.
All functions now just wrap their equivalents in
zaza.utilities.juju and a decorator has been added which logs a
warning if the function is used.
charm-cinder supports units with a limited number of services running
(api/scheduler on a unit, volume service on another one). Functional
tests wait for all services to be restarted when a subset of them should
be observed.
Partial-Bug: #1779310
At present the overcloud CACERT is copied to /tmp and as such it
is not possbile to run multiple tests at once without them
stepping on each other.
Store the copy in a path relative to where the test is executed,
in line with how the SSH keys are stored etc.
Fixes#331
During some runs of functional testing, swift global replication would
only have 2 copies rather than 3 of the object that was just written.
This patch attempts to resolve the race condition and also adds ordering
to more recently added tests.
Closes-Bug: #1882247
Use action to complete initial image sync for the gss charm.
This avoids races where the images end up in the wrong locations
and allows the tests to actually know when images should be
discoverable.
Update tests to wait for at least four images (20.04 is synced
by default).
* Wait until a share status reaches 'available'
It appears to be that the test_manila_share test case does not wait
until a share becomes available which results in failures like this:
manilaclient.common.apiclient.exceptions.BadRequest: New access rules
cannot be applied while the share or any of its replicas or migration
copies lacks a valid host or is in an invalid state. (HTTP 400)
(Request-ID: req-8d609e13-9a80-428b-953b-17ab8d0e0cae)
Fixes: #309