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 |
|