From Fedora Project Wiki
m (initial boxgrinder delivery ElasticHosts test case) |
m (fix descriptions) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=Deliver an appliance to | |description=Deliver an appliance to an ElasticHost API compatible cloud provider | ||
|setup= | |setup= | ||
{{admon/note|You need an account with an ElasticHost API compliant cloud provider for these tests!}} | {{admon/note|You need an account with an ElasticHost API compliant cloud provider for these tests!}} | ||
Line 23: | Line 23: | ||
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code> | # Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code> | ||
# Execute <pre>boxgrinder-build fedora-15-jeos.appl -d elastichosts</pre> | # Execute <pre>boxgrinder-build fedora-15-jeos.appl -d elastichosts</pre> | ||
# | # Run an instance of the VM through your cloud providers tools, verify that you can log on | ||
# Run the following Test Case in the VM: [[QA:Network_basic_test_case]] | # Run the following Test Case in the VM: [[QA:Network_basic_test_case]] | ||
|results= | |results= |
Revision as of 21:10, 22 April 2011
Description
Deliver an appliance to an ElasticHost API compatible cloud provider
Setup
- Clone the BoxGrinder test appliances into a convenient location using command
git clone https://github.com/msavy/boxgrinder-appliances.git
- Put the following BoxGrinder config into a file named:
~/.boxgrinder/config
. Insert appropriate values, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#ElasticHosts_Delivery_Plugin, for more information.
plugins: elastichosts: endpoint: api.lon-p.elastichosts.com # required user_uuid: your-user-id # required secret_access_key: your-secret-access-key # required chunk: 128 # default: 64 (in MB) start_part: 6 # default: 0 wait: 30 # default: 5 (in s) retry: 2 # default: 3 ssl: true # default: false drive_uuid: b161fd8b-d56s-4eea-9055-669daaec8aa4 drive_name: my-bg-drive
How to test
- Navigate to directory
boxgrinder-appliances/testing-appliances/jeos-appls/
- Execute
boxgrinder-build fedora-15-jeos.appl -d elastichosts
- Run an instance of the VM through your cloud providers tools, verify that you can log on
- Run the following Test Case in the VM: QA:Network_basic_test_case
Expected Results
The following must be true to consider this a successful test run.
- Step #2 completes without error (indicated on console)
- Program completes with exit code 0
- The new image has appeared in your cloud provider's management system
- QA:Network_basic_test_case is performed successfully on the new appliance