feat: dedicated ceph volume for Forgejo [storage] (LFS/packages/attachments) (#188) #192
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!192
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/188-lfs-storage-tier"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Splits Forgejo's bulk object storage (LFS + packages + attachments) onto a dedicated standard-
cephCinder volume; repos + Postgres stay on ceph-ssd. Implements #188 (links #45).Fully gated / inert behind
forgejo_external_storage_enabled=false— merging changes nothing in prod.cephvolume (20 GB) + attach +lfs_volume_idoutput./srv/gitborg-lfs(by Cinder serial) →podman unshare chownto the git subuid → bind at/srv/storage→[storage] PATH;RequiresMountsForguards against writing storage to the root disk./srv/gitborg-lfswhen mounted (it leaves the named volumepodman volume exportcaptures).Cutover (separate, gated apply — NOT this PR):
tofu apply→ setlfs_volume_id→ extend the DR restore path (backup-drill + runbook) to unpackforgejo-storage.tar.gz→ flip the flag →ansible-playbook --tags forgejo,backup→ verify LFS/package push + backup contains the volume. Near-zero migration (storage empty today).55262b4bc0fe1aae5ed6