fix(aws): a failed create leaks its VPC because the rollback deletes the route table while it is still associated
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- aws, go
- Área
- cloud, infrastructure
Línea de trabajo
Start with the cleanup stack in pkg/provider/aws/create.go, especially the route table setup around line 318, and compare its rollback order with delete.go. Add a fake EC2 client unit test that makes Create() fail after route table creation and checks that rollback deletes the VPC. The issue is done when cleanup removes the created resources and the test passes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When Create() fails after the route table exists, the rollback leaves the VPC behind. The cleanup stack in pkg/provider/aws/create.go unwinds in reverse order, so deleteRouteTable runs before deleteSubnet. The route table is still associated with the subnet (create.go:318), so DeleteRouteTable fails with DependencyViolation on every retry, and DeleteVpc then fails the same way.
Observed on 2026-11-26 in us-east-1: CloudTrail shows 10 DeleteRouteTable calls returning Client.DependencyViolation (17:11:03Z to 17:15:09Z), then 10 failed DeleteVpc calls. The VPC was deleted by hand.
Expected: the rollback removes every resource it created.
Acceptance: the rollback disassociates the route table first, or deletes the subnet before the route table (as delete.go already does for the public route table). A unit test with the fake EC2 client fails Create() after the route table step and asserts that the VPC is deleted.
- Lenguaje dominante
- Go
- Estrellas
- 31
- Forks
- 20
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/holodeck
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 3 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
Los mantenedores suelen responder en 3 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
Todos los issues de NVIDIA/holodeck
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
splunk/splunk-operator#1888 ·
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
FrederickFrance/igiveyouarendezvous#43 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
liftbridge-io/liftbridge#527 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día