From Fedora Project Wiki

Revision as of 21:25, 19 November 2014 by Roshi (talk | contribs) (Created page with "{{QA/Test_Case |description= A simple validation test case for Fedora Atomic Hosts. |setup= # This testcase can be run locally with [http://github.com/Rorosha/testCloud testCl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

A simple validation test case for Fedora Atomic Hosts.

Setup

  1. This testcase can be run locally with testCloud or on a cloud provider (Openstack or EC2).
  2. Make sure that your security group allows for SSH (default tcp port 22)
  3. The following User-data can be used:
#cloud-config
  password: passw0rd
  chpasswd: { expire: False }
  ssh_pwauth: True
  runcmd:
    - [ sh, -c, 'echo -e "ROOT_SIZE=4G\nDATA_SIZE=10G" > /etc/sysconfig/docker-storage-setup']
Disk Size
You might need to resize the image if you're running it locally. testCloud handles this for you just like Openstack or EC2.

How to test

  1. Boot image with proper user-data
  2. SSH into booted image

Expected Results

  1. The image launches successfully
  2. You can login to the instance over SSH as fedora and you have sudo access
  3. The instance doesn't crash or show any errors that aren't present in a bare-metal system