Error initializing block storage client with Openstack 2026.1
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 72/100
Piste de recherche
Commencez par l’échec de StepCreateVolume et l’initialisation du client de block storage, puis suivez la manière dont l’endpoint du catalogue de services est sélectionné. Reproduisez le problème avec le build Packer fourni contre OpenStack 2026.1 ; le travail est terminé lorsque block storage s’initialise en utilisant l’endpoint de block storage disponible au lieu d’exiger volumev3.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Go
- Étoiles
- 29
- Forks
- 27
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de hashicorp/packer-plugin-openstack
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Feature Request: Add keep_volume option to preserve boot volume artifacts in OpenStack builderOuverteenhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
hashicorp/packer-plugin-openstack#151 · 1 commentaire · 1 réaction ·
-
Packer 1.12.0-alpha1 testingOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
-
Response Error: No image found with ID .... code 404 Not Found title Not Found (Floating problem )Ouvertebug
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
hashicorp/packer-plugin-openstack#130 · 1 commentaire ·
-
enhancement good first issue
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
hashicorp/packer-plugin-openstack#116 · 2 commentaires ·
Toutes les issues de hashicorp/packer-plugin-openstack
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
prime-radiant-inc/evener#5901 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 69/100
-
kind/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
kyma-project/serverless#2769 ·
Les mainteneurs répondent en général sous 1 jour
-
Update the mise toolsOuverteready-for-agent
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
hexlet-basics/hexlet-basics#962 ·
Les mainteneurs répondent en général sous 1 jour
-
imapproxy closeForMaintenance grace timer calls clientConn.Close() before closeMaintenanceTransportPeut-être pris @dejanstrbac l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
Les mainteneurs répondent en général sous 1 jour