Commit Graph

24 Commits

Author SHA1 Message Date
Liam Young bf2273c59a Add retry logic around Trilio CRUD commands (#770) 2023-01-11 15:36:59 +00:00
Liam Young 87211cd2be Fix test for queens package name 2022-08-19 06:58:29 +00:00
Liam Young 31f1d5c94f Add test for Trilio Horizon encryption settings 2022-08-16 09:45:00 +00:00
hemanthnakkina e1127f7473 Merge pull request #788 from gnuoy/trilio-use-launch-instance-retryer
Trilio use guest_utils.launch_instance_retryer
2022-06-16 12:20:29 +05:30
Liam Young 3625c6c866 Change the ghost share path
Trilio 4.2 generates a hash for the nfs share bases on the path
alone. Unfortunatly the existing Trilio tests set the nfs share
and the ghost share to have the smape path but different source
IPs. For previouse Trilio releases this was fine as the share
hash was different but now they clash and the test fails because it
thinks the share is already mounted.
2022-06-15 15:58:43 +00:00
Liam Young af20e8719c Trilio use guest_utils.launch_instance_retryer
Switch Trilio tests to use the new launch_instance_retryer to
make the tests more resilant to issues creating and connecting
to a guest.
2022-06-15 14:59:33 +00:00
Liam Young 5060c07c36 Add method for restarting tvault-contego (#778)
This is a temporary workaround to the bug while a packaging fix
is investigated.
2022-06-01 10:38:28 +01:00
Aurelien Lourot 7338af093e Add NovaComputeNvidiaVgpuWithHardwareTest 2022-03-17 13:55:47 +01:00
Aurelien Lourot c32a6d420b Fix various typos 2021-09-24 14:20:01 +02:00
Liam Young 12596b4a7a Very basic trilio update test (#616)
Simple test that the action to update trilio completes.
2021-08-10 11:25:50 +01:00
Liam Young caa8303cc7 Bump trilio snapshot create timeout
A recent testrun failed when using an S3 backend because the
snapshot creation timed out. The time out is set to 900s but it
took 959s.
2021-08-03 12:24:49 +00:00
Liam Young ba1914eb83 Fix lint 2021-06-29 12:45:11 +00:00
Liam Young 1009b70a87 Ensure application name is passed in scenario tests
When running Trilio tests in a scenario test there is no 'charm_name'
so the application name needs to be explicitly set when calling
the setup class otherwise some config, such as lead_unit, is
missing.
2021-06-29 12:38:43 +00:00
Liam Young b7e542636f Extend trilio snapshot timeout (#594)
Extend trilio snapshot timeout, closes issue #595.
2021-06-16 09:14:29 +01:00
Liam Young 6a688d29bb Add classes to collect NFS and S3 Trilio tests 2021-05-25 13:19:25 +00:00
Liam Young 620a098e8d Add debugging 2021-05-18 07:56:34 +00:00
Liam Young 8e998c2d02 More seperation 2021-05-06 08:22:10 +00:00
Liam Young cd2df7534c Seperate TrilioGhostNFSShareTest from TrilioDataMoverTest as its not needed for s3 2021-05-05 11:39:53 +00:00
Liam Young 42d955209a Add setup code for s3 back Trilio
Add code to prepare trilio applications to use an s3 backend.
2021-03-04 15:36:29 +00:00
Liam Young f97c717ba0 Add short-term workaround to Trilio bug 2021-02-18 14:49:49 +00:00
James Page 9726179f49 trilio: add test for ghost-share action
Restructure test classes a little to support addition of testing
of the ghost-share action to charms that support it.

Execute the action - if any operation fails the action will fail
so an OK return code on the action indicates success.
2020-09-09 10:40:34 +01:00
Aurelien Lourot 86547a4efc Add more insights on trilio test failures (#400)
* Add more insights on trilio test failures

* Fix import

* Fix wrong signature
2020-09-07 14:09:14 +01:00
James Page db0fff6480 triliovault: Check restore completes
Ensure that the oneclick restore process completes as part
of the snapshot test case.

Drop use of api_version in get_domain_id utility.
2020-05-05 12:56:03 +01:00
James Page eb0cba9efc Add zaza tests for TrilioVault
Add setup and tests for trilio-{data-mover,dm-api,wlm} charms.

Add attach_volume utility to attach cinder volumes to nova servers.
2020-05-04 14:46:48 +01:00