Openstack builder doesn't support Openstack API Microversion
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia ispezionando il percorso del builder OpenStack utilizzato con use_blockstorage_volume e il modo in cui il suo client Nova riceve le impostazioni da OS_COMPUTE_API_VERSION o clouds.yaml. Riproduci la build con un volume multi-attach predefinito e verifica che la richiesta al server utilizzi una microversion supportata della Compute API, evitando l’errore 400 segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Go
- Stelle
- 29
- Fork
- 27
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hashicorp/packer-plugin-openstack
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Error initializing block storage client with Openstack 2026.1Forse già presa @elelaysh l’ha presa 72 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
hashicorp/packer-plugin-openstack#162 · 1 commento ·
-
Feature Request: Add keep_volume option to preserve boot volume artifacts in OpenStack builderApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
hashicorp/packer-plugin-openstack#151 · 1 commento · 1 reazione ·
-
Packer 1.12.0-alpha1 testingAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Response Error: No image found with ID .... code 404 Not Found title Not Found (Floating problem )Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
hashicorp/packer-plugin-openstack#130 · 1 commento ·
Tutte le issue di hashicorp/packer-plugin-openstack
Issue simili
-
csp-probe needs efqdn to probe CSP domainsForse già presa @unknownhackerworld l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
projectdiscovery/httpx#2725 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
category:helper tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
LanternOps/breeze#11285 ·
I maintainer di solito rispondono entro 1 giorno
-
Query cache: a failed cache page read leaves the set request's read lock held, so the scan hangsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
turbot/steampipe-plugin-sdk#986 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100