Timeout while `waiting for image creation`

Aperta
#56 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cloud

Direzione di ricerca

Il report riguarda il passaggio “Waiting for image creation” dell’OpenStack builder; inizia tracciando quel punto di ingresso e il timeout di cinque minuti mostrato nel log. Non sono indicati file sorgenti o test, quindi individua prima la gestione del timeout, poi aggiungi una copertura per un’attesa più lunga o configurabile e verifica che la creazione lenta dell’immagine non fallisca prematuramente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

question

Hello,

I'm currently running packer to generate image inside openshift.
Overall it works very well, but it seems the infrastructure is too slow for the defined timeout.
Is there a way to increate the retry/waiting time on the "waiting for image creation" step ?
I have check the packer manual of course, but havent found anything related to it.

[...]
2022/01/25 10:58:31 ui: ==> openstack: Detaching volume packer_61efb527-xxx-a1e1-16de-217ae407587c (volume id: 2d17f222-xxx-4ecf-b7da-33f6e3ca07d5)
2022/01/25 10:58:32 ui: ==> openstack: Waiting for volume packer_61efb527-xxx-a1e1-16de-217ae407587c (volume id: 2d17f222-xxx-4ecf-b7da-33f6e3ca07d5) to become available...
2022/01/25 10:58:32 ui: ==> openstack: Creating the image: Packer-Build 
2022/01/25 10:58:32 ui:     openstack: Image: 2c9b4f10-xxx-44e9-869f-0311a10ed250
2022/01/25 10:58:32 ui: ==> openstack: Waiting for image Packer-Build (image id: 2c9b4f10-xxx-44e9-869f-0311a10ed250) to become ready...
2022/01/25 10:58:32 packer-builder-openstack plugin: Waiting for image creation status: queued
2022/01/25 10:58:35 packer-builder-openstack plugin: Waiting for image creation status: saving
2022/01/25 10:58:37 packer-builder-openstack plugin: Waiting for image creation status: saving
[...]
2022/01/25 11:03:18 packer-builder-openstack plugin: Waiting for image creation status: saving
2022/01/25 11:03:29 packer-builder-openstack plugin: Waiting for image creation status: queued
2022/01/25 11:03:31 ui error: ==> openstack: Error waiting for image: Resource not found
2022/01/25 11:03:31 ui: ==> openstack: Provisioning step had errors: Running the cleanup provisioner, if present...
2022/01/25 11:03:34 ui: ==> openstack: Deleted temporary floating IP '6583ad84-xxx-484b-91b4-0104fd8b9a97' (193.148.170.211)
2022/01/25 11:03:34 ui: ==> openstack: Terminating the source server: 6f3a12e1-xxx-4da5-82f5-055e9ca5b768 ...
[...]

I have no rush so I can just wait for the conversion for an hour... but only 5 minutes seems to be way to short for 150gb image :(

Lingua principale
Go
Stelle
29
Fork
27
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hashicorp/packer-plugin-openstack

Tutte le issue di hashicorp/packer-plugin-openstack

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.