Commit Graph

75 Commits

Author SHA1 Message Date
Aurelien Lourot 8e9ecc53e8 Openstack -> OpenStack 2020-04-16 18:59:07 +02:00
Aurelien Lourot 83246a9305 Print stderr when failing to ping new instance 2020-04-14 14:50:31 +02:00
Frode Nordahl f35da80f27 Unpin flake8, fix lint
Add Python 3.8 env in Travis CI test matrix.

At present the pinning of flake8 disallows running of lint on
Python 3.8 systems.

Update flake8 ignore-list to ignore W504 instead of W503, the PEP
guidance is that either is ok, but there must be local consistency.

There are more occurences of binary operator before line-break
than after in this repository, and we have also chosen to ignore
W504 in most of our other repositories.
2020-04-07 11:14:49 +02:00
Frode Nordahl 1ece576981 radosgw: Pass local CA cert to client when relevant 2020-03-23 10:58:23 +01:00
Aurelien Lourot 0cee4c90bb Fix typo 2020-03-05 12:12:08 +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
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
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 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
Jose Delarosa d4ea94298f Add heat functional tests 2019-10-25 15:54:03 -05:00
David Ames a207fea389 Stop setting external DNS
Use neutron DNS by not setting a DNS server on the subnet.
Also correct TEST_NAME_SERVER for potential future use.
2019-10-21 16:08:35 -07:00
Frode Nordahl 9d391cd8dc Merge pull request #79 from openstack-charmers/disable_addport_for_dvr
disable add_dataport_to_netplan for dvr deployments
2019-10-02 13:18:29 +02:00
Andrew McLeod d96bdd118d disable add_dataport_to_netplan for dvr deployments 2019-10-02 13:11:46 +02:00
Alex Kavanagh 55ee8ffe3f WIP - fix mac_address access issue 2019-10-01 10:49:19 +01:00
Andrew McLeod 34cf2f1914 disable dataport addition 2019-10-01 10:14:44 +02:00
Andrew McLeod cd7b3a1786 pep8 fixes 2019-09-30 16:39:27 +02:00
Andrew McLeod 2a917f5908 refresh port in get mac method 2019-09-30 16:32:10 +02:00
Liam Young 64ddda0541 Disable add_dataport_to_netplan while issue #72 is investogated 2019-09-30 13:36:59 +00:00
Andrew McLeod e5e7d03e1f fix doctstring 2019-09-30 13:04:12 +02:00
Andrew McLeod 443b2295c3 add doctstring 2019-09-30 13:00:19 +02:00
Andrew McLeod 903b612ba9 move mac_address retry to smaller method 2019-09-30 12:57:17 +02:00
Andrew McLeod b735c5885f add tenacity with backoff to configure ext dataport method 2019-09-30 11:40:14 +02:00
Frode Nordahl 959d81370a Merge pull request #64 from gnuoy/aodh
Add support for aodh tests
2019-09-26 17:20:17 +02:00