Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout while waiting for image creation #56

Open
Nightreaver opened this issue Jan 25, 2022 · 2 comments
Open

Timeout while waiting for image creation #56

Nightreaver opened this issue Jan 25, 2022 · 2 comments
Labels

Comments

@Nightreaver
Copy link

Nightreaver commented Jan 25, 2022

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

@Nightreaver Nightreaver changed the title Timeout waiting for image convertion Timeout while waiting for image creation Jan 25, 2022
@urbanchef
Copy link

Yep, I experience the same behavior

@Nightreaver
Copy link
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants