Commit Graph

668 Commits

Author SHA1 Message Date
Frode Nordahl
effbf13190 Add CephFS pause/resume test 2020-06-11 16:44:40 +02:00
Aurelien Lourot
5a94e4a52d Merge pull request #316 from gnuoy/charm-upgrade
Add test to perform charm upgrade.
2020-06-11 15:32:30 +02:00
Liam Young
8336b75c40 Add test to perform charm upgrade.
Add test to perform charm upgrade and a few small tweaks to the
upgrade utils.
2020-06-11 10:33:39 +00:00
David Ames
3f008fc42d Merge pull request #302 from coreycb/add-tempest-support-corey
Add tempest support
2020-06-10 08:33:18 -07:00
Dmitrii Shcherbakov
9844701d19 Wait until a share status reaches 'available' (#310)
* Wait until a share status reaches 'available'

It appears to be that the test_manila_share test case does not wait
until a share becomes available which results in failures like this:

manilaclient.common.apiclient.exceptions.BadRequest: New access rules
cannot be applied while the share or any of its replicas or migration
copies lacks a valid host or is in an invalid state. (HTTP 400)
(Request-ID: req-8d609e13-9a80-428b-953b-17ab8d0e0cae)

Fixes: #309
2020-06-10 13:18:29 +02:00
Liam Young
9d9b47a275 Add test for networking when gateways are stopped
Add test for networking when gateways are stopped. This includes
refactoring the existing network test so I can reuse some of the
code.
2020-06-09 15:06:01 +00:00
Corey Bryant
bdc2e96e93 Drop OS_ prefix from SETUP_ENV_VARS 2020-06-09 14:22:26 +00:00
Corey Bryant
7f6ed4665d Fix pep8 error 2020-06-09 14:01:27 +00:00
Corey Bryant
5d59fa43a5 Update flavor ids 2020-06-05 22:55:24 +00: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
4e993e4251 Move add_tempest_roles to keystone setup.py 2020-06-05 19:42:25 +00:00
Corey Bryant
3837b1ac85 Drop add_tempest_flavors in favor of using nova.setup.create_flavors 2020-06-05 15:54:33 +00:00
Corey Bryant
616f04f0bc Move add_cirros_alt_image to glance setup.py and fix up loops 2020-06-05 14:54:26 +00:00
Corey Bryant
46d9887b45 Move get_application_ip to zaza/openstack/utilities/juju.py 2020-06-05 14:35:29 +00:00
Liam Young
a6b2a9799d Fix hacluster tests
Tidy up hacluster tests. In the process this fixes the error:

```
UnboundLocalError: local variable 'primary_status' referenced before assignment
```

This was caused by libjuju now returning an empty dict rather than
None when listing a subordinates units.
2020-06-04 12:32:54 +00:00
Alex Kavanagh
7b6b4d52ed Merge pull request #304 from gnuoy/aodh-server-alarm-test
Port aodh server alarm test from mojo
2020-06-04 12:11:44 +01:00
Liam Young
944335a39f Add dnspython dep and wait for add/remove units 2020-06-03 07:19:11 +00:00
Liam Young
3a6002b61f Port aodh server alarm test from mojo
Port over the aodh alarm test from mojo. Mojo source is here: *1

*1: https://github.com/openstack-charmers/openstack-mojo-specs/blob/master/helper/tests/validate_aodh.py
2020-05-30 16:56:25 +00:00
Liam Young
1beef2ddb2 Port designate-bind expand and shrink test
Port designate-bind expand and shrink test (and helpers) from
mojo to zaza. The mojo designate-bind test is here *1

*1 https://github.com/openstack-charmers/openstack-mojo-specs/blob/master/helper/tests/expand_and_shrink_bind.py
2020-05-30 16:44:34 +00:00
Corey Bryant
35a9e55ea5 Fix pep8 issues 2020-05-28 14:19:04 +00:00
coreycb
b54dedef62 Merge pull request #301 from openstack-charmers/issue/298
Fail early when no units found for external port creation
2020-05-28 08:10:44 -04:00
Frode Nordahl
8c747390d3 Fail early when no units found for external port creation
Fixes #298
2020-05-28 13:24:14 +02:00
Liam Young
9eefa08ce4 Refactor Designate tests so API tests can be called
Refactor Designate tests so that the api tests can be called
without running pause/resume tests. This is useful in the mojo
replacement functional tests.
2020-05-28 10:57:29 +00:00
Frode Nordahl
0de2faf49c Merge pull request #299 from coreycb/master
Fix get_machines_for_applications for subordinates
2020-05-28 12:47:58 +02:00
Corey Bryant
924da664cf Revert "Revert "Set api_extensions and floating_network_name""
This reverts commit 21ee604329552faacfe7984180eb34e003d0cc1b.
2020-05-28 10:45:10 +00:00
Corey Bryant
e7da28abc9 Revert "Set api_extensions and floating_network_name"
This reverts commit 1cc280292963ee70aeff9f9dbb96f457f398999f.
2020-05-28 10:45:10 +00:00
Corey Bryant
30b7b91904 Set api_extensions and floating_network_name
api_extensions and floating_network_name are set in tempest.conf to fix
tempest failures for:
* test_list_show_extensions (missing 'l3_agent_scheduler' extension)
* test_server_basic_ops (404 'Floating IP pool not found')
2020-05-28 10:45:10 +00:00
Corey Bryant
c98aa001f9 Adjust basic_setup to run upgrade for < ocata 2020-05-28 10:45:10 +00:00
Corey Bryant
19725c73b5 Fix template variable in render_tempest_config 2020-05-28 10:45:10 +00:00
Corey Bryant
5075e97470 Switch Member -> member 2020-05-28 10:45:10 +00:00
Corey Bryant
db47aa1fb9 Minor update 2020-05-28 10:45:10 +00:00
Corey Bryant
f668784f41 Add the missing test_runner 2020-05-28 10:45:10 +00:00
Corey Bryant
9336e3efa7 Minor update 2020-05-28 10:45:10 +00:00
Corey Bryant
a21ddd33e6 Code cleanup 2020-05-28 10:45:10 +00:00
Corey Bryant
19be6f7d48 Fix copyright 2020-05-28 10:45:10 +00:00
Corey Bryant
8a39e07cbf Set disable_ssl_certificate_validation to true to deal with self-signed certs 2020-05-28 10:45:10 +00:00
Corey Bryant
9e3b2f7416 Add catalog_type tempest config support 2020-05-28 10:45:10 +00:00
Corey Bryant
635866afe4 cleanup 2020-05-28 10:45:10 +00:00
Corey Bryant
f4c150f3e7 restore templates 2020-05-28 10:45:10 +00:00
Corey Bryant
2df890cabf s/run/tempest run/ 2020-05-28 10:45:10 +00:00
Corey Bryant
411951d1a1 uncomment get_tempest_context 2020-05-28 10:45:10 +00:00
Corey Bryant
27cc4ebdcf Switch to running tempest with subprocess and use workspace 2020-05-28 10:45:10 +00:00
Corey Bryant
816c6462ca Revert to remember 2020-05-28 10:45:10 +00:00
Corey Bryant
eaca793e52 tmp debug testing 2020-05-28 10:45:10 +00:00
Corey Bryant
2b9de3a2b7 Updates to tempest config rendering and init 2020-05-28 10:45:10 +00:00
Corey Bryant
82a1f1b75d Fix tempest run config-file flag 2020-05-28 10:45:10 +00:00
Corey Bryant
af2cff3c6c Set tempest debug to false 2020-05-28 10:45:10 +00:00
Corey Bryant
aa33797879 Updates to add_access_protocol for keystone v2 support 2020-05-28 10:45:10 +00:00
Corey Bryant
4a745e3ab0 Align tempest_v2.py with o-c-t v2 tempest.conf.template 2020-05-28 10:45:10 +00:00