User Tools

Site Tools


services:fog

This is an old revision of the document!


FOG

Summary

FOG is in use in the Sepia lab. It enables us to reimage baremetal testnodes before every job.

Our instance is currently hosted at http://fog.front.sepia.ceph.com/fog.

Username: fog
Password: Standard root password

How-Tos

Capturing OS images

This can be done manually by basically deciphering the bash monster in CEPH_BUILD_LINK_HERE

  1. Choose which machine types and distros you want to capture images for
  2. Click Build
  3. …
  4. Profit

If capturing any image fails, the job is configured to cancel the OS capture and will leave the testnodes locked so you can debug/investigate.

Adding a new distro

  1. Update the friendly distro names in the parameters dictionary in THE_JENKINS_JOB_CONFIG
  2. Update the Cobbler and FOG image names at the top of JENKINS_JOB_BUILD_SCRIPT
  3. Create an Image in FOG for each machine type
    1. Click Create New Image
    2. Set Image Name to MACHINETYPE_DISTRO_DISTROVERSION. (e.g., mira_centos_7.5)
    3. Set Image Path to the image's name (e.g., /images/mira_centos_7.5)
    4. Set Operating System to Linux (I'd hope)
    5. Click Add
    6. Repeat for each machine type!
services/fog.1512157841.txt.gz · Last modified: by djgalloway