Commit Graph

29 Commits

Author SHA1 Message Date
mkalcok 50c781fb53 Remove repetitive code. (#534) 2021-03-30 07:44:46 +01:00
mkalcok 88fe0af9cb Functional tests for nova-compute 'cloud' actions (#470)
* Functional test for 'enable' and 'disable' actions on nova-compute

* lint fixes

* Put tests of new functionality into separate class

* Added tests for actions `remove-from-cloud` and `register-to-cloud`

* Set longer timeout for action verification

* Add logging to help with CI debugging

* Raise error if action fails

* Cleanup running VMs before test starts

* Add cleanup to tests that create VMs
2021-03-27 08:27:02 +00:00
Frode Nordahl 35840a66d6 nova: Conditional security checklist based on presence of vault
The current test expects Nova to never have TLS connections, let's
expect them to be there whenever vault is present.

Remove the 'is-volume-encryption-enabled' assertion as it is not
a property of the Nova security checks. This was previously masked
by the fact that action would always fail due to TLS tests not
being enabled for any bundles.
2021-01-16 22:36:44 +01:00
Aurelien Lourot a12a4a20e3 Merge pull request #446 from openstack-charmers/bug/1896729
octavia: Disable check for member operational status
2021-01-13 15:16:01 +01:00
Linda Guo 10756f7a66 Add NovaComputeActionTest test class for virsh_audit action 2020-12-11 10:13:41 +11:00
Frode Nordahl 67aaa10ad6 Retry Nova flavor- and keypair-creation
Fixes #452
2020-10-20 14:43:47 +02:00
Frode Nordahl efcb7a7e06 Fix typo 2020-10-02 10:50:10 +02:00
Frode Nordahl 786b40fc53 nova: Use common launch guest helper
The common helper adds automatic retry handling and resource
cleanup.
2020-09-25 11:21:15 +02:00
Liam Young 9c52b3390d Add LTSGuestCreateVolumeBackedTest
Add a test class which launches a volume backed instance.
2020-07-07 09:06:35 +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
Corey Bryant 5d59fa43a5 Update flavor ids 2020-06-05 22:55:24 +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
Hemanth Nakkina a2e38eecd3 Add test cases for nova shelving accounting in quotas
Add functional test case to verify new config param
quota-count-usage-from-placement in nova-cloud-controller
charm.

Charm changes - https://review.opendev.org/#/c/715182/

Related-Bug: #1864859
2020-04-28 15:28:06 +05:30
Dmitrii Shcherbakov 72b420b56a Use the new svc restart checker where possible
restart_on_changed_debug_oslo_config_file was added to avoid code
duplication.
2020-04-21 16:50:02 +03:00
Aurelien Lourot 3d11b9c018 Fix test_106_compute_catalog_endpoints on Queens 2020-04-20 10:51:49 +02:00
Aurelien Lourot 9477fd4c52 Fix test_106_compute_catalog_endpoints prior to Rocky 2020-04-20 08:00:46 +02:00
Aurelien Lourot 13d9702cdb Add test_902_quota_settings 2020-04-19 16:58:24 +02:00
Aurelien Lourot 6005ca7517 Add test_310_pci_alias_config 2020-04-19 16:58:24 +02:00
Aurelien Lourot 1594a09625 Fix test_220_nova_metadata_propagate 2020-04-19 16:58:24 +02:00
Aurelien Lourot 975248f571 Add test_106_compute_catalog_endpoints 2020-04-17 17:42:31 +02:00
Aurelien Lourot 071754e7cf Add test_302_api_rate_limiting_is_enabled 2020-04-17 12:47:44 +02:00
Aurelien Lourot 7c1f01e368 Add test_220_nova_metadata_propagate 2020-04-17 12:04:23 +02:00
Aurelien Lourot 0f8396b213 Fix test_104_compute_api_functionality 2020-04-17 12:02:43 +02:00
Aurelien Lourot ea345c6c55 First NovaCloudController test cases
Not yet covering the same amount as nova-cloud-controller's Amulet tests.
https://launchpad.net/bugs/1828424
2020-04-17 10:07:13 +02:00
Alex Kavanagh c69e177736 Merge pull request #230 from AurelienLourot/nova-security-tests
Make nova.SecurityTests runable against nova-cloud-controller
2020-04-16 18:50:16 +01:00
Aurelien Lourot ac227eab08 Fix copy-paste mistakes and typos and remove dead code 2020-04-16 15:10:03 +02:00
Aurelien Lourot 94434f62ac Make nova.SecurityTests runable against nova-cloud-controller
Needed for https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1828424
2020-04-16 09:48:57 +02:00
Liam Young eec43340eb Extend Nova compute tests. (#14)
Extend the nova compute tests to cover some that were missed from
the amulet tests.
2019-06-05 10:32:02 +02:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00