Commit Graph

85 Commits

Author SHA1 Message Date
Frode Nordahl 537473ad3a Store local overcloud CACERT copy in relative path
At present the overcloud CACERT is copied to /tmp and as such it
is not possbile to run multiple tests at once without them
stepping on each other.

Store the copy in a path relative to where the test is executed,
in line with how the SSH keys are stored etc.

Fixes #331
2020-06-19 09:50:28 +02:00
Frode Nordahl 95eb158e7e Support undercloud running TLS (#330)
Consume the `OS_CACERT` environment variable when setting up
undercloud auth.

Fixes #329
2020-06-19 08:28:18 +02:00
Corey Bryant de893b66b8 Drop OS_ prefix from OS_TEST_HTTP_PROXY
As part of this change also switch to using deployment_env.
2020-06-12 02:35:35 +00:00
Frode Nordahl 8c747390d3 Fail early when no units found for external port creation
Fixes #298
2020-05-28 13:24:14 +02:00
Frode Nordahl 78e992ac87 Merge pull request #260 from ajkavanagh/multi-lts-image-for-octavia
The octavia tests require multiple LTS images
2020-05-14 06:24:24 +02:00
Frode Nordahl 8edff98f94 Add OVN charm tests 2020-05-08 12:34:21 +02:00
Alex Kavanagh c8ea324ccb Add focal template to image list 2020-05-07 20:09:02 +01:00
Aurelien Lourot 59ec82f542 Make ssh_test() more robust 2020-05-07 14:25:47 +02:00
James Page db0fff6480 triliovault: Check restore completes
Ensure that the oneclick restore process completes as part
of the snapshot test case.

Drop use of api_version in get_domain_id utility.
2020-05-05 12:56:03 +01:00
James Page eb0cba9efc Add zaza tests for TrilioVault
Add setup and tests for trilio-{data-mover,dm-api,wlm} charms.

Add attach_volume utility to attach cinder volumes to nova servers.
2020-05-04 14:46:48 +01:00
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