Packer keeps trying to pull a non existent source image
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- go
- Área
- cloud, infrastructure
Línea de trabajo
No se nombran archivos ni pruebas. Empieza localizando el manejo de external_source_image_url y el bucle de reintento del estado de la imagen; después, reproduce el problema con una URL que devuelva 404. La solución debe incluir un fallo acotado o que termine, con un mensaje de error claro, en lugar de reintentos repetidos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Overview of the Issue
I've noticed that one Packer CI job was running for a very long time: more than 30 minutes, when the average job's duration is less than 10 minutes. The following message was logged over and over again:
openstack.debian: Image not Active, retrying in 10 seconds
I killed the job and found the issue: the image declared in the external_source_image_url variable did not exist: the HTTP endpoint was returning a 404 error.
Reproduction Steps
Set the external_source_image_url variable to a non existent image.
Plugin and Packer version
Packer 1.7.8
Openstack plugin 1.0.0
Simplified Packer Buildfile
packer {
required_version = "1.7.8"
required_plugins {
openstack = {
version = "1.0.0"
source = "github.com/hashicorp/openstack"
}
}
}
source "openstack" "debian" {
cloud = "dc1"
external_source_image_format = "raw"
external_source_image_url = "http://cdimage.debian.org/cdimage/openstack/10.11.1-20211029/debian-10.11.1-20211029-openstack-amd64.raw"
image_min_disk = "10"
image_name = "bla"
flavor = "packer"
ssh_username = "debian"
}
build {
sources = ["source.openstack.debian"]
}
Operating system and Environment details
Debian Buster
Log Fragments and crash.log files
$ packer build debian.pkr.hcl
116openstack.debian: output will be in this color.
117==> openstack.debian: Loading flavor: packer
118 openstack.debian: Verified flavor. ID: 121d18c3-f0e0-4096-ba60-54c4050ea109
119==> openstack.debian: Creating temporary keypair: packer_61d470f3-fd3e-a797-819b-21b31030b544 ...
120==> openstack.debian: Created temporary keypair: packer_61d470f3-fd3e-a797-819b-21b31030b544
121==> openstack.debian: Creating image using external source image with name packer_61d470f3-fcb1-75b4-1c99-251728853883
122==> openstack.debian: Using disk format raw
123==> openstack.debian: Created image with ID 4964814c-7512-4293-879d-50b5b25b37cb
124==> openstack.debian: Importing External Source Image from URL http://cdimage.debian.org/cdimage/openstack/10.11.1-20211029/debian-10.11.1-20211029-openstack-amd64.raw
125 openstack.debian: Image not Active, retrying in 10 seconds
126 openstack.debian: Image not Active, retrying in 10 seconds
127 openstack.debian: Image not Active, retrying in 10 seconds
128 openstack.debian: Image not Active, retrying in 10 seconds
129 openstack.debian: Image not Active, retrying in 10 seconds
130 openstack.debian: Image not Active, retrying in 10 seconds
131 openstack.debian: Image not Active, retrying in 10 seconds
132 openstack.debian: Image not Active, retrying in 10 seconds
- Lenguaje dominante
- Go
- Estrellas
- 29
- Forks
- 27
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni 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 hashicorp/packer-plugin-openstack
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Error initializing block storage client with Openstack 2026.1Posiblemente ocupada @elelaysh la tomó hace 72 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
hashicorp/packer-plugin-openstack#162 · 1 comentario ·
-
Feature Request: Add keep_volume option to preserve boot volume artifacts in OpenStack builderAbiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
hashicorp/packer-plugin-openstack#151 · 1 comentario · 1 reacción ·
-
Packer 1.12.0-alpha1 testingAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Response Error: No image found with ID .... code 404 Not Found title Not Found (Floating problem )Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
hashicorp/packer-plugin-openstack#130 · 1 comentario ·
Todos los issues de hashicorp/packer-plugin-openstack
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
multica-ai/multica#10081 ·
Los mantenedores suelen responder en 1 día
-
csp-probe needs efqdn to probe CSP domainsPosiblemente ocupada @unknownhackerworld la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
projectdiscovery/httpx#2725 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
stefanpejcic/OpenPanel#1321 ·
Los mantenedores suelen responder en 1 día
-
bug triage/pending
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día