Error initializing block storage client with Openstack 2026.1
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
Bắt đầu từ lỗi StepCreateVolume và quá trình khởi tạo client block storage, sau đó truy vết cách endpoint của service catalog được chọn. Tái hiện bằng bản build Packer được cung cấp trên OpenStack 2026.1; hoàn tất khi block storage được khởi tạo bằng endpoint block-storage hiện có thay vì yêu cầu volumev3.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 29
- Fork
- 27
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hashicorp/packer-plugin-openstack
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Feature Request: Add keep_volume option to preserve boot volume artifacts in OpenStack builderĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
hashicorp/packer-plugin-openstack#151 · 1 bình luận · 1 reaction ·
-
Packer 1.12.0-alpha1 testingĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Response Error: No image found with ID .... code 404 Not Found title Not Found (Floating problem )Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
hashicorp/packer-plugin-openstack#130 · 1 bình luận ·
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
hashicorp/packer-plugin-openstack#116 · 2 bình luận ·
Tất cả issue của hashicorp/packer-plugin-openstack
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/TypeScript#65370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tech debt testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws/amazon-vpc-cni-k8s#3976 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
txn2/mcp-data-platform#2522 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
open-telemetry/opentelemetry-go-contrib#10234 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
discovery/backoff: default FindPeers limit yields no fresh peersCó thể đã có người làm @zakazaka95 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100