Enforce website storage quotas on ext4 web nodes #33

Merged
parkel merged 3 commits from feature/website-storage-quotas into main 2026-11-21 14:20:21 +01:00
Owner

Summary

  • Add hard per-site-user storage quotas on dedicated ext4 web volumes.
  • Offer a first-apply default in hosting plans and let operators apply, change, or clear the limit for deployed websites.
  • Show the last confirmed limit alongside website storage usage. Use the existing local web worker for updates.
  • Add inspection and update commands for separate web nodes and document the filesystem setup.

Verification

  • Ruff formatting and lint checks passed. All 284 tests passed and the migration check found no additional changes.
  • In an isolated Ubuntu VM, verified that Linux rejects writes above the limit, keeps the existing inode limits, isolates a second site user, and rejects incompatible nested mounts.
  • Verified raising, lowering, and clearing limits, plus the route from the panel through Celery and the Unix socket to the kernel quota.
## Summary - Add hard per-site-user storage quotas on dedicated ext4 web volumes. - Offer a first-apply default in hosting plans and let operators apply, change, or clear the limit for deployed websites. - Show the last confirmed limit alongside website storage usage. Use the existing local web worker for updates. - Add inspection and update commands for separate web nodes and document the filesystem setup. ## Verification - Ruff formatting and lint checks passed. All 284 tests passed and the migration check found no additional changes. - In an isolated Ubuntu VM, verified that Linux rejects writes above the limit, keeps the existing inode limits, isolates a second site user, and rejects incompatible nested mounts. - Verified raising, lowering, and clearing limits, plus the route from the panel through Celery and the Unix socket to the kernel quota.
parkel added 3 commits 2026-11-21 14:11:03 +01:00
Document web quota volumes and operator workflows
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
2f85d88ea8
parkel merged commit 1844271bba into main 2026-11-21 14:20:21 +01:00
parkel deleted branch feature/website-storage-quotas 2026-11-21 14:20:21 +01:00
Sign in to join this conversation.