Response Error: No image found with ID .... code 404 Not Found title Not Found (Floating problem )

Abierto
#130 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
go
Área
cloud

Línea de trabajo

Comienza con la solicitud de sondeo registrada para la creación de la imagen a GET /v2/images/{id}, utilizando la configuración proporcionada de Packer 1.10.1, plugin 1.1.2 y external_source_image_url. Compara las compilaciones de imágenes correctas y fallidas y las respuestas del servicio de imágenes de OpenStack; se considera terminado identificar la causa del 404 transitorio o documentar la información que falta para reproducirlo.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

Help please>>>

Overview of the Issue

A strange problem, image assembly does not always end successfully, error 404, but when image assembly is completed successfully, several times in a row without changing the packer code, the image size varies greatly from 300 to 1500 MB. Please note that the commit is the same, it is a repetition of the same code.
Снимок экрана 2024-06-19 в 22 00 57
Снимок экрана 2024-06-19 в 22 53 41

Reproduction Steps

Recycle jobs, but error can be after first run.

Plugin and Packer version

Packer version: 1.10.1 [go1.20.12 linux amd64]
Plugin version: github.com/hashicorp/openstack = 1.1.2"

From packer version

Simplified Packer Buildfile

source "openstack" "base" {
############ Image settings
image_name = "Debian12"
instance_name = "packer-builder.node"
image_visibility = "shared"
external_source_image_url = "https://cloud.debian.org/images/cloud/bookworm/20240415-1718/debian-12-genericcloud-amd64-20240415-1718.qcow2"
image_tags = ["test-tag"]
############ OpenStack settings
identity_endpoint = "https://identity.123.cloud/v3/"
endpoint_type = "public"
username = "123"
password = "${var.OStack_ProdPass}"
tenant_name = "COD"
domain_name = "Default"
flavor = "Local_CPU4_RAM4_NVMe40"
region = "eu-hz"
config_drive = true
networks = ["4860xxxxxfe38"]
security_groups = ["5481xxxxx9856"]
############ Floating IP settings
floating_ip_network = "v110_123_ip_net"
############ SSH
ssh_timeout = "40m"
ssh_ip_version = "4"
ssh_keypair_name = "123"
ssh_username = "debian"
ssh_private_key_file = ".ssh/id_ed25519"
}

build {
sources = ["source.openstack.base"]
provisioner "ansible" {
playbook_file = "debian12_playbook.yml"
use_sftp = true
host_alias = "packerbuild-node"
ssh_host_key_file = ".ssh/id_ed25519"
use_proxy = "false"
ansible_ssh_extra_args=["-vvv", "-o StrictHostKeyChecking=no"]
}
}

packer {
required_plugins {
openstack = {
version = "~> 1"
source = "github.com/hashicorp/openstack"
}
ansible = {
version = ">= 1.1.1"
source = "github.com/hashicorp/ansible"
}
}
}

Operating system and Environment details

OpenStack using gitlab CI with Packer version: 1.10.1 [go1.20.12 linux amd64] inside docker
For AWS and GCP its working very well. We from Ukraine.

Log Fragments and crash.log files

openstack.base: [DEBUG] Request GET https://images.hz.123.cloud/v2/images/336xxxxd4 200
2024/06/19 17:37:07 packer-plugin-openstack_v1.1.2_x5.0_linux_amd64 plugin: 2024/06/19 17:37:07 Waiting for image creation status: saving
openstack.base: [DEBUG] Request GET https://images.hz.123.cloud/v2/images/336xxxxd4 404
openstack.base:
openstack.base: [DEBUG] Response Error: {"message": "No image found with ID 336xxx2d4

\n\n\n", "code": "404 Not Found", "title": "Not Found"}
openstack.base:
==> openstack.base: Error waiting for image: Resource not found

Lenguaje dominante
Go
Estrellas
29
Forks
27
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hashicorp/packer-plugin-openstack

Todos los issues de hashicorp/packer-plugin-openstack

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.