Commit Graph

163 Commits

Author SHA1 Message Date
Natalia Litvinova 0e932ed61e Porting Cinder Backup tests to Zaza
Porting the Amulet tests from Cinder Backup to the Zaza framework.

The Amulet tests can be found here:
https://opendev.org/openstack/charm-cinder-backup/src/commit/4273738b94b22cca187487af2bad982be49fdd69/tests/basic_deployment.py
2019-10-09 13:02:19 +03:00
Frode Nordahl 1512bcdd1a Merge pull request #52 from openstack-charmers/feature/ceph-auto-pg
Add ceph pg tuning test
2019-10-09 08:38:56 +02:00
Alex Kavanagh b33afe9cb3 Add note re: GlanceTest function 2019-10-07 23:06:22 +01:00
Alex Kavanagh 81c4432136 Improve logging on the policyd tests
This has no 'testing' changes, just improves the logging output.
2019-10-07 22:06:21 +01:00
Alex Kavanagh 001635e23b Fix skiptest on policyd
The wrong approach was used.  It was supposed to be a raise rather than
just a cls call.  This PR fixes-up the SkipTest in policyd.
2019-10-07 10:10:27 +01:00
Liam Young 0a33d4f8c2 Merge pull request #80 from ed1000/add-ceilometer
Disabling ceilometer-polling service in pause_resume
2019-10-04 12:02:25 +01:00
Eduardo Sousa bb162918db Disabling pause_resume
This test is being disabled because of bug #1846390.
https://bugs.launchpad.net/charms/+source/ceilometer/+bug/1846390
2019-10-04 00:19:49 +01:00
Alex Kavanagh 909a8d8969 Add remaining policyd tests for 19.10 release
This adds the modified neutron-api, glance, cinder policyd
tests.  In particular, the test verifies that an operation can be
overriden and removed and that the api calls works, doesn't work, and
then works again.
2019-10-03 17:22:29 +01:00
Alex Kavanagh 6b75086957 Add neutron-api charm policyd test 2019-10-03 17:22:29 +01:00
Alex Kavanagh fe70f56b26 Add base specializer for Keystone test 2019-10-03 17:22:29 +01:00
James Page 14340336d2 Merge pull request #63 from xtrusia/cert_ttl
Increase cert ttl from 80days to 4000days
2019-10-03 15:06:58 +01:00
James Page c76b62a8a8 Merge pull request #57 from rodrigogansobarbieri/bug/1836408
Add ceph-proxy cinder-ceph setup test
2019-10-03 14:40:58 +01:00
Rodrigo Barbieri 7b0de8d34d Add ceph-proxy cinder-ceph setup test
This change adds a functional test that verifies
ceph-proxy has successfully created a cinder-ceph
restricted ceph pool.

Related-Bug: lp#1836408
2019-10-02 10:48:54 -03:00
Liam Young 83ea8d94a1 Merge pull request #66 from ed1000/add-ceilometer
Change pause and resume from ceilometer to services
2019-10-02 13:17:47 +01: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
Eduardo Sousa b8cbae441a Change pause and resume from ceilometer to services 2019-10-01 15:55:30 +01:00
Alex Kavanagh 55ee8ffe3f WIP - fix mac_address access issue 2019-10-01 10:49:19 +01:00
Andrew McLeod 34cf2f1914 disable dataport addition 2019-10-01 10:14:44 +02:00
Andrew McLeod cd7b3a1786 pep8 fixes 2019-09-30 16:39:27 +02:00
Andrew McLeod 2a917f5908 refresh port in get mac method 2019-09-30 16:32:10 +02:00
Liam Young 64ddda0541 Disable add_dataport_to_netplan while issue #72 is investogated 2019-09-30 13:36:59 +00:00
Liam Young ea84bf9ed8 Check aodh api after a change.
The first query against the aodh api after a restart seems to
fail. So, check the api after a restart with a tenacity wrapper.
2019-09-30 12:31:50 +00:00
Andrew McLeod e5e7d03e1f fix doctstring 2019-09-30 13:04:12 +02:00
Andrew McLeod 443b2295c3 add doctstring 2019-09-30 13:00:19 +02:00
Andrew McLeod 903b612ba9 move mac_address retry to smaller method 2019-09-30 12:57:17 +02:00
Andrew McLeod b735c5885f add tenacity with backoff to configure ext dataport method 2019-09-30 11:40:14 +02:00
Liam Young f64d8fe70e Stop basic_setup from raising an exception
The ceilometer setup script is a setup script not a test so it
should not raise a skip exception if it is not needed. The fact
that it does is my fault and was implemented on my recommendation.
2019-09-28 06:48:25 +00:00
Frode Nordahl 959d81370a Merge pull request #64 from gnuoy/aodh
Add support for aodh tests
2019-09-26 17:20:17 +02:00
Liam Young c82f121f60 Merge pull request #58 from ajkavanagh/policy-overrides
Add initial policyd initial test
2019-09-26 15:39:46 +01:00
Liam Young d7e2976f22 Merge pull request #62 from openstack-charmers/add_plumb_dataport
add plumb_dataport_method
2019-09-26 13:25:21 +01:00
Andrew McLeod 5ad18dfc2f fix context mgr 2019-09-26 14:19:37 +02:00
Andrew McLeod 1af831399a add context manager for netplan_file 2019-09-26 14:16:19 +02:00
Andrew McLeod 6f903b73a6 fix interface and mac address matching 2019-09-26 13:59:59 +02:00
Andrew McLeod 028602f365 change terminology from plumb 2019-09-26 13:47:19 +02:00
Liam Young 3752f2cc12 Remove duplicate code for running ceilometer upgrade and fix typo 2019-09-26 10:23:56 +00:00
Liam Young 3ded7dab36 Fix copy/pasta error 2019-09-26 09:27:11 +00:00
Liam Young 2a15116868 Add aodh api test 2019-09-25 17:44:14 +00:00
Andrew McLeod 48a410151e fix typo 2019-09-25 16:19:12 +02:00
Andrew McLeod 36e9e45f0b add dvr_mode to docstring 2019-09-25 16:17:08 +02:00
Andrew McLeod 889053a3df fix docstring 2019-09-25 16:14:37 +02:00
Andrew McLeod ab89054847 enable guest interface plumbing for bionic-queens and later 2019-09-25 16:08:20 +02:00
Alex Kavanagh 3e2d98b1ed Fix pep8 failures 2019-09-25 14:43:10 +01:00
Alex Kavanagh 13128db1f4 Add docs to policyd module 2019-09-25 14:43:10 +01:00
Alex Kavanagh 6648aaf0e9 Add negative test for broken yaml 2019-09-25 14:43:10 +01:00
Alex Kavanagh ec74e6a57c Switch the order of the tests 2019-09-25 14:43:10 +01:00
Alex Kavanagh 060d86fe27 Hopefully finalising the services test 2019-09-25 14:43:10 +01:00
Alex Kavanagh 086076c6fc Still trying to find a call that works with the user 2019-09-25 14:43:10 +01:00
Alex Kavanagh 9d4008c9f4 More robust test 2019-09-25 14:43:10 +01:00
Alex Kavanagh d4568caf93 Fix missing prefixes from other module 2019-09-25 14:43:10 +01:00