Commit Graph

16 Commits

Author SHA1 Message Date
Liam Young 58182b86b8 Deprecate zaza.openstack.utilities.juju (#340)
This is the 3rd change in the effort to deprecate
zaza.openstack.utilities.juju in favour of zaza.utilities.juju.
All functions now just wrap their equivalents in
zaza.utilities.juju and a decorator has been added which logs a
warning if the function is used.
2020-07-01 14:38:19 +02:00
Corey Bryant 5401be3a97 Fix variable name 2020-06-05 20:04:51 +00:00
Corey Bryant 7d0dfadc80 Fix incorrect reference to model 2020-06-05 20:02:45 +00:00
Corey Bryant 46d9887b45 Move get_application_ip to zaza/openstack/utilities/juju.py 2020-06-05 14:35:29 +00:00
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
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 4fd543a0fe Hanlde new StopIteration for iterators 2019-12-06 12:01:38 -08:00
Liam Young 748915646a First set of updates to set model name explicitly 2019-11-25 10:49:50 +00: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 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
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00