Improve turnip-api service resiliency
Bug #1982814 reported by
Thomas Cuthbert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
turnip |
Fix Released
|
High
|
Colin Watson |
Bug Description
Currently turnip-api will not recover after a crash, requiring manual intervention to restart the service. Systemd[^1] provides some useful options for attempting a service restart and hard failing if the process remains unstable for a duration.
Are we able to update the turnip-api service definitions to include a systemd restart policy?
[^1]: https:/
Related branches
~cjwatson/turnip:charm-restart-services
Merged
into
turnip:master
- Guruprasad: Approve
-
Diff: 96 lines (+8/-0)8 files modifiedcharm/turnip-api/templates/turnip-api.service.j2 (+1/-0)
charm/turnip-celery/templates/turnip-celery-repack.service.j2 (+1/-0)
charm/turnip-celery/templates/turnip-celery.service.j2 (+1/-0)
charm/turnip-pack-backend/templates/turnip-pack-backend.service.j2 (+1/-0)
charm/turnip-pack-frontend-git/templates/turnip-pack-frontend-git.service.j2 (+1/-0)
charm/turnip-pack-frontend-http/templates/turnip-pack-frontend-http.service.j2 (+1/-0)
charm/turnip-pack-frontend-ssh/templates/turnip-pack-frontend-ssh.service.j2 (+1/-0)
charm/turnip-pack-virt/templates/turnip-pack-virt.service.j2 (+1/-0)
Changed in turnip: | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in turnip: | |
status: | In Progress → Fix Released |
To post a comment you must log in.