generated from hashicorp/packer-plugin-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
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 :(
urbanchef and cacack