Commit Graph

486 Commits

Author SHA1 Message Date
Liam Young e499c157c1 Add basic tests for pacemker-remote. (#201)
Add a basic check to ensure all nodes, including remotes, in
hacluster are online.
2019-03-20 07:08:58 +01:00
Chris MacNaughton 6284672668 We should pass token hashing check (#200) 2019-03-19 16:46:36 +01:00
Chris MacNaughton 41952b1f74 Add ceph-osd test (#193) 2019-03-15 15:21:25 +01:00
Frode Nordahl 7f09c33b44 Merge pull request #199 from thedac/auto-vault
Enable TLS Certificates Testing
2019-03-14 20:51:01 +01:00
David Ames c6d1d99f7b Pin PyYAML to match libjuju 2019-03-14 12:11:07 -07:00
David Ames 02180fb178 Unit tests 2019-03-14 08:55:26 -07:00
David Ames 5e51c93401 Reorganize 2019-03-14 14:28:46 +00:00
David Ames 1d256a94af lint fixes 2019-03-14 14:28:46 +00:00
David Ames 25bdb0ef44 Enable all keystone tests for HA 2019-03-14 14:28:46 +00:00
David Ames cb3ef6ef13 Move tls relation check 2019-03-14 14:28:46 +00:00
David Ames a4011def70 Don't use unittests 2019-03-14 14:28:46 +00:00
David Ames 099f22ab13 Use separate tmp dirs for each unit
When running the file ready function each unit would download into the
same tmp directory. For files with restrictive permissions this would
lead to a permission denied and false negative on the second unit. i.e.
file is 444 and the subsequent scp fails due to the inability to
overwrite the first file.

Use a separate tmp dir for each unit to avoid this problem.
2019-03-14 14:28:46 +00:00
David Ames fe61149915 Use sane certificate lifetimes 2019-03-14 14:28:46 +00:00
David Ames 6877038f4c lint fixes 2019-03-14 14:28:46 +00:00
David Ames 3280b0653a Check for the vault certificates relation for auth
Centralize the check if the cerfiticates relation to vault exists. If
it does, update authentication information to include the CA
certificate and https as the protocol.
2019-03-14 14:28:46 +00:00
David Ames c5512defa3 Allow keystone auth tests to run from subordinate
Allow a subordinate charm to keystone to run the keystone auth tests.
2019-03-14 14:28:46 +00:00
David Ames 2dce38f2f5 Auto initialize target for setup 2019-03-14 14:28:46 +00:00
Chris MacNaughton 5a5fa1b681 Merge pull request #198 from ChrisMacNaughton/bug/1819134
Validate Keystone sets check-max-request-body-size
2019-03-12 09:08:22 +01:00
Chris MacNaughton 80fb835bbd Validate Keystone sets check-max-request-body-size
Related-Bug: #1819134
2019-03-08 11:04:06 +01:00
David Ames 593f04ce4a Merge pull request #197 from gnuoy/feature/allow-metadata-to-be-set-on-guest-create
Support setting metadata when creating guests
2019-03-07 10:55:08 -08:00
Liam Young 34ef72b244 Support setting metadata when creating guests 2019-03-07 18:11:03 +00:00
Liam Young 5708cf529b Merge pull request #196 from gnuoy/feature/add-masakari-instance-monitor-test
Enable masakari instance monitor tests
2019-03-07 16:53:34 +00:00
Liam Young ac51ffdb7d Fix call to simulate_guest_crash 2019-03-07 16:34:18 +00:00
Liam Young 5339ea9217 Add rtype info to docstrings 2019-03-07 16:31:35 +00:00
Liam Young e9c7690af4 Enable masakari instance monitor tests
Add helpers and a test to test a guest dying and being resurrected
by masakari instance monitor.
2019-03-07 16:03:42 +00:00
Chris MacNaughton ac52b0c14b Merge pull request #194 from gnuoy/feature/add-masakari-test
Add masakari tests
2019-03-06 11:59:46 +01:00
Liam Young d7bd1df421 Add masakari tests 2019-03-06 10:41:30 +00:00
Liam Young 8b08f71a22 Merge pull request #187 from openstack-charmers/keystone-security-audit
Keystone security audit
2019-03-06 09:12:38 +00:00
Chris MacNaughton 4c1f40a6eb Merge branch 'master' into keystone-security-audit 2019-03-06 09:49:16 +01:00
Liam Young 712183c334 Merge pull request #192 from gnuoy/feature/add-guest-migration-support
Misc methods to support vm migration tests
2019-03-06 08:42:44 +00:00
Chris MacNaughton 401d99d14f Add comment describing upcoming fixes to failures 2019-03-06 08:25:56 +01:00
Liam Young b50df27816 Fix typo in log message 2019-03-05 19:34:54 +00:00
Liam Young 3118f122b4 Misc methods to support vm migration tests
Misc methods to support vm migration tests.
2019-03-05 19:30:57 +00:00
Chris MacNaughton cbefa6a5ac Merge branch 'master' into keystone-security-audit 2019-03-05 15:58:04 +01:00
Liam Young 933cb5518d Merge pull request #191 from gnuoy/bug/fix-missing-masakari-init
Add missing __init__.py from zaza.charm_tests.masakari
2019-03-05 14:24:12 +00:00
Liam Young 9908019fe0 Add missing __init__.py from zaza.charm_tests.masakari 2019-03-05 14:06:47 +00:00
Chris MacNaughton d0e154f37b Merge branch 'master' into keystone-security-audit 2019-03-05 14:27:21 +01:00
Liam Young da6b7f4099 Merge pull request #190 from gnuoy/feature/maskari-support
Add masakari test support
2019-03-05 13:26:21 +00:00
Chris MacNaughton 309427e146 Merge branch 'master' into keystone-security-audit 2019-03-05 14:22:04 +01:00
Liam Young 3efdbe4995 Add masakari test support
Add support for testing masakari.
2019-03-05 12:55:49 +00:00
Frode Nordahl d10ef061a9 Merge pull request #189 from gnuoy/feature/make-guest-boot-more-configurable
Feature/make guest boot more configurable
2019-03-04 17:30:27 +01:00
Liam Young cd93b2f374 Fix typos 2019-03-04 16:09:56 +00:00
Liam Young 54dc2e29a9 Add config options to guest creation
Add additional config options to the launch_instance method
to allow flavor/network/volume options.
2019-03-04 16:03:47 +00:00
Liam Young 1e8aa4bb79 Merge pull request #188 from gnuoy/feature/move-nova-tests
Move guest creation code.
2019-03-04 14:46:56 +00:00
Liam Young 2827c78190 Log deprecation 2019-03-04 14:35:20 +00:00
Liam Young 463cf25cd6 Move guest creation code.
The code to create a guest is currently in the nova tests area but
many other tests need to reuse this code. So, move the guest
creation code to the configuration area to be consistent with
network setup.
2019-03-04 13:04:32 +00:00
Chris MacNaughton 16c282b220 Add keystone SecurityTests class 2019-03-01 09:15:20 +01:00
Chris MacNaughton 2268fc8006 add document about AssertionError 2019-03-01 09:13:32 +01:00
Chris MacNaughton 770655a87a fix type typo 2019-03-01 09:13:32 +01:00
Chris MacNaughton e9136c7e38 do not expect keystone security-audit to pass 2019-03-01 09:13:32 +01:00