From c21811fd09ee8352507b05d18e70c46aa492b40b Mon Sep 17 00:00:00 2001 From: Matt Dawson Date: Wed, 1 Jul 2026 12:15:06 -0700 Subject: [PATCH 1/3] update ceph health check --- docker-compose.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6bef710..e4d6bc9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,11 +9,15 @@ services: - "9000:8080" - "9001:8443" healthcheck: - # Mark healthy only when the RGW/S3 HTTP endpoint is reachable. - test: [ "CMD-SHELL", "curl -fsS http://127.0.0.1:8080/ >/dev/null || wget -q -O- http://127.0.0.1:8080/ >/dev/null" ] + # Two-part check: + # 1. ceph osd stat: verifies at least one OSD has joined the cluster. + # 2. curl: confirms the RGW HTTP listener is accepting connections. + # NOTE: ceph health is NOT used here — this image permanently sits at HEALTH_WARN due to + # AUTH_INSECURE_GLOBAL_ID_RECLAIM_ALLOWED and MON_MSGR2_NOT_ENABLED, so it never passes. + test: [ "CMD-SHELL", "ceph osd stat 2>/dev/null | grep -qE '[1-9][0-9]* up' && curl -s http://127.0.0.1:8080/ >/dev/null 2>&1" ] interval: 10s - timeout: 5s - retries: 3 + timeout: 10s + retries: 10 start_period: 30s integration-tests: From 1527701123351e70923b6c7c8f3847fcd815e63a Mon Sep 17 00:00:00 2001 From: Matt Dawson Date: Wed, 1 Jul 2026 12:26:19 -0700 Subject: [PATCH 2/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e4d6bc9..f995aa7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: # 2. curl: confirms the RGW HTTP listener is accepting connections. # NOTE: ceph health is NOT used here — this image permanently sits at HEALTH_WARN due to # AUTH_INSECURE_GLOBAL_ID_RECLAIM_ALLOWED and MON_MSGR2_NOT_ENABLED, so it never passes. - test: [ "CMD-SHELL", "ceph osd stat 2>/dev/null | grep -qE '[1-9][0-9]* up' && curl -s http://127.0.0.1:8080/ >/dev/null 2>&1" ] + test: [ "CMD-SHELL", "ceph osd stat 2>/dev/null | grep -qE '[1-9][0-9]* up' && (curl -fsS http://127.0.0.1:8080/ >/dev/null 2>&1 || wget -q -O- http://127.0.0.1:8080/ >/dev/null 2>&1)" ] interval: 10s timeout: 10s retries: 10 From 628f83b2e0bd6f3bd46491b4c97798e99c7d9ba5 Mon Sep 17 00:00:00 2001 From: Matt Dawson Date: Wed, 1 Jul 2026 12:33:09 -0700 Subject: [PATCH 3/3] undo copilot changes --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f995aa7..e4d6bc9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: # 2. curl: confirms the RGW HTTP listener is accepting connections. # NOTE: ceph health is NOT used here — this image permanently sits at HEALTH_WARN due to # AUTH_INSECURE_GLOBAL_ID_RECLAIM_ALLOWED and MON_MSGR2_NOT_ENABLED, so it never passes. - test: [ "CMD-SHELL", "ceph osd stat 2>/dev/null | grep -qE '[1-9][0-9]* up' && (curl -fsS http://127.0.0.1:8080/ >/dev/null 2>&1 || wget -q -O- http://127.0.0.1:8080/ >/dev/null 2>&1)" ] + test: [ "CMD-SHELL", "ceph osd stat 2>/dev/null | grep -qE '[1-9][0-9]* up' && curl -s http://127.0.0.1:8080/ >/dev/null 2>&1" ] interval: 10s timeout: 10s retries: 10