Files
mtusi2026lab5-fork/docs/lab4/evidence/s3_bootstrap.txt

226 lines
7.6 KiB
Plaintext

# 2026-11-04 14:03:57 UTC | S3 bootstrap: лог первого запуска s3-init | exit 0 | 0.3s
$ docker compose --env-file .env logs --no-color s3-init
s3-init-1 | {
s3-init-1 | "endpoint_host": "s3",
s3-init-1 | "bucket": "messenger-attachments",
s3-init-1 | "checks": [
s3-init-1 | {
s3-init-1 | "check": "api credentials: put/get own bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": ""
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous GET object is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list bucket is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list buckets is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot create buckets",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot delete the bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "SeaweedFS admin/UI ports are not reachable on the shared network",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "checked [9333, 8888, 8080, 19333, 18888]"
s3-init-1 | }
s3-init-1 | ],
s3-init-1 | "bucket_action": "already exists (idempotent no-op)",
s3-init-1 | "ok": true
s3-init-1 | }
s3-init-1 | {
s3-init-1 | "endpoint_host": "s3",
s3-init-1 | "bucket": "messenger-attachments",
s3-init-1 | "checks": [
s3-init-1 | {
s3-init-1 | "check": "api credentials: put/get own bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": ""
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous GET object is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list bucket is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list buckets is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot create buckets",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot delete the bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "SeaweedFS admin/UI ports are not reachable on the shared network",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "checked [9333, 8888, 8080, 19333, 18888]"
s3-init-1 | }
s3-init-1 | ],
s3-init-1 | "bucket_action": "already exists (idempotent no-op)",
s3-init-1 | "ok": true
s3-init-1 | }
s3-init-1 | {
s3-init-1 | "endpoint_host": "s3",
s3-init-1 | "bucket": "messenger-attachments",
s3-init-1 | "checks": [
s3-init-1 | {
s3-init-1 | "check": "api credentials: put/get own bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": ""
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous GET object is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list bucket is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list buckets is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot create buckets",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot delete the bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "SeaweedFS admin/UI ports are not reachable on the shared network",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "checked [9333, 8888, 8080, 19333, 18888]"
s3-init-1 | }
s3-init-1 | ],
s3-init-1 | "bucket_action": "already exists (idempotent no-op)",
s3-init-1 | "ok": true
s3-init-1 | }
s3-init-1 | {
s3-init-1 | "endpoint_host": "s3",
s3-init-1 | "bucket": "messenger-attachments",
s3-init-1 | "checks": [
s3-init-1 | {
s3-init-1 | "check": "api credentials: put/get own bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": ""
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous GET object is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list bucket is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "anonymous list buckets is denied",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "HTTP 403"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot create buckets",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "api credentials cannot delete the bucket",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "AccessDenied"
s3-init-1 | },
s3-init-1 | {
s3-init-1 | "check": "SeaweedFS admin/UI ports are not reachable on the shared network",
s3-init-1 | "ok": true,
s3-init-1 | "detail": "checked [9333, 8888, 8080, 19333, 18888]"
s3-init-1 | }
s3-init-1 | ],
s3-init-1 | "bucket_action": "already exists (idempotent no-op)",
s3-init-1 | "ok": true
s3-init-1 | }
# 2026-11-04 14:04:00 UTC | S3 bootstrap: повторный запуск (идемпотентность) | exit 0 | 2.3s
$ docker compose --env-file .env run --rm -T s3-init
Container messenger-lab4-s3-1 Running
Container messenger-lab4-s3-1 Waiting
Container messenger-lab4-s3-1 Healthy
Container messenger-lab4-s3-init-run-8fa89d92841c Creating
Container messenger-lab4-s3-init-run-8fa89d92841c Created
{
"endpoint_host": "s3",
"bucket": "messenger-attachments",
"checks": [
{
"check": "api credentials: put/get own bucket",
"ok": true,
"detail": ""
},
{
"check": "anonymous GET object is denied",
"ok": true,
"detail": "HTTP 403"
},
{
"check": "anonymous list bucket is denied",
"ok": true,
"detail": "HTTP 403"
},
{
"check": "anonymous list buckets is denied",
"ok": true,
"detail": "HTTP 403"
},
{
"check": "api credentials cannot create buckets",
"ok": true,
"detail": "AccessDenied"
},
{
"check": "api credentials cannot delete the bucket",
"ok": true,
"detail": "AccessDenied"
},
{
"check": "SeaweedFS admin/UI ports are not reachable on the shared network",
"ok": true,
"detail": "checked [9333, 8888, 8080, 19333, 18888]"
}
],
"bucket_action": "already exists (idempotent no-op)",
"ok": true
}