Packer: virtualbox-ovf - when source_path is URL -> VERR_TAR_UNEXPECTED_EOS

Created on 1 Jan 2018  ยท  6Comments  ยท  Source: hashicorp/packer

Minimal reproduction repo at https://gitlab.com/jcrben-repro/packer-cache
Steps:
packer build template.json (wait for it to complete, should have no errors)
packer build -force template.json

This screenshot illustrates what I'm seeing:
image

Describe the problem and include the following information:

  • Virtualbox: Version 5.1.26 r117224 (Qt5.6.2)
  • Packer - 1.1.3
  • Host OS - 10.11.6 (15G1611)
bug buildevirtualbox

Most helpful comment

@pgroudas if you add a reaction it might be easier to sort as hitting more people

@rickard-von-essen I think you can remove the awaiting-reply here

All 6 comments

Your ~ovan~ ova file is only 1.2 MB which seems a bit to small.

ovan file? do you mean ova? I'm probably missing something obvious, but it appears to be 808MB as I expect:

image

Yeah, sorry it seems to work.

I've bumped into this as well with packer 1.2.2.

When running packer with virtualbox-ovf builder, if the source_path is a local file, I can repeatedly use packer, and it successfully imports the source .ova file repeatedly without modifying it.

When the source_path is a URL, it downloads the file, and runs successfully the first time, but somehow modifies the file in the cache so that on subsequent runs it fails.

@pgroudas if you add a reaction it might be easier to sort as hitting more people

@rickard-von-essen I think you can remove the awaiting-reply here

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.

Was this page helpful?
0 / 5 - 0 ratings