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 Amazon S3
|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>   
# Execute the VM through your cloud providers tools, verify that you can log on
# 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

Note.png
You need an account with an ElasticHost API compliant cloud provider for these tests!
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

  1. Navigate to directory boxgrinder-appliances/testing-appliances/jeos-appls/
  2. Execute
    boxgrinder-build fedora-15-jeos.appl -d elastichosts
  3. Run an instance of the VM through your cloud providers tools, verify that you can log on
  4. 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.

  1. Step #2 completes without error (indicated on console)
  2. Program completes with exit code 0
  3. The new image has appeared in your cloud provider's management system
  4. QA:Network_basic_test_case is performed successfully on the new appliance