Quiet gunicorn's control socket error; contract doc: memory is live #13
No files matched your search
@@ -10,7 +10,7 @@ Group=thor
|
|||||||
WorkingDirectory=/opt/thor/app
|
WorkingDirectory=/opt/thor/app
|
||||||
# THOR_SHA, written by thor_deploy.sh: the commit /health reports.
|
# THOR_SHA, written by thor_deploy.sh: the commit /health reports.
|
||||||
EnvironmentFile=-/opt/thor/revision.env
|
EnvironmentFile=-/opt/thor/revision.env
|
||||||
ExecStart=/opt/thor/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8000 --access-logfile - thor.web.wsgi:app
|
ExecStart=/opt/thor/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8000 --no-control-socket --access-logfile - thor.web.wsgi:app
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
|
|||||||
+3
-1
@@ -47,7 +47,9 @@ Authorization: Bearer <your app's key>
|
|||||||
```
|
```
|
||||||
- **`covered`** is true only when there is a ticket you can comment on: an incident with a live
|
- **`covered`** is true only when there is a ticket you can comment on: an incident with a live
|
||||||
ticket, or a known condition with a tracking ticket. **`ticket_id`** is that ticket.
|
ticket, or a known condition with a tracking ticket. **`ticket_id`** is that ticket.
|
||||||
- While a Thor check runs in **shadow** (all of phase 1), its incidents are listed with
|
- Each Thor check is off, shadow or live (set per check in `/etc/thor/thor.json`). Since
|
||||||
|
2026-11-27 the memory check is **live**; reboots, fencing and Ceph are still in shadow.
|
||||||
|
- While a Thor check runs in **shadow**, its incidents are listed with
|
||||||
`"mode": "shadow"` and `"ticket_id": null`, and they do **not** make `covered` true: there is
|
`"mode": "shadow"` and `"ticket_id": null`, and they do **not** make `covered` true: there is
|
||||||
nothing in Tinker to comment on, so open your own ticket. Logging the shadow incident's key
|
nothing in Tinker to comment on, so open your own ticket. Logging the shadow incident's key
|
||||||
next to your ticket helps the comparison before Thor goes live.
|
next to your ticket helps the comparison before Thor goes live.
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
flask>=3.0
|
flask>=3.0
|
||||||
gunicorn>=22
|
gunicorn>=27 # --no-control-socket (deploy/systemd/thor.service)
|
||||||
pymysql>=1.1
|
pymysql>=1.1
|
||||||
requests>=2.32
|
requests>=2.32
|
||||||
pyjwt[crypto]>=2.9
|
pyjwt[crypto]>=2.9
|
||||||
Reference in new issue
Block a user