-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Shared Image Gallery Deadline Exceeded Error #8802
Comments
I am also seeing this on 1.5.5. The timeout is exactly 1 hour after start of publishing to the image gallery. Looks like it is ignoring the polling_duration_timout parameter which is set to 3h
Replication is to 3 nearby regions:
|
I think it's the replication that's taking the time. Have you set the shared_image_gallery_timeout? I bumped mine to 2h (only replicating to 1 region) and it worked for me. |
This issue has been automatically migrated to hashicorp/packer-plugin-azure#36 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-azure#36. |
Overview of the Issue
We are trying to deploy our Windows 10 1809 64-bit image into our shared image gallery and whilst trying to deploy it is failing with the following error message:
2020-02-26T17:39:58Z: ==> azure-arm: Future#WaitForCompletion: context has been cancelled: StatusCode=200 -- Original Error: context deadline exceeded
Reproduction Steps
Deploy a customised Windows 10 1809 image into a shared image gallery within the same region
Packer version
1.5.3 (also tested in 1.5.1, 1.4.5 and 1.4.3)
Simplified Packer Buildfile
gist
Operating system and Environment details
Packer runner server: CentOS Linux release 7.7.1908 3.10.0-1062.12.1.el7.x86_64
Image: Windows 10 1809 64-bit
Cloud provider: Microsoft Azure
Log Fragments and crash.log files
2020-02-26T17:39:58Z: ==> azure-arm: Future#WaitForCompletion: context has been cancelled: StatusCode=200 -- Original Error: context deadline exceeded 2020-02-26T17:39:58Z: ==> azure-arm: Future#WaitForCompletion: context has been cancelled: StatusCode=200 -- Original Error: context deadline exceeded 2020-02-26T17:39:58Z: ==> azure-arm: Step "StepPublishToSharedImageGallery" failed
If you need any more detail please let me know!
The text was updated successfully, but these errors were encountered: