View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000029 | CAMAP/InterAMAP44 | CAMAP | public | 2023-05-18 12:52 | 2023-07-08 15:59 |
Reporter | Amaury | Assigned To | Amaury | ||
Priority | normal | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | ||
Platform | GandiVPS | OS | Debian | OS Version | 11 |
Product Version | Preprod | ||||
Target Version | Preprod | Fixed in Version | v1 (Prod InterAMAP44) | ||
Summary | 0000029: Crash containers nest-camap | ||||
Description | Crash du container nest-camap | ||||
Tags | No tags attached. | ||||
|
copier le script monitor-nest.sh dans /srv/data/CAMAP Ajouter /5 * /srv/data/CAMAP/monitor-nest.sh 1>/dev/null 2>&1 dans le cron monitor-nest.sh (350 bytes)
#!/bin/bash # Tente une connexion sur nest-camap port 3010 # Si échec fait un restart if [ -f PAUSE ] then exit else curl "http://nest-camap.docker:3010" > /dev/null 2>&1 UP=$? fi if [ $UP -ne 0 ] then cd /srv/data/CAMAP/camap-ts/docker-compose docker compose restart nest-camap echo "restarting nest-camap" fi |
|
Pour suspendre le monitoring si l'on veut arrêter les containers volontairement, créer un fichier PAUSE dans /srv/data/CAMAP touch /srv/data/CAMAP/PAUSE |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-18 12:52 | Amaury | New Issue | |
2023-05-18 12:52 | Amaury | Status | new => assigned |
2023-05-18 12:52 | Amaury | Assigned To | => Amaury |
2023-05-18 12:54 | Amaury | Note Added: 0000034 | |
2023-05-18 12:54 | Amaury | File Added: monitor-nest.sh | |
2023-05-18 12:54 | Amaury | Summary | Crash containers CAMAP => Crash containers nest-camap |
2023-05-18 12:54 | Amaury | Description Updated | |
2023-05-18 12:54 | Amaury | Status | assigned => resolved |
2023-05-18 12:54 | Amaury | Resolution | open => fixed |
2023-05-18 12:55 | Amaury | Note Added: 0000035 | |
2023-05-24 21:55 | Amaury | Target Version | v1 (Prod InterAMAP44) => |
2023-05-24 22:02 | Amaury | Target Version | => Preprod |
2023-07-08 15:59 | Amaury | Status | resolved => closed |
2023-07-08 15:59 | Amaury | Fixed in Version | => v1 (Prod InterAMAP44) |
2023-07-15 16:49 | Amaury | Category | CAMAP Amap44 => CAMAP |