Commit Graph

11 Commits

Author SHA1 Message Date
Liam Young 7fe5b88a69 Move wait_for_url and rename wait_for_client 2023-12-04 13:18:08 +00:00
Liam Young 969c6a8a7b Make wait_for_endpoints more robust.
As seen in Bug #2045206 wait_for_endpoints can fails if keystone
is in a transient state. This change puts tenacity around the
keystone client setup to make it more resilient.

Closes-Bug: 2045206
2023-12-01 14:42:56 +00:00
Liam Young ea7025c058 Allow 401s when checking endpoints
Some endpoints (heat) return 401s if you try and access them
without authenticating. Given the ep has been able to verify
whether you are authenticated a 401 is ok for a rudementary
health check
2023-10-06 04:56:25 +00:00
Liam Young 89fd74c5db Add method to check OpenStack endpoints (#953)
* Add method to check OpenStack endpoints

Add method to check OpenStack endpoints are returning acceptable
http codes. This should be used with caution as a charm whould
indicate if its payload is not ready via workload status and
workload status messages

* Fix dox string
2022-10-14 12:59:26 +01:00
Liam Young 24fbc068c9 Correct args to block_until_ca_exists 2021-01-24 15:27:06 +00:00
Liam Young a20733cd14 Refactor ca functions 2021-01-24 14:31:29 +00:00
Liam Young a828774c48 Handle change of CA cert.
Closes issue #487
2021-01-23 16:17:54 +00:00
Liam Young 8f44ab681a Add wait_for_cacert
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.
2020-07-07 09:03:36 +00:00
Corey Bryant 4e993e4251 Move add_tempest_roles to keystone setup.py 2020-06-05 19:42:25 +00:00
David Ames 827032b1c6 Standardize preferred-api-version as an int 2020-02-06 13:16:34 -08:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00