use_blockstorage_volume option causes error 'There is no such action: os-set_image_metadata","code":400'
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia dal percorso del builder OpenStack che gestisce use_blockstorage_volume e imposta i metadati dell’immagine sul volume. Riproduci il problema con il buildfile Packer semplificato e confronta il risultato con packer-log.txt. Il lavoro è completato quando la build non fallisce più a causa dell’azione non supportata os-set_image_metadata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This issue was originally opened by @vertrost as hashicorp/packer#8429. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview of the Issue
I am building suse15 image with packer and ansible scripts, however when I am adding parameter "use_blockstorage_volume": "true" - image building fails with error:
Build 'openstack' errored: Error setting image metadata: Bad request with: [POST https://<openstack_url>/v3/0c2ea4d147794927b81dd1a3807788de/volumes/b8057af7-e582-4f38-993c-20085e958d22/action], error message: {"badRequest":{"message":"There is no such action: os-set_image_metadata","code":400}}
Reproduction Steps
Build image with provided json.
Packer version
1.4.5
Simplified Packer Buildfile
{
"provisioners": [{
"type": "shell-local",
"inline": ["echo 'rubber ducky'> ducky.txt"]
}],
"builders": [{
"type": "openstack",
"identity_endpoint": "...",
"tenant_name": "{{user `dev_tenant_name`}}",
"domain_name": "{{user `dev_domain_name`}}",
"username": "{{user `dev_username`}}",
"password": "{{user `dev_password`}}",
"ssh_username": "linux",
"region": "...",
"image_name": "suse15",
"instance_name": "suse15-packer",
"source_image_name": "Beta_SLES15_SP0_latest",
"availability_zone": "...",
"flavor": "s2.medium.1",
"networks": ["..."],
"security_groups" : ["sg-packer"],
"use_blockstorage_volume": "true"
}],
"post-processors": [{
"strip_path": true,
"output": "packer-template-centos-updating-result.log",
"type": "manifest"
}]
}
Log Fragments and crash.log files
- 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