Corey Bryant
24306b8880
Fix get_machines_for_applications for subordinates
...
In the case where we have a subordinate charm, libjuju juju status
on the unit returns an empty dictionary, therefore the existing None
check would fail and the subordinate status would never get set.
The result being subordinates not included in the returned Iterator.
2020-05-28 10:36:37 +00:00
Chris MacNaughton
7e9cc9998f
Merge pull request #190 from gnuoy/masakari-fixes
...
Fixes for masakari tests
2020-03-10 15:22:05 +01:00
Liam Young
f1168aa36d
Fixes for masakari tests
...
* Deal with hypervisors now using fqdn
* Skip instant restart tests until bug is resolved
2020-03-10 10:21:14 +00:00
Liam Young
4854de51b3
Merge pull request #186 from openstack-charmers/lxd_support
...
add lxd container support to get_machine_status
2020-03-06 08:53:11 +00:00
Andrew McLeod
3f1ec453da
add lxd container support to get_machine_status
2020-03-06 09:40:32 +01:00
Aurelien Lourot
0cee4c90bb
Fix typo
2020-03-05 12:12:08 +01:00
Frode Nordahl
a3f6135908
Actually add bionic/ussuri release combination
2020-02-18 12:03:56 +01:00
Frode Nordahl
6aa252ab64
Enable testing of Bionic/Ussuri and Focal
2020-02-18 10:21:31 +01:00
Adam Dyess
fd12751b01
Merge branch 'master' of github.com:openstack-charmers/zaza-openstack-tests into bug/1828424
2020-02-06 16:23:26 -06:00
Frode Nordahl
1398583e07
ovn: Update bridge configuration code
...
After power user feedback we want to change how interfaces are
attached to bridges on the OVN charms.
Ref: openstack-charmers/charm-layer-ovn#6
2020-02-05 13:20:55 +01:00
Adam Dyess
d5ee2106d4
port designate amulet tests to zaza
2020-02-04 16:14:35 -06:00
Adam Dyess
b88bccd526
Successful tests
2020-02-04 14:04:42 -06:00
Adam Dyess
9d2369f576
designate-bind zaza tests
2020-02-04 12:58:55 -06:00
Liam Young
51c2ec89b0
Fix spelling
2020-02-04 13:36:44 +00:00
Liam Young
ee21886a8c
Fix order in UPGRADE_SERVICES
2020-02-04 13:33:28 +00:00
Alex Kavanagh
cc5adbcfed
Merge pull request #167 from gnuoy/support-mojo-unseal
...
Support mojo unseal
2020-02-04 12:52:53 +00:00
Liam Young
5fdde89be0
Tidyup docstring and method name
2020-02-04 12:48:00 +00:00
Alex Kavanagh
7538791b52
Merge pull request #145 from gnuoy/add-openstack-upgrade-lib
...
Add functions for performing OpenStack upgrades
2020-02-04 11:42:54 +00:00
Liam Young
5927878a03
Tidyup mojo cert unseal
2020-02-04 10:10:50 +00:00
David Ames
b5e250513b
Fix for NDR testing race condition
...
Previous attempts to fix LP Bug#1784083 added a workaround (commit
820ed808 ) which is being removed here.
The root cause seems to be upstream in the dragent. It may never have
been envisioned to run the agent by itself the way the charm does.
So that even if neutron-api completes its amqp relation first,
neutron-dynamic-routing can still see
oslo_messaging.exceptions.MessagingTimeout errors. Some operation
must occur against neutron before dragent is truly ready. i.e. some post
deploy openstack command. So it is outside the purview of the charm.
This change adds a service restart late.
Partial-Bug: #1841459
2020-01-21 10:07:01 -08:00
Liam Young
2c9e9739d6
Fix name of swift storage-region option
2019-12-17 11:57:23 +00:00
Liam Young
4af37d9556
Add functions for performing OpenStack upgrades
2019-12-12 13:57:55 +00:00
Liam Young
49a01c8318
Merge pull request #143 from thedac/use-netplan-for-ovn
...
Use Netplan for OVN
2019-12-11 19:33:03 +00:00
Alex Kavanagh
1503751d5c
Merge pull request #141 from thedac/iteration-handling
...
py3.7+ StopIteration handling
2019-12-11 16:50:50 +00:00
Liam Young
f3ebe916f2
Add get_subordinate_units
...
Add zaza.openstack.utilities.juju.get_subordinate_units to get a list
of all subordinate units associated with units in unit_list.
Subordinate can be filtered by using 'charm_name' which will only
return subordinate units which have 'charm_name' in the name of the
charm.
2019-12-11 12:12:25 +00:00
David Ames
407487ca66
Use Netplan for OVN
2019-12-10 16:47:46 -08:00
David Ames
23e0dd5325
Catching StopIteration is not necessary
2019-12-10 10:29:57 -08:00
David Ames
40e9c86df4
Test the condition not the implementation
2019-12-10 08:36:22 -08:00
David Ames
1a4e02e98c
Fix bug
2019-12-06 15:02:57 -08:00
David Ames
ad9eecc49e
Pick just one machine
2019-12-06 14:35:37 -08:00
David Ames
1314c6af2f
Don't use StopIteration
2019-12-06 13:42:09 -08:00
David Ames
4fd543a0fe
Hanlde new StopIteration for iterators
2019-12-06 12:01:38 -08: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
Liam Young
bd903fa325
Add docstring entry
2019-11-25 17:41:29 +00:00
Liam Young
9c34bc42da
Expose model_name option in get_keystone_session_from_relation
2019-11-25 17:40:03 +00:00
Liam Young
748915646a
First set of updates to set model name explicitly
2019-11-25 10:49:50 +00:00
Frode Nordahl
1689a4452e
net: Add support for DVR deployments with NGW
2019-11-12 15:33:01 +01:00
Alex Kavanagh
5956b0b163
Merge pull request #117 from openstack-charmers/bug/1851710
...
Increase number of attempts for ping_response
2019-11-11 09:12:42 +00:00
Frode Nordahl
9391758fba
Increase number of attempts for ping_response
...
Some configurations require more time to settle before we get the
expected response. (LP: #1851710 )
2019-11-11 10:04:30 +01:00
Frode Nordahl
8aced1c5b2
net: Revert switch to wait_for_application_states
...
We are stuck with juju_wait until we figure out how to deal with
all the non ['active', 'idle', 'Unit is ready.'] workload/agent
states and msgs that our mojo specs are exposed to.
2019-11-06 15:49:40 +01:00
Frode Nordahl
8d676bf9fa
Make non-existent tests/tests.yaml non-fatal where possible
...
Not all test environments or runners are equal, don't crash on
non-existent test config.
2019-11-05 16:38:06 +01:00
Liam Young
b5f46b2820
Merge pull request #108 from openstack-charmers/ovn-charm
...
Teach `basic_overcloud_network` configure job about OVN
2019-11-05 10:01:50 +00:00
Liam Young
63fb045f02
Teach zaza about designate version
2019-11-04 11:35:26 +00:00
Frode Nordahl
675b109d54
Optionally limit number of units to get port attached
...
This is useful for validating deployments with OVN where it is not
required to have external networking attached to every chassis.
Any chassis that does not have external networking directly
attached will forward traffic destined for the external network
through a tunnel to a chassis that does.
2019-11-02 17:16:39 +01:00
Frode Nordahl
8e8544bab7
Fix ovn_present for ovn-dedicated-chassis
...
Add missing unit test.
2019-11-02 10:31:30 +01:00
Frode Nordahl
0163f79ec2
Teach `configure_gateway_ext_port()` about OVN
...
Also stop using ``juju_wait``.
2019-11-01 06:52:22 +01:00
Frode Nordahl
7d1d04a742
Deduce whether DVR is enabled from neutron-api config
...
Add helper to detect presence of OVN in deployment
2019-11-01 06:39:17 +01:00
Frode Nordahl
85927e20c6
Add helper to get uuids of machines w/OVN chassis
...
Refactor get_machines_for_application as generator function instead
of building and passing on static List.
2019-11-01 06:39:07 +01:00
Jose Delarosa
08b5b70854
Fix pep8 failures
2019-10-25 16:28:27 -05:00