From Fedora Project Wiki
Coremodule (talk | contribs) |
m (testcloud: use inter-wiki link and page name, mark its section end correctly (no idea if it's needed)) |
||
Line 64: | Line 64: | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
# See [ | # See [[Local Test Cloud Installation Guide]] for instructions on installing and running a testcloud virtual instance. | ||
# Once SSH'ed into the virtual cloud instance, you can perform the tests below. NOTE: testcloud will work with both Fedora Cloud and Atomic images. | # Once SSH'ed into the virtual cloud instance, you can perform the tests below. NOTE: testcloud will work with both Fedora Cloud and Atomic images. | ||
</div> | </div> | ||
</div> <!--End | </div> <!--End Testcloud instructions --> |
Revision as of 09:33, 17 May 2016
Cloud Provider Setup
Expand one of the sections below for instructions on getting set up to run these testcases on a specific provider. More information can be found in the Fedora Cloud guide.
Amazon Web Services
- Get an AWS account (the approval process can take hours)
- Make sure that your security group allows for SSH (default tcp port 22)
- Log in to the AWS Management Console
- Obtain the AMI id of the newest Fedora image from http://cloud.fedoraproject.org/.
- Search for and select the desired AMI on the IMAGES/AMIs section of the EC2 console
- Launch an instance with the AMI under test
Openstack
- Use your own OpenStack deployment
- Provide or create an SSH keypair
- Make sure that your security group allows for SSH (default tcp port 22)
- Log in to the Horizon dashboard
- Find the image URL at http://cloud.fedoraproject.org/ or as provided in release candidate documents.
- Add the image to OpenStack, either using the OpenStack web dashboard (see step 4 here) or with glance image-create --name "Fedora version" --disk-format qcow2 --container-format bare --is-public true --copy-from url
- Launch the instance (in the dashboard, under the "Images" heading, click the "Launch" button for the appropriate image
Eucalyptus
- Use your own Eucalyptus deployment or account on the Eucalyptus Community Cloud[1]
- Make sure that your security group allows for SSH (default tcp port 22)
- Find the image URL at http://cloud.fedoraproject.org/ or as provided in release candidate documents.
- Add the image to Eucalyptus as follows:
$ wget -q URL for raw cloud image $ xz -d <Fedora Raw image>.xz $ euca-bundle-image -i <Fedora-image name>.raw -r x86_64 -d /var/tmp $ euca-upload-bundle -m /var/tmp/<Fedora image>.raw.manifest.xml -b fedora-production $ euca-register fedora-production/<Fedora image>.raw.manifest.xml --virtualization-type hvm --name "CoreOS-Production"
- Launch the instance using euca-run-instance -k keypair emi-<fedora image>
Testcloud Local
- See Local Test Cloud Installation Guide for instructions on installing and running a testcloud virtual instance.
- Once SSH'ed into the virtual cloud instance, you can perform the tests below. NOTE: testcloud will work with both Fedora Cloud and Atomic images.