[openstack] choke on volumes which end up in error state
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
Direzione di ricerca
Inizia in builder/openstack/volume.go intorno alla riga 35, dove viene interrogato lo stato di creazione del volume, e riproduci il problema con un dispositivo a blocchi più piccolo dell’immagine di avvio. Il lavoro è completo quando un volume OpenStack che entra nello stato di errore viene segnalato immediatamente invece di essere interrogato indefinitamente e qualsiasi build in corso viene abbandonata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This issue was originally opened by @dave2 as hashicorp/packer#8737. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview of the Issue
Packer chokes waiting on a volume to become ready if the volume instead transitions to 'error' state. This should be caught and immediately passed back to the user, along with abandoning any build in progress.
Probably needs to be tested for as explicit state somewhere around here:
https://github.com/hashicorp/packer/blob/master/builder/openstack/volume.go#L35
Reproduction Steps
Specify a block device smaller than the launch image allows. Seems to always force error state, should choke on that.
Packer version
1.5.1
Simplified Packer Buildfile
Any valid openstack build file will do this, since it's a backend issue with OpenStack and errors.
Operating system and Environment details
Ubuntu 18.04 64-bit. The OpenStack deployment used is a private cloud implementation.
Log Fragments and crash.log files
==> openstack: Creating volume...
==> openstack: Waiting for volume packer_5e45dff6-e5e1-06f4-bda8-60b973283d77 (volume id: 6730cb8e-ad13-401e-a52d-535aad2ade66) to become available...
2020/02/13 23:47:04 packer-builder-openstack plugin: Waiting for volume creation status: creating
2020/02/13 23:47:07 packer-builder-openstack plugin: Waiting for volume creation status: creating
2020/02/13 23:47:09 packer-builder-openstack plugin: Waiting for volume creation status: error
2020/02/13 23:47:11 packer-builder-openstack plugin: Waiting for volume creation status: error
[.. endlessly reports error ..]
- 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