From Fedora Project Wiki

Revision as of 18:15, 31 July 2013 by Mattdm (talk | contribs) (openstack cae)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

A simple validation test case for Fedora images on OpenStack; the specific actions used after spawning the instance are not important as anything beyond successfully spawning an instance from a Fedora image is covered by other test cases not specific to OpenStack.

More documentation on interacting with EC2 is available in the Fedora Cloud Guide.

Setup

  1. Use your own OpenStack deployment, or get an account in the Fedora Infrastructure Private Cloud
  2. Provide or create an SSH keypair
  3. Make sure that your security group allows for SSH (default tcp port 22)
  4. Log in to the Horizon dashboard
  5. Find the image URL at http://cloud.fedoraproject.org/ or as provided in release candidate documents.
  6. Add the image to OpenStack, either using the OpenStack web dashboard (see [http://openstack.redhat.com/Running_an_instance step 4 here) or with glance image-create --name "Fedora version" --disk-format qcow2 --container-format bare --is-public true --copy-from url

How to test

  1. Launch the instance (in the dashboard, under the "Images" heading, click the "Launch" button for the appropriate image
  2. Log in to the launched instance using the fedora user and the SSH keypair selected during instance launch
  3. Using a workflow you are familiar with, install packages and verify basic functionality

Expected Results

  1. The image launches successfully
  2. You can login to the instance over SSH as fedora and you have sudo access
  3. You can install packages from the yum repositories (For example, sudo yum -y install httpd.)
  4. The instance doesn't crash or show any errors that aren't present in a bare-metal system