From Fedora Project Wiki

(Add GCP test case)
 
m (Kparal moved page User:Dustymabe/Draft/Testcase CoreOS gcp to QA:Testcase CoreOS GCP: make it official)
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|setup=
|setup=
# Create a [https://cloud.google.com/ GCP] account.
# Create a [https://cloud.google.com/ GCP] account.
# Install the [https://cloud.google.com/sdk/gcloud gcloud CLI], unless you plan to use the web console.
#* Note there is an option to run it from a container.


|actions=
|actions=
# Follow the [https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-gcp/ Booting on GCP] documentation to launch the latest image in the <code>fedora-coreos-next</code> image family.
# Follow the [https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-gcp/ Booting on GCP] documentation to launch the latest image in the <code>fedora-coreos-next</code> image family.
# Use the gcloud CLI or the web frontend to discover the IP address for the launched instand and then SSH to the new instance using `ssh username@ipaddress` (replace ''username'' and ''ipaddress'' with actual values).
# Use the gcloud CLI or the web frontend to discover the IP address for the launched instance and then SSH into it using `ssh username@ipaddress` (replace ''username'' and ''ipaddress'' with actual values).
#* If you did not provide a custom Ignition file and only provided a SSH key-pair, then the default username to use is `core`.
#* If you did not provide a custom Ignition file and only provided a SSH key-pair, then the default username to use is `core`.
# Don't forget to terminate your instance after you're done with testing, so that you don't end up paying for an eternal-running machine.
# Don't forget to terminate your instance after you're done with testing, so that you don't end up paying for an eternal-running machine.


|results=
|results=
# The system launches in AWS according to the instructions.
# The system launches in GCP according to the instructions.
# You can connect through SSH.
# You can connect through SSH.
# The linked documentation is clear, all steps are understandable, and nothing important is missing from it.
# The linked documentation is clear, all steps are understandable, and nothing important is missing from it.

Revision as of 20:35, 5 June 2020

Description

Launch Fedora CoreOS in Google Cloud Platform from the fedora-coreos-next image family.

Idea.png
Free of charge
At the time of writing this test case, FCOS could be launched free of charge in GCP, making it possible to run this test case without paying for it.

Setup

  1. Create a GCP account.
  2. Install the gcloud CLI, unless you plan to use the web console.
    • Note there is an option to run it from a container.

How to test

  1. Follow the Booting on GCP documentation to launch the latest image in the fedora-coreos-next image family.
  2. Use the gcloud CLI or the web frontend to discover the IP address for the launched instance and then SSH into it using ssh username@ipaddress (replace username and ipaddress with actual values).
    • If you did not provide a custom Ignition file and only provided a SSH key-pair, then the default username to use is core.
  3. Don't forget to terminate your instance after you're done with testing, so that you don't end up paying for an eternal-running machine.

Expected Results

  1. The system launches in GCP according to the instructions.
  2. You can connect through SSH.
  3. The linked documentation is clear, all steps are understandable, and nothing important is missing from it.

Optional

  1. Instead of providing just a SSH key-pair, familiarize yourself with FCOS provisioning philosophy and create an Ignition file (copying the simplest example is fine). Then run this test case again, this time using your custom Ignition file.
  2. Instead of launching the GCP instance from the command line, use GCP web console to launch it.