Project

General

Profile

Idea #15026

Updated by Tom Clegg almost 5 years ago

Provide an arvados-server "cloudtest" subcommand (lib/cloud/test) that uses the configured credentials (from cluster config file) to verify that 
 * the selected driver implements the cloud.Driver interface properly (empty and non-empty instance tag sets; no implicit filtering of instances list; Instances() includes the new instance if called immediately after Create() returns success; Destroy() works) 
 * the cloud provider accepts the configured credentials 
 * resulting VMs accept the configured SSH private key and run commands as root 

 This has three two main uses: 
 # Dev tests when creating/modifying a driver 
 # CI tests 
 # Verify/debug verify/debug config while creating/updating a real cluster 

Back