Maintained by: Rahim Khoja ([email protected]) & Karim Ali ([email protected])
This repository contains a hardened Ceph node image based on Ubuntu 22.04, built into a Docker container that is Warewulf-compatible and deployable on bare metal.
It's primarily used for imaging and provisioning Ceph storage nodes using Warewulf 4 in high-performance computing and research storage clusters.
The image includes the full Ceph stack (MON, MGR, OSD, MDS, RGW) and CIS security hardening using the SCAP Security Guide.
The image is automatically built and pushed to Docker Hub using GitHub Actions whenever changes are pushed to the latest branch.
Docker Hub: rkhoja/warewulf-ceph:latest
docker pull rkhoja/warewulf-ceph:latestThis container includes:
- Ceph Quincy (installed from official Ceph repos)
- All Ceph daemons:
ceph-mon,ceph-mgr,ceph-osd,ceph-mds,radosgw - SSH, NFS client, LVM, SMART tools, NVMe CLI
- Filesystem utilities: Btrfs, XFS, ext4, ZFS-ready kernel modules (if required)
- SCAP CIS Level 2 hardening (automatically applied)
- Systemd-based boot compatible with Warewulf PXE deployments
- Pre-created
cephuser (UID/GID 167) with correct directory permissions changemeroot password (change in production!)
Ceph (docs) is ready for manual cluster bootstrapping or integration with cephadm.
This project includes a GitHub Actions workflow: .github/workflows/deploy-warewulf-ceph.yml.
- Builds the Docker image from the
Dockerfile - Logs into Docker Hub using stored GitHub Secrets
- Pushes the image tagged as the current branch (usually
latest)
To enable pushing to your Docker Hub:
-
Go to your fork's GitHub repo → Settings → Secrets and variables → Actions
-
Add the following:
DOCKER_HUB_REPO→ your Docker Hub repo. In this case: rkhoja/warewulf-cephDOCKER_HUB_USER→ your Docker Hub usernameDOCKER_HUB_TOKEN→ create a Docker Hub access token
-
Manual: Run the workflow from the Actions tab with Run workflow (enabled via
workflow_dispatch). -
Automatic: Any push to the
latestbranch triggers the CI/CD pipeline. -
Recommended branching model:
- Work and test in
main - Merge or fast-forward
maintolatestto trigger a production build
- Work and test in
git checkout latest
git merge main
git push origin latestOnce you have Warewulf 4 setup on your control node:
wwctl image import --build --force docker://rkhoja/warewulf-ceph:latest cephWarewulf overlays included are examples. It assumes only one IP for each node. Profiles were configured in Warewulf as follows:
Many Bothans died to bring us this information. This project is provided as-is, but reasonable questions may be answered based on my coffee intake or mood. ;)
Feel free to open an issue or email [email protected] or [email protected] for U of A related deployments.
This project is released under the MIT License - one of the most permissive open-source licenses available.
What this means:
- ✅ Use it for anything (personal, commercial, whatever)
- ✅ Modify it however you want
- ✅ Distribute it freely
- ✅ Include it in proprietary software
The only requirement: Keep the copyright notice somewhere in your project.
That's it! No other strings attached. The MIT License is trusted by major projects worldwide and removes virtually all legal barriers to using this code.
Full license text: MIT License
The Research Computing Group supports high-performance computing, data-intensive research, and advanced infrastructure for researchers at the University of Alberta and across Canada.
We help design and operate compute environments that power innovation — from AI training clusters to national research infrastructure.