Commit Graph

8 Commits

Author SHA1 Message Date
Alex Kavanagh 0af4c93d52 Switch unit.public_address to unit.get_public_address()
Due to the bug [1] on OpenStack providers, unit.public_address doesn't
actually work reliably.  The fix [2] is only for the async function
unit.get_public_address().  Sadly, zaza relied on unit.public_address
and so it needs this patch for juju 2.9 support on OpenStack providers.

This patch relies on an associated patch in zaza [3]; thus this will
fails its tests until that passes.

[1]: https://github.com/juju/python-libjuju/issues/551
[2]: https://github.com/juju/python-libjuju/pull/600
[3]: https://github.com/openstack-charmers/zaza/pull/468
2022-01-14 15:21:32 +00:00
Liam Young d689fb91fc Add retries when accessing Ceph dashboard (#646) 2021-10-04 12:16:43 +01:00
Liam Young 6918f9ebb3 Extend Ceph Dashboards tests to check ceph services are registered (#643) 2021-10-03 16:13:50 +01:00
Liam Young 36d85aece5 Pacific requires client to set accepted api version 2021-09-08 13:34:30 +00:00
Liam Young 5993f3f2c5 Dashboard test updates
Verify CA now that bug is fix released *1.
Check logging in to the dashbaord works
Use a random username for tests so a test reruns work.

*1 https://bugs.launchpad.net/cloud-archive/+bug/1933410
2021-09-06 12:17:41 +00:00
Liam Young 5baf16237f Add certificate check for Ceph dashboard
Add setup step for the dashboard which will block until the
certificates are present and the model is idle. This is to prevent
the tests from continuing when the certificates are not ready.
Also up CephDashboardTest to use standard tools for collecting
ca cert.
2021-08-31 17:24:15 +00:00
Liam Young 7cec6a27b5 Fix doc string 2021-06-24 11:57:21 +00:00
Liam Young 110df7f2c7 Add very basic ceph dashboard tests. 2021-06-24 09:19:34 +00:00