User Tools

Site Tools


services:cobbler

This is an old revision of the document!


WIP - Cobbler

Summary

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 RHEV.

Access the Web UI at https://cobbler.front.sepia.ceph.com/cobbler_web/

Reimaging/Reinstalling a host

Adding a new Distro

  1. Create an entry for the new distro in ceph-cm-ansible's root cobbler.yml
    1. If the distro's ISO is not publicly accessible (e.g., RHEL/inktank-rescue),
      1. Add a dummy entry (Distro name and blank iso var) to roles/cobbler_profile/defaults/main.yml
      2. Add to ansible/inventory/group_vars/cobbler.yml in the secrets repo
    2. Else if the distro's ISO is public (e.g., CentOS/Ubuntu), just add the iso path, sha256, etc. to roles/cobbler_profile/defaults/main.yml
  2. Run ansible-playbook cobbler.yml –tags=“$NEW_PROFILE_TAG” where $NEW_PROFILE_TAG is the tag created in Step 1
  3. In cobbler web UI, go to Profiles
    1. Click Create New Sub-profile
    2. Name it $NEW_DISTRO_NAME-stock
    3. Set Parent Profile to $NEW_DISTRO_NAME
    4. Save
services/cobbler.1467225736.txt.gz · Last modified: by dgalloway