Timeout while `waiting for image creation`

Ouverte
#56 3 commentaires 2 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
go
Domaine
cloud

Piste de recherche

Le rapport concerne l’étape « Waiting for image creation » du builder OpenStack ; commencez par retracer ce point d’entrée et le délai d’expiration de cinq minutes affiché dans le log. Aucun fichier source ni test n’étant identifié, localisez d’abord la gestion du délai d’expiration, puis ajoutez une couverture pour une attente plus longue ou configurable et vérifiez qu’une création d’image lente n’échoue pas prématurément.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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 :(

Langage dominant
Go
Étoiles
29
Forks
27
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de hashicorp/packer-plugin-openstack

Toutes les issues de hashicorp/packer-plugin-openstack

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.