Commit Graph

52 Commits

Author SHA1 Message Date
coreycb ac65792d53 Merge pull request #320 from gnuoy/tempest-auto-detect
Tempest auto detect
2020-06-12 12:07:50 -04:00
Liam Young 68648aede5 Tidyup following review feedback 2020-06-12 13:14:28 +00:00
Liam Young 12cf1725cb Fix service -> setup f map 2020-06-12 12:54:57 +00:00
Corey Bryant e8898979b5 Drop check for tempest workspace directory
This check is not necessary. The workspace is recreated on each
run, so just attempt to remove the workspace each time.
2020-06-12 01:56:17 +00:00
Liam Young b95c79c9e3 Include templates 2020-06-11 15:53:51 +00:00
Liam Young d837c0ed97 Automatically enable/disable config for tempest.
Automatically enable/disable config for tempest based on the
contents of the keystone service catalogue.
2020-06-11 14:12:16 +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 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
Corey Bryant 35a9e55ea5 Fix pep8 issues 2020-05-28 14:19:04 +00: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 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
Corey Bryant a1f34e2c01 Handle tempest changing to workspace directory 2020-05-28 10:45:10 +00:00
Corey Bryant 67de027d98 Move tempest init to setup.py and use a local workspace path 2020-05-28 10:45:10 +00:00
Corey Bryant f017934c9b Fix typo in tempest workspace name 2020-05-28 10:45:10 +00:00
Corey Bryant eff595c6ee Add render_tempest_config_keystone_v2 for older deployments 2020-05-28 10:45:10 +00:00
Corey Bryant 57594a466b Fix the_app.run ret code checks and don't recreate workspace if already exists 2020-05-28 10:45:10 +00:00
Corey Bryant a8a6e72ef3 Use tempest workspace to avoid conflicts with any charm unit test .stestr config 2020-05-28 10:45:10 +00:00
Corey Bryant 2eaa55bd51 Drop git clone of tempest 2020-05-28 10:45:10 +00:00
Corey Bryant 4d8cd803ff Convert list of (black-)regex's to a space-separated string 2020-05-28 10:45:10 +00:00
Corey Bryant 456b08c032 minor cleanup 2020-05-28 10:45:10 +00:00
Corey Bryant 182cda9013 Add smoke to TempestTest as blacklist/whitelist/black-regex will be useful with it. 2020-05-28 10:45:10 +00:00
Liam Young be3659c4a2 Add support for blacklist/whitelist etc 2020-05-28 10:45:10 +00:00
Liam Young e8624d3297 Fix missing ResellerAdmin 2020-05-28 10:45:10 +00:00
Liam Young 6347bb707f More updates 2020-05-28 10:45:10 +00:00