Commit Graph

7 Commits

Author SHA1 Message Date
Felipe Reyes 13a728d262 Add logging 2023-09-27 23:33:05 -03:00
Liam Young 17234c9e15 Respect model in get_swift_storage_topology
Change 0af4c93d causes the target model to be ignored when a
model_name was specified. This in turn is causing the swift
cmr tests to fail as an ip of None is being recorded for
units in a different model.
2022-09-02 14:17:07 +00:00
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
Drew Freiberger 35e4079ff6 Add functional testing of remove-devices action
Refactored some swift-proxy ring query utilities for new tests
2020-06-19 11:07:26 -05:00
Liam Young 2c9e9739d6 Fix name of swift storage-region option 2019-12-17 11:57:23 +00:00
Liam Young f1092b0811 Doc string fixes 2019-12-04 10:24:04 +00:00
Liam Young d2904e228d Add Swift Global Replication Tests 2019-11-29 11:47:43 +00:00