fix(litellm-health): run the key-list admin call on the gateway host, not inside the container #84

Merged
abiba-bot merged 1 commits from fix-litellm-health-registry-20260912 into master 2026-09-13 03:20:05 +00:00
+3
View File
@@ -177,6 +177,9 @@ contracts — read them there. Do not re-add retired names (`gemma-4-12b`, `gpu-
8. **Check agent keys**: 8. **Check agent keys**:
- GET http://{{backend_host}}/litellm/key/list with master key (admin endpoint) → verify all 6 agents have keys - GET http://{{backend_host}}/litellm/key/list with master key (admin endpoint) → verify all 6 agents have keys
- **IMPORTANT**: Run the curl on the CT 116 HOST, not inside the container. The `harness-litellm` container has no curl/wget. Use:
`ssh root@192.168.68.116 "curl -s -H 'Authorization: Bearer $MASTER_KEY' http://127.0.0.1:4000/key/list"`
- If the response is empty or unparseable, report `admin-call-failed` (not "0 agent keys")
9. **Check Grafana**: 9. **Check Grafana**:
- GET {{grafana_url}}/api/health → expect 200 - GET {{grafana_url}}/api/health → expect 200