You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running packer in a cloud-based CI environment to build vSphere VM templates. The packer_cache directory is absent. packer meaninglessly downloads an ISO and then correctly notices "File already uploaded; continuing". I believe that the ISO download step should only be performed if ISO is not already uploaded to vCenter. If you insist on always wanting to download an ISO to verify the checksum, then let there be a way to optionally skip this, as it is a waste of build time (90s in our case) and traffic.
We can probably add a step before stepDownload to see if the url exists on the remote host, and if it does then set some kind of "skip" flag on stepDownload
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Nov 22, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Overview of the Issue
We are running packer in a cloud-based CI environment to build vSphere VM templates. The
packer_cache
directory is absent. packer meaninglessly downloads an ISO and then correctly notices "File already uploaded; continuing". I believe that the ISO download step should only be performed if ISO is not already uploaded to vCenter. If you insist on always wanting to download an ISO to verify the checksum, then let there be a way to optionally skip this, as it is a waste of build time (90s in our case) and traffic.Possibly related issues:
#5157 #8378 #9456 #1974
Reproduction Steps
rm -rf packer_cache && packer build packer.json
Packer version
Packer v1.6.2
Simplified Packer Buildfile
https://gist.github.com/kshpytsya/de12303e70fea73659f4ae7a040ca60b#file-packer-json
Operating system and Environment details
Linux (Gentoo, Ubuntu), x86_64
Log Fragments and crash.log files
Full log: https://gist.github.com/kshpytsya/de12303e70fea73659f4ae7a040ca60b#file-gistfile1-txt
The text was updated successfully, but these errors were encountered: