Directory not writable before file write attempt
Service
cupixworks-worker
Occurrences
210
Status
Dismissed
Confidence
85%
Actionability
28%
Cluster ID
8e0b11d4-1d4d-449a-8c3f-bff0ca776c07
First Seen
2026-06-22 05:02 UTC
Last Seen
2026-06-23 23:09 UTC
Actions
현재 상태 dismissed 에서는 실행할 액션이 없습니다.
Directory not writable before file write attempt
What Happened#
2026-06-22 14:02 KST부터 약 2시간 동안 eu-central-1 리전의 cupixworks-worker(Sidekiq) 인스턴스에서 SavePartialJsonToFileWorker가 /var/data_changes/reviewers/partial/2026-06-22/euce1 디렉터리에 partial JSON gz 파일을 쓰지 못해 Errno::EACCES가 37건 기록되었다. 디렉터리 소유자는 root:root(uid 0/gid 0)인데 worker 프로세스는 webapp(uid 900)으로 실행되어, 0755 권한 하에서 write 권한이 없는 상태였다. 결과적으로 CDC(Change Data Capture)용 partial JSON이 디스크에 기록되지 않아 데이터 레이크 동기화에서 누락된다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Errno::EACCES |
| exception.message | Permission denied - Directory /var/data_changes/reviewers/partial/2026-06-22/euce1 is not writable (permissions: 755) |
| top_frame | app/models/concerns/data_ware_house/partial_json.rb:187 |
| runtime | Sidekiq 7.3.9 / Ruby 3.3.0 / Rails 7.2.2 |
| deploy | production-eu-central-1-20260618T0620Z0-0938bde6-cupixworks |
| env | production / eu-central-1 (host ip-10-1-80-125.eu-central-1.compute.internal) |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
DataWareHouse / CDC (Reviewer model) |
37 | partial JSON이 디스크에 저장되지 않아 sync_datalake.sh가 S3 데이터 레이크에 업로드하지 못함. Reviewer 모델 변경분이 데이터 레이크에서 누락됨. |
Timeline#
- 2026-06-22 14:02 KST —
Reviewer모델 변경에 따른SavePartialJsonToFileWorker실행,/var/data_changes/reviewers/partial/2026-06-22/euce1쓰기 시도 →Errno::EACCES최초 발생 (first_seen). - 2026-06-22 14:02 ~ 16:06 KST — 동일 디렉터리에 대한 쓰기 실패가 37회 반복 (
occurrence_count: 37). - 2026-06-22 16:06 KST — 가장 최근 발생 (
last_seen). 디렉터리 소유권/권한이 갱신되지 않는 한 다음 일자 디렉터리(2026-06-23/...)에서도 재현 가능성 있음. - (연관) 이 클러스터는 status-board의 active 인시던트
2026-06-22-svc-cupixworks-worker-2에 묶여 있으나, 본 root cause는 해당 서비스 인시던트와 독립적인 파일 시스템 권한 문제로 확인됨.
Scoring#
Confidence 85% · Actionability 28%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 15 code refs, 5 log queries |
| Code path explicitness | 3/3 | 15 file:line refs |
| Log evidence | 3/3 | section, query, pattern |
| RCA structure | 3/3 | 3/3 sections |
| Revision history | 0/3 | 0 revision(s) |
| Agent execution | 3/3 | success |
Actionability#
| Dimension | Score | Detail |
|---|---|---|
| Fix complexity | 1/5 | critical |
| Affected files | 1/5 | 23 file(s) |
| Single repo | 1/3 | 2 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 0/3 | no test info |
| External dependency | 1/3 | external deps found |
| Data migration | 3/3 | no migration |