Openstack builder doesn't support Openstack API Microversion
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra đường dẫn OpenStack builder được sử dụng cùng với use_blockstorage_volume và cách Nova client của nó nhận các thiết lập từ OS_COMPUTE_API_VERSION hoặc clouds.yaml. Tái hiện build với một volume multi-attach mặc định và xác minh rằng yêu cầu tới server sử dụng một microversion được hỗ trợ của Compute API, tránh lỗi 400 đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This issue was originally opened by @ArKam as hashicorp/packer#10906. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview of the Issue
When trying to launch a new image build using block storage volume feature, the build fail.
It come from the fact that the instance created will be attached on a volume type (the default one) that use multi-attach feature, packer fail to launch the VM as there is no way to specify the nova API microversion (min 2.60).
Even using environment variables such as OS_COMPUTE_API_VERSION=2.79 or a local clouds.yaml file doesn't work.
The targeted Openstack platform DO SUPPORT nova api microversion 2.79.
The targeted Openstack platform DO WORK as intended as we have a bunch of ansible playbooks that use it and that need to get this microversion specified within either an environment variable or within the system-wide or local clouds.yaml file.
Reproduction Steps
Create a packer template using Openstack builder and the use_blockstorage_volume directive.
Have your default __DEFAULT__ openstack volume type to use multi-attach feature.
launch the build.
The build fail with the following message:
==> openstack: Error launching source server: Bad request with: [POST https://sub.domain.tld:8774/v2.1/servers], error message: {"badRequest": {"message": "Multiattach volumes are only supported starting with compute API version 2.60.", "code": 400}}
Packer version
Packer v1.5.6
Simplified Packer Buildfile
https://gist.github.com/ArKam/275ecfb0cfbb43cbdf447bcd9a6696f0
Operating system and Environment details
OS: CentOS Linux release 7.9.2009 (Core).
Log Fragments and crash.log files
https://gist.github.com/ArKam/71d075c6faa08415cf39c85970d2e5ad
- 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
-
Error initializing block storage client with Openstack 2026.1Có thể đã có người làm @elelaysh đã nhận 72 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
hashicorp/packer-plugin-openstack#162 · 1 bình luận ·
-
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 ·
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 78/100
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
multica-ai/multica#10081 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
csp-probe needs efqdn to probe CSP domainsCó thể đã có người làm @unknownhackerworld đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
projectdiscovery/httpx#2725 ·
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 68/100
stefanpejcic/OpenPanel#1321 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage/pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày