Store private attachments in S3 with bounded uploads and safe reconciliation

This commit is contained in:
2026-10-16 17:16:07 +03:00
parent ec540a1a72
commit 5af28139c3
37 changed files with 2645 additions and 38 deletions
+173
View File
@@ -0,0 +1,173 @@
{
"public_smoke": "PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.",
"negative_uploads": {
"oversize": 413,
"corrupt": 415,
"truncated": 415,
"mismatch": 415,
"unsupported": 415,
"path": 400,
"backslash": 400,
"control": 400,
"pixels": 413
},
"attachment_acl_and_canonical_body": "foreign/unknown attachments 404; absent and [] attachment_ids replay same message",
"private_bucket": {
"anonymous_get": 403,
"api_create_other_bucket": 403,
"api_write_outside_prefix": 403
},
"upload_then_stop_download": {
"stopped_container": "a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62",
"uploader_instance": "f47f01494e104a8cb695f06e3fb350cb",
"downloader_instance": "7f5408689e7e4d9ea143d3308938f777",
"sha256_matches": true
},
"interrupted_upload": "partial body closed: no attachment metadata",
"s3_down_status": 503,
"bootstrap_repeat": "Private bucket ready; bootstrap is repeatable",
"public_persistence": "Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.\nPASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.",
"public_failover": "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 97, \"failed_attempts\": 2, \"first_recovery_seconds\": 4.39}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.",
"concurrent_uploads": {
"clients": 10,
"bytes_each": 8104028,
"before_memory_kib": {
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165": {
"VmRSS": 96168,
"VmHWM": 128148
},
"a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62": {
"VmRSS": 93304,
"VmHWM": 119040
}
},
"after_memory_kib": {
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165": {
"VmRSS": 143676,
"VmHWM": 143744
},
"a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62": {
"VmRSS": 132760,
"VmHWM": 132828
}
},
"uploads": [
{
"i": 0,
"seconds": 5.971,
"statuses": [
503,
503,
503,
503,
503,
503,
503,
503,
503,
503,
503,
201
]
},
{
"i": 1,
"seconds": 3.902,
"statuses": [
201
]
},
{
"i": 2,
"seconds": 3.925,
"statuses": [
201
]
},
{
"i": 3,
"seconds": 5.541,
"statuses": [
503,
503,
503,
503,
503,
503,
201
]
},
{
"i": 4,
"seconds": 5.485,
"statuses": [
503,
503,
503,
503,
503,
503,
201
]
},
{
"i": 5,
"seconds": 5.879,
"statuses": [
503,
503,
503,
503,
503,
503,
503,
503,
503,
503,
201
]
},
{
"i": 6,
"seconds": 5.305,
"statuses": [
503,
503,
503,
503,
503,
503,
201
]
},
{
"i": 7,
"seconds": 5.386,
"statuses": [
503,
503,
503,
503,
503,
503,
201
]
},
{
"i": 8,
"seconds": 3.839,
"statuses": [
201
]
},
{
"i": 9,
"seconds": 3.899,
"statuses": [
201
]
}
]
},
"passed": true
}
+114
View File
@@ -0,0 +1,114 @@
{
"put_before_database_failure": {
"http_status": 503,
"orphan": "originals/e727289d-3f10-4c0a-80fe-d67fa0d3e39b",
"metadata_rows": 0
},
"fresh_orphan_preserved": {
"apply": true,
"grace_seconds": 60,
"objects_scanned": 24,
"metadata_scanned": 21,
"fresh_skipped": 6,
"busy_skipped": 0,
"actions": [],
"elapsed_seconds": 0.227435
},
"dataset": "Created 200 synthetic object/metadata pairs",
"missing_dry_run": {
"apply": false,
"grace_seconds": 60,
"objects_scanned": 223,
"metadata_scanned": 221,
"fresh_skipped": 202,
"busy_skipped": 0,
"actions": [
{
"action": "delete_orphan",
"key": "originals/9b7c845c-ec7b-4bb5-b7e9-8b0ce004a8a1"
},
{
"action": "quarantine_missing",
"id": "456ebe3c-307c-4b09-8738-51bf109d6645"
}
],
"elapsed_seconds": 2.334789
},
"missing_quarantined": {
"apply": true,
"grace_seconds": 60,
"objects_scanned": 223,
"metadata_scanned": 221,
"fresh_skipped": 202,
"busy_skipped": 0,
"actions": [
{
"action": "delete_orphan",
"key": "originals/9b7c845c-ec7b-4bb5-b7e9-8b0ce004a8a1"
},
{
"action": "quarantine_missing",
"id": "456ebe3c-307c-4b09-8738-51bf109d6645"
}
],
"elapsed_seconds": 2.045356
},
"restored_from_fixture": {
"apply": true,
"grace_seconds": 60,
"objects_scanned": 223,
"metadata_scanned": 221,
"fresh_skipped": 203,
"busy_skipped": 0,
"actions": [
{
"action": "restore_ready",
"id": "456ebe3c-307c-4b09-8738-51bf109d6645"
}
],
"elapsed_seconds": 1.81951
},
"aged_orphan_dry_run": {
"apply": false,
"grace_seconds": 60,
"objects_scanned": 224,
"metadata_scanned": 221,
"fresh_skipped": 2,
"busy_skipped": 0,
"actions": [
{
"action": "delete_orphan",
"key": "originals/e727289d-3f10-4c0a-80fe-d67fa0d3e39b"
}
],
"elapsed_seconds": 1.43061
},
"aged_orphan_apply": {
"apply": true,
"grace_seconds": 60,
"objects_scanned": 224,
"metadata_scanned": 221,
"fresh_skipped": 2,
"busy_skipped": 0,
"actions": [
{
"action": "delete_orphan",
"key": "originals/e727289d-3f10-4c0a-80fe-d67fa0d3e39b"
}
],
"elapsed_seconds": 2.529683
},
"repeat_noop": {
"apply": true,
"grace_seconds": 60,
"objects_scanned": 223,
"metadata_scanned": 221,
"fresh_skipped": 2,
"busy_skipped": 0,
"actions": [],
"elapsed_seconds": 1.988552
},
"used_and_fresh_preserved": true,
"actual_grace_elapsed_seconds": 90.562,
"passed": true
}
+519
View File
@@ -0,0 +1,519 @@
{
"before": {
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165": {
"service": "api",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 36581,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:08:21.580671345Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:09:24.539239881Z",
"End": "2026-10-16T14:09:25.151496968Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:09:30.152780464Z",
"End": "2026-10-16T14:09:30.828131635Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:09:35.829816852Z",
"End": "2026-10-16T14:09:36.408127285Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:09:41.409748596Z",
"End": "2026-10-16T14:09:42.14110257Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2026-10-16T14:09:47.142902171Z",
"End": "2026-10-16T14:09:48.152735271Z",
"ExitCode": 0,
"Output": ""
}
]
}
}
},
"a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62": {
"service": "api",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 37800,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:08:53.330660301Z",
"FinishedAt": "2026-10-16T14:08:52.503750476Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:09:21.320428185Z",
"End": "2026-10-16T14:09:21.922559653Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:09:26.924424461Z",
"End": "2026-10-16T14:09:27.524476187Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:09:32.525560339Z",
"End": "2026-10-16T14:09:33.044744291Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:09:38.045504543Z",
"End": "2026-10-16T14:09:38.654444122Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:09:43.656141906Z",
"End": "2026-10-16T14:09:44.246486125Z",
"ExitCode": 0,
"Output": ""
}
]
}
}
},
"8f656628fbfbd15e7bdebc41a4ca9472fe7f8672ff6f59a6077387951e05948d": {
"service": "db",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 32882,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:06:24.580942977Z",
"FinishedAt": "2026-10-16T14:06:23.730651894Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:09:39.168440266Z",
"End": "2026-10-16T14:09:39.21813942Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:09:41.219958037Z",
"End": "2026-10-16T14:09:41.27147249Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:09:43.27276482Z",
"End": "2026-10-16T14:09:43.338549433Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:09:45.339720406Z",
"End": "2026-10-16T14:09:45.417240746Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:09:47.418480717Z",
"End": "2026-10-16T14:09:47.470069589Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
}
]
}
}
},
"278c682a81890c7593e820d466f58cda087cdf82a400cfde5e3cd348ad3bd68b": {
"service": "cache",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 32844,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:06:24.38084374Z",
"FinishedAt": "2026-10-16T14:06:23.718777344Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:09:40.339646203Z",
"End": "2026-10-16T14:09:40.364151102Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:09:42.364547455Z",
"End": "2026-10-16T14:09:42.384479581Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:09:44.385296431Z",
"End": "2026-10-16T14:09:44.423578703Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:09:46.424183162Z",
"End": "2026-10-16T14:09:46.449339435Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:09:48.450683641Z",
"End": "2026-10-16T14:09:48.47572017Z",
"ExitCode": 0,
"Output": "PONG\n"
}
]
}
}
},
"5607ad6e81a9c4d34445859c0ccce0ec80cbbc8c24f1b15e6aea03e43ebb4c04": {
"service": "lb",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 36887,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:08:27.927850062Z",
"FinishedAt": "2026-10-16T14:08:11.973547627Z"
}
},
"c43bc327744c7cc1791783959bd3b1360682bb2b87474065d74278733e302b00": {
"service": "s3",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 38743,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:09:22.72732595Z",
"FinishedAt": "2026-10-16T14:09:21.993526243Z"
}
},
"0c93d589240b0f5b65f97546cb9a268927eb96590d2de44934ccc527f2453b7a": {
"service": "reconciler",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 36601,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:08:21.589972218Z",
"FinishedAt": "0001-01-01T00:00:00Z"
}
}
},
"after": {
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165": {
"service": "api",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 40035,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:09:52.681710318Z",
"FinishedAt": "2026-10-16T14:09:52.02235909Z",
"Health": {
"Status": "starting",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:09:41.409748596Z",
"End": "2026-10-16T14:09:42.14110257Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2026-10-16T14:09:47.142902171Z",
"End": "2026-10-16T14:09:48.152735271Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2026-10-16T14:09:58.073831796Z",
"End": "2026-10-16T14:09:58.706791676Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:10:03.707608596Z",
"End": "2026-10-16T14:10:04.492799802Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:10:09.493136226Z",
"End": "2026-10-16T14:10:10.12209133Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
}
]
}
}
},
"a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62": {
"service": "api",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 40110,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:09:52.83002087Z",
"FinishedAt": "2026-10-16T14:09:52.108187969Z",
"Health": {
"Status": "starting",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:09:43.656141906Z",
"End": "2026-10-16T14:09:44.246486125Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2026-10-16T14:09:49.248279953Z",
"End": "2026-10-16T14:09:50.893724452Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2026-10-16T14:09:58.169949852Z",
"End": "2026-10-16T14:09:58.817003804Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:10:03.818532986Z",
"End": "2026-10-16T14:10:04.524799447Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
},
{
"Start": "2026-10-16T14:10:09.52543754Z",
"End": "2026-10-16T14:10:10.123620746Z",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 215, in urlopen\n return opener.open(url, data, timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 521, in open\n response = meth(req, response)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 630, in http_response\n response = self.parent.error(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 559, in error\n return self._call_chain(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 492, in _call_chain\n result = func(*args)\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/urllib/request.py\", line 639, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 503: Service Unavailable\n"
}
]
}
}
},
"8f656628fbfbd15e7bdebc41a4ca9472fe7f8672ff6f59a6077387951e05948d": {
"service": "db",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 39775,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:09:51.548282042Z",
"FinishedAt": "2026-10-16T14:09:51.045352054Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:10:02.900569926Z",
"End": "2026-10-16T14:10:02.953170019Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:10:04.954463426Z",
"End": "2026-10-16T14:10:05.017716373Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:10:07.018532825Z",
"End": "2026-10-16T14:10:07.069487806Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:10:09.070896767Z",
"End": "2026-10-16T14:10:09.139568759Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
},
{
"Start": "2026-10-16T14:10:11.140692794Z",
"End": "2026-10-16T14:10:11.217579429Z",
"ExitCode": 0,
"Output": "/var/run/postgresql:5432 - accepting connections\n"
}
]
}
}
},
"278c682a81890c7593e820d466f58cda087cdf82a400cfde5e3cd348ad3bd68b": {
"service": "cache",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 39809,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:09:51.75050958Z",
"FinishedAt": "2026-10-16T14:09:51.092619567Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-10-16T14:10:02.992360531Z",
"End": "2026-10-16T14:10:03.025255403Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:10:05.02582096Z",
"End": "2026-10-16T14:10:05.047883105Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:10:07.048190623Z",
"End": "2026-10-16T14:10:07.073697427Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:10:09.07443307Z",
"End": "2026-10-16T14:10:09.109965678Z",
"ExitCode": 0,
"Output": "PONG\n"
},
{
"Start": "2026-10-16T14:10:11.110407295Z",
"End": "2026-10-16T14:10:11.159880115Z",
"ExitCode": 0,
"Output": "PONG\n"
}
]
}
}
},
"5607ad6e81a9c4d34445859c0ccce0ec80cbbc8c24f1b15e6aea03e43ebb4c04": {
"service": "lb",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 39874,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:09:51.907192628Z",
"FinishedAt": "2026-10-16T14:09:50.984379631Z"
}
},
"c43bc327744c7cc1791783959bd3b1360682bb2b87474065d74278733e302b00": {
"service": "s3",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 40689,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:10:11.353256258Z",
"FinishedAt": "2026-10-16T14:10:11.012750159Z"
}
},
"0c93d589240b0f5b65f97546cb9a268927eb96590d2de44934ccc527f2453b7a": {
"service": "reconciler",
"state": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 39960,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-10-16T14:09:52.306778941Z",
"FinishedAt": "2026-10-16T14:09:51.807513915Z"
}
}
},
"volumes_removed": false
}
+11
View File
@@ -0,0 +1,11 @@
{
"target_instance": "001ae5c767bb4979a2a6a080bd8bf505",
"stopped_container": "a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62",
"before_containers": [
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165",
"a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62"
],
"after_running_containers": [
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165"
]
}