Skip to content

Add support for retries in vSphere post processor #30

@ghost

Description

This issue was originally opened by @gamethis as hashicorp/packer#10745. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Add option to retry on failures to upload templates to vsphere environment.
This can be done similar to what was done for vagrant-cloud post processor or can be done with giving customer a option on packer file to add retry and count to retry.

Use Case(s)

An intermittent error occurs during the upload phase of template. Adding a retry variable that retries x number of times to allow greater success.

Potential configuration

"post-processors":  [
{"type": "vsphere",
"retry": 4,
....
}],
....

Potential References

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions