Hi, I'm having the same issue but I'm not finding anything on this subject, 
do you have by any chance found a solution to increase the default value of 
the timeout?

Le samedi 13 juillet 2019 01:34:11 UTC+2, Prashanth Venugopal a écrit :
>
> I am trying to use azure builder with shared gallery replication (packer 
> version 1.4.2). The builder seems to timeout if I put in too many 
> replication regions. Looks like 15 mins is the default value.
>
> The config below seems to work, but when I add a few more region, the 
> builder fails with the error below. Is there a way I could pass in a 
> user-defined timeout for the azure builder ? 
>
>
> Error -:
>
> 2019/07/12 22:39:23 ui error: ==> azure: Future#WaitForCompletion: 
> context has been cancelled: StatusCode=200 -- Original Error: context 
> deadline exceede
>
>
>
>
> Config -:
>
>         {
>
>             "name":"azure",
>
>             "client_id": "{{user `az_client_id`}}",
>
>             "client_secret": "{{user `az_client_secret`}}",
>
>             "subscription_id": "{{user `az_subscription_id`}}",
>
>             "image_offer": "UbuntuServer",
>
>             "image_publisher": "Canonical",
>
>             "image_sku": "18.04-LTS",
>
>             "image_version": "18.04.201810030",
>
>             "location": "West US 2",
>
>             "os_type": "Linux",
>
>             "type": "azure-arm",
>
>             "vm_size": "Standard_F16s_v2",
>
>             "shared_image_gallery_destination": {
>
>                 "resource_group": "{{user `az_shrd_resource_group`}}",
>
>                 "gallery_name": "{{user `az_shrd_gallery_name`}}",
>
>                 "image_name": "{{user `az_shrd_gallery_img_dfn`}}",
>
>                 "image_version": "0.0.{{user `build_number`}}",
>
>                 "replication_regions": ["japaneast","japanwest"]
>
>            },
>
>             "managed_image_name": "test-cbn-base-image-{{user 
> `build_number`}}",
>
>             "managed_image_resource_group_name": "{{user 
> `az_resource_group`}}",
>
>             "temp_compute_name" : "{{user `cbn_image_name`}}",
>
>             "temp_resource_group_name" : "{{user 
> `temp_az_resource_group`}}",
>
>             "os_disk_size_gb" : 64
>
>         },
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/0daed838-0249-4047-92e7-e17faf1f05e7%40googlegroups.com.

Reply via email to