Skip to content

Timeout while waiting for image creation #56

Open

Description

@Nightreaver

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

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

Activity

  1. changed the title [-]Timeout waiting for image convertion[/-] [+]Timeout while `waiting for image creation`[/+] on Jan 25, 2022
  2. urbanchef commented on Feb 16, 2022

    @urbanchef

    Yep, I experience the same behavior

  3. Nightreaver commented on Feb 16, 2022

    @Nightreaver
    Author

    From IT I was told, its an issue with the "image provider" of openstack. ie, image size is bigger than the configured limit in openstack

  4. bdeetz commented on Jan 23, 2026

    @bdeetz

    I am also experiencing this. There's a Ceph backend. Unfortunately, I have no access to glance or other openstack related configs. I also experience errors when attempting to use terraform to upload an image. Curious if anybody has figured out a way past this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions