User Tools

Site Tools


services:cobbler

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:cobbler [2019/08/12 13:40] – djgallowayservices:cobbler [2022/11/22 11:49] (current) – akraitman
Line 1: Line 1:
 ====== Cobbler ====== ====== Cobbler ======
 ===== Summary ===== ===== Summary =====
-[[https://cobbler.github.io/|Cobbler]] is used to reimage testnodes in the lab.  The Cobbler host is ''cobbler.front.sepia.ceph.com'' and is managed by Ansible.  It's a VM in [[services:RHEV]].+[[https://cobbler.github.io/|Cobbler]] is used to reimage testnodes in the lab.  The Cobbler host is ''cobbler.front.sepia.ceph.com'' and is managed by Ansible.  It's a bare metal machine that used to be mira065.
  
 Access the Web UI at https://cobbler.front.sepia.ceph.com/cobbler_web/ Access the Web UI at https://cobbler.front.sepia.ceph.com/cobbler_web/
Line 11: Line 11:
   - In the ''ceph-cm-ansible'' repo, there is a ''tools/cobbler-access.sh'' script.  Run it.   - In the ''ceph-cm-ansible'' repo, there is a ''tools/cobbler-access.sh'' script.  Run it.
   - Create a new branch named ''wip-username'' in the ''ceph-sepia-secrets'' repo   - Create a new branch named ''wip-username'' in the ''ceph-sepia-secrets'' repo
-  - Paste the output under ''------ String for cobbler.yml ------'' into a new line in ''ansible/inventory/group_vars/cobbler.yml'' under ''users_digest_lines''+  - Paste the output under ''%%------ String for cobbler.yml ------%%'' into a new line in ''ansible/inventory/group_vars/cobbler.yml'' under ''users_digest_lines''
   - git commit, git push the branch, and create a Pull Request   - git commit, git push the branch, and create a Pull Request
   - ''%%ansible-playbook cobbler.yml --tags="settings"%%''   - ''%%ansible-playbook cobbler.yml --tags="settings"%%''
Line 34: Line 34:
   - "vasu:Cobbler:XXXXX"   - "vasu:Cobbler:XXXXX"
   - "dmick:Cobbler:XXXXX"   - "dmick:Cobbler:XXXXX"
-+ - "bob:Cobbler:027abc2039e7495f72128d9c3c628686"++ - "bob:Cobbler:07a95ca759fd46e9416de672a5e2bb60"
 </code> </code>
  
Line 50: Line 50:
     - Set **Parent Profile** to ''$NEW_DISTRO_NAME''     - Set **Parent Profile** to ''$NEW_DISTRO_NAME''
     - **Save**     - **Save**
 +
 +==== RHEL in Sepia ====
 +Because RHEL ISOs are only available inside the Red Hat firewall, we can't add an ''http'' URL to the secrets repo.  To add a RHEL version:
 +
 +  - Find the ISO hosted inside the Red Hat firewall and download it
 +  - Once downloaded, ''scp'' the ISO to ''cobbler.front.sepia.ceph.com:/iso''
 +  - In the ceph-sepia-secrets repo, set the appropriate ''%%file:///iso/path%%''
  
 ==== Error adding brand new distro ==== ==== Error adding brand new distro ====
services/cobbler.1565617204.txt.gz · Last modified: by djgalloway