InvalidParameterException on task_id: arn:aws:ecs:us-west-2:619071347432:task/cupix-tesla-ece/48ecc8
Service
cupixvista-api
Occurrences
2
Status
Reported
Confidence
80%
Actionability
44%
Cluster ID
9740e6bb-9a13-43fc-bd12-8491db0132ef
First Seen
2026-07-01 08:53 UTC
Last Seen
2026-07-27 03:07 UTC
Actions
InvalidParameterException on task_id: arn:aws:ecs:us-west-2:619071347432:task/cupix-tesla-ece/48ecc8
What Happened#
2026-07-01 17:53 KST, cupixvista-api (tesla Rails) 서비스에서 Job 50639의 stop_tasks 흐름이 실행되면서 AwsTask#stop!이 ECS stop_task API를 호출했고, ECS가 InvalidParameterException: The referenced task was not found 응답을 반환했다. DB의 aws_tasks 레코드는 여전히 PENDING 상태였으나 실제 ECS task는 이미 제거되어 있었기 때문에 발생했다. 단일 인스턴스(occurrence_count: 1) 이벤트이며 사용자 요청은 정상 처리되었다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Aws::ECS::Errors::InvalidParameterException |
| exception.message | The referenced task was not found |
| top_frame | app/models/aws_task.rb:172-173 |
| env | production, us-west-2 |
| service | cupixvista-api (tesla repo, Rails) |
| affected job | Job 50639 (skat-master / create_capture) |
| affected task | AwsTask 49687, ECS task 48ecc8fc146c40e6b7f1da84a352577b |
| ecs cluster | cupix-tesla-ece |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cupixvista-api / Capture pipeline | 1 | Job 50639은 정상적으로 stopped 상태로 전이되었고 후속 콜백(job_stopped_callback)도 완료. 실제 사용자 영향은 없으며 error 로그만 남았다. |
Timeline#
- 2026-07-01 10:38:28 KST — AwsTask 49687 created (
task_id: 48ecc8fc…, job 50639, task-definitioncupix-skat-master-production-arm:1) - 2026-07-01 10:38:30 KST — Task fetched from ECS,
last_status: PENDING,desired_status: RUNNING - (간격 ~7h 15m) — 이후 24h 로그 창 내에서 이 task_id에 대한 추가
AwsTask#fetch!이벤트 없음. ECS 측에서 task가 이미 종료·리핑(reap)된 것으로 추정 (stopped-task-retention기본 1h) - 2026-07-01 17:53:48 KST — Job 50639 상태가
running → stopped로 전이,stop_tasks흐름이StopTaskWorker를 통해AwsTask#stop!호출 - 2026-07-01 17:53:48 KST — ECS가
InvalidParameterException: The referenced task was not found반환, error 로그 기록 (본 클러스터의 originating 이벤트) - 2026-07-01 17:53:48 KST —
JobCallbackWorker가job_stopped_callback정상 완료
Scoring#
Confidence 80% · Actionability 44%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 10 code refs, 5 log queries |
| Code path explicitness | 3/3 | 10 file:line refs |
| Log evidence | 2/3 | section, query |
| 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 | 5/5 | trivial |
| Affected files | 1/5 | 15 file(s) |
| Single repo | 1/3 | 3 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 |