User Tools

Site Tools


services:fog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
services:fog [2017/12/01 17:06]
djgalloway
services:fog [2020/11/13 22:17]
djgalloway [Adding a new distro]
Line 1: Line 1:
 ====== FOG ====== ====== FOG ======
 ===== Summary ===== ===== Summary =====
-[[https://​fogproject.org/​|FOG]] is in use in the Sepia lab that enables us to reimage baremetal testnodes before every job.+[[https://​fogproject.org/​|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. Our instance is currently hosted at http://​fog.front.sepia.ceph.com/​fog.
Line 9: Line 9:
  
 ===== How-Tos ===== ===== How-Tos =====
 +==== Adding a new distro ====
 +
 +The [[https://​github.com/​ceph/​ceph-build/​pull/​1706|Jenkins job]] does this automatically now.
 ==== Capturing OS images ==== ==== Capturing OS images ====
-This can be done manually by basically deciphering the bash monster in CEPH_BUILD_LINK_HERE+This can be done manually by basically deciphering the bash monster in https://​github.com/​ceph/​ceph-build/​tree/​master/​sepia-fog-images
  
   - Navigate to https://​jenkins.ceph.com/​job/​sepia-fog-images/​build?​delay=0sec   - Navigate to https://​jenkins.ceph.com/​job/​sepia-fog-images/​build?​delay=0sec
Line 20: Line 23:
 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. 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 ==== 
- 
-  - Update the friendly distro names in the ''​parameters''​ dictionary in THE_JENKINS_JOB_CONFIG 
-  - Update the Cobbler and FOG image names at the top of JENKINS_JOB_BUILD_SCRIPT 
-  - Create an Image in FOG for each machine type 
-    - Navigate to http://​fog.front.sepia.ceph.com/​fog/​management/​index.php?​node=image 
-    - Click **Create New Image** 
-    - Set **Image Name** to MACHINETYPE_DISTRO_DISTROVERSION. ​ (e.g., mira_centos_7.5) 
-    - Set **Image Path** to the image'​s name (e.g., /​images/​mira_centos_7.5) 
-    - Set **Operating System** to Linux (I'd hope) 
-    - Click **Add** 
-    - Repeat for each machine type! 
services/fog.txt ยท Last modified: 2023/07/14 22:41 by dmick