Cupix::Event logger init fails — permission denied on log file
Service
cupixworks-worker
Occurrences
737
Status
Reported
Confidence
85%
Actionability
44%
Cluster ID
2f55031e-5ab3-4298-9b98-ce26588b91f8
First Seen
2026-06-18 12:55 UTC
Last Seen
2026-07-23 07:55 UTC
Actions
Cupix::Event logger init fails — permission denied on log file
What Happened#
2026-06-18 21:55 ~ 22:25 KST 사이 cupixworks-worker (Sidekiq) 의 JobCallbackWorker 가 job_stopped_callback 실행 중 3회 실패했다. 실패 원인은 Cupix::Event singleton logger 가 /var/app/current/log/tesla_production-event.log 파일을 열 때 OS 레벨 Permission denied 가 발생한 것으로, 그 결과 state machine transition (stopped_state_with_error → job_stopped_callback) 안에서 raise 되어 callback worker 가 실패 상태로 종료됐다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Errno::EACCES (Permission denied @ rb_sysopen) |
| exception.message | Permission denied @ rb_sysopen - /var/app/current/log/tesla_production-event.log |
| top_frame | vendor/bundle/ruby/3.3.0/gems/logger-1.6.6/lib/logger/log_device.rb:114:in 'initialize' |
| app_frame | lib/cupix/event.rb:8:in 'initialize' |
| runtime | Ruby 3.3.0, Rails 7.2.2, logger 1.6.6, ActiveSupport::Logger |
| env | production, region us-west-2, tenant cupix |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
cupixworks-worker (Sidekiq jobs / Job state machine) |
3 | Job#stopped_state_with_error 후 job_stopped_callback 가 raise → state transition 불완전, downstream eventable / segment tracking 누락 |
Timeline#
- 2026-06-18 21:55 KST — 첫 발생:
Eventable::Events::Update.create_event가Permission denied @ rb_sysopen로그 출력 (Datadog). - 2026-06-18 21:55 KST —
JobCallbackWorker#perform가 동일 원인으로 실패 (clusterfirst_seen12:55:29 UTC). - 2026-06-18 22:25 KST — 동일 에러 2회 추가 발생 (
last_seen13:25:30 UTC, occurrence_count = 3). - 2026-06-18 22:25 KST — error-sweeper status-board 에서
cupixworks-worker서비스 디그레이드 인시던트 (2026-06-18-svc-cupixworks-worker-1) 의 다섯 번째 클러스터로 묶임.
상위 인시던트: Status Board — 2026-06-18-svc-cupixworks-worker-1 (서비스 단위 묶음, 본 클러스터는 독립적 root cause).
Scoring#
Confidence 85% · Actionability 44%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 26 code refs, 11 log queries |
| Code path explicitness | 3/3 | 26 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 | 29 file(s) |
| Single repo | 1/3 | 3 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 2/3 | test mentioned |
| External dependency | 3/3 | no external deps |
| Data migration | 3/3 | no migration |