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
Aurelien Lourot
57c8e0d91a
Retry on failures to download Arista image
...
In the pre-deploy step of our neutron-arista tests we download an
Arista image from our swift bucket. It sometimes fails when our CI
system is loaded. This patch adds a tenacity retry.
2020-08-29 19:15:11 +02:00
Aurelien Lourot
c5c964506e
Increase neutron-arista timeout
2020-08-19 16:43:04 +02:00
Aurelien Lourot
e530533345
Make NeutronCreateNetworkTest more robust
2020-07-30 12:27:21 +02:00
Aurelien Lourot
a1eb37c365
Make neutron/arista tests more robust
...
When creating an Arista-backed Neutron network, the API call from Neutron
to Arista sometimes spuriously fails. This is not fatal and Neutron
simply retries a few seconds later. The tests now account for that.
2020-07-23 09:49:48 +02:00
Aurelien Lourot
1e682e9480
Fix application name in trace
2020-07-01 11:07:49 +02:00
Aurelien Lourot
e184ad7498
Wait for neutron to be connected to Arista before querying it
2020-06-30 16:28:15 +02:00
Aurelien Lourot
68af0d2079
Clarification
2020-06-24 16:27:35 +02:00
Aurelien Lourot
87d5667990
Download Arista image
2020-06-24 11:44:25 +02:00
Aurelien Lourot
b1ccc4bd24
Rename neutron arista charm
2020-06-23 15:50:34 +02:00
Aurelien Lourot
a04cc1f077
Cosmetic improvements
2020-06-23 13:11:50 +02:00
Aurelien Lourot
13b590ea12
Refactor overriding mechanism
2020-06-23 13:03:04 +02:00
Aurelien Lourot
f0ceb33f3a
Add functional tests for neutron-arista
2020-06-22 16:15:03 +02:00