From Fedora Project Wiki

Revision as of 16:46, 22 April 2011 by Msavy (talk | contribs) (initial boxgrinder delivery AMI test case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Deliver an appliance to Amazon S3

Setup

Note.png
You need an Amazon AWS account to perform this Test Case
plugins:
  s3:
    access_key: AWS_ACCESS_KEY                        # (required)
    secret_access_key: AWS_SECRET_ACCESS_KEY          # (required)
    bucket: stormgrind-test                           # (required)
    account_number: 0000-0000-0000                    # (required)
    path: /images                                     # default: /
    cert_file: /home/a/cert-ABCD.pem                  # required only for ami type
    key_file: /home/a/pk-ABCD.pem                     # required only for ami type
    host: http://host:8773/services/Walrus            # default: http://s3.amazonaws.com; host used to upload AMI

How to test

  1. Navigate to directory boxgrinder-appliances/testing-appliances/jeos-appls/
  2. Execute
    boxgrinder-build fedora-15-jeos.appl -p ec2 -d ami
  3. Launch an instance of your new JEOS AMI, it should have been registered automatically
  4. Log in via SSH with user: ec2user password: boxgrinder
  5. 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. AMI boots successfully, and can log into the EC2 appliance without error
  4. QA:Network_basic_test_case is performed successfully on the new appliance