Error initializing block storage client with Openstack 2026.1
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
Línea de trabajo
Comienza por el fallo de StepCreateVolume y la inicialización del cliente de block storage, y luego sigue cómo se selecciona el endpoint del catálogo de servicios. Reprodúcelo con la build de Packer proporcionada contra OpenStack 2026.1; se considera terminado cuando block storage se inicializa usando el endpoint de block storage disponible en lugar de requerir volumev3.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Overview of the Issue
With the 2026.1 (Gazpacho) release, cinder dropped the volumev3 endpoint.
It needs to be fetched from the endpoint list instead of hardcoded.
The error is Error initializing block storage client: No suitable endpoint could be found in the service catalog.
Reproduction Steps
After the upgrade of a cloud to 2026.1, packer build will fail when it previously worked:
# PACKER_LOG=1 /usr/bin/packer build openstack.pkr.hcl
(...)
openstack.openhpc: output will be in this color.
2026/08/25 15:40:35 Running builder: openstack
2026/08/25 15:40:35 [INFO] (telemetry) Starting builder openstack.openhpc
==> openstack.openhpc: Loading flavor: general.v1.small
2026/08/25 15:40:35 packer-plugin-openstack_v1.1.4_x5.0_linux_amd64 plugin: 2026/08/25 15:40:35 [INFO] Loading flavor by ID: general.v1.small
2026/08/25 15:40:35 packer-plugin-openstack_v1.1.4_x5.0_linux_amd64 plugin: 2026/08/25 15:40:35 [ERROR] Failed to find flavor by ID: Resource not found
2026/08/25 15:40:35 packer-plugin-openstack_v1.1.4_x5.0_linux_amd64 plugin: 2026/08/25 15:40:35 [INFO] Loading flavor by name: general.v1.small
==> openstack.openhpc: Verified flavor. ID: d7d3ab48-3948-4140-a690-60626ed3cabe
==> openstack.openhpc: Using existing SSH private key
==> openstack.openhpc: Using existing SSH private key
==> openstack.openhpc: Error initializing block storage client: No suitable endpoint could be found in the service catalog.
==> openstack.openhpc: Step "StepCreateVolume" failed
==> openstack.openhpc: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?
Plugin and Packer version
Packer v1.16.0
packer-plugin-openstack v1.1.4
Simplified Packer Buildfile
packer {
required_plugins {
openstack = {
version = ">= 1.0.0"
source = "github.com/hashicorp/openstack"
}
}
}
source "openstack" "openhpc" {
flavor = "en1.small"
use_blockstorage_volume = true
volume_type = "ssd"
volume_size = 20
volume_name = "my-image-xxx"
# Input image:
source_image = "xxxx"
source_image_name = "rl-98"
# Output image:
image_disk_format = "raw"
}
build {
source "source.openstack.openhpc" {
image_name = "my-image-xxx"
}
}
Log Fragments and crash.log files
Openstack endpoints on 2025.1
$ openstack endpoint list | grep cinder
| uuid1 | RegionOne | cinderv3 | volumev3 | True | public | https://my.cloud.local/v3/%(tenant_id)s |
| uuid2 | RegionOne | cinder | block-storage | True | public | https://my.cloud.local/v3 |
| uuid3 | RegionOne | cinderv3 | volumev3 | True | internal | https://my.cloud.private.ip:8776/v3/%(tenant_id)s |
| uuid4 | RegionOne | cinder | block-storage | True | internal | https://my.cloud.private.ip:8776/v3
Openstack endpoints on 2026.1
| uuid5 | RegionOne | cinder | block-storage | True | public | https://my.cloud.private.ip:8776/v3 |
| uuid6 | RegionOne | cinder | block-storage | True | internal | https://my.cloud.private.ip:8776/v3
==> volumev3 endpoints have been removed, must switch to block-storage
- 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
-
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 ·
-
enhancement good first issue
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hashicorp/packer-plugin-openstack#116 · 2 comentarios ·
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