Skip to content
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

5.7 box on atlas is failing to download with "missing metadata.json" message #13

Closed
joemiller opened this issue Sep 29, 2015 · 6 comments

Comments

@joemiller
Copy link

I am trying to use the 5.7 on atlas but getting the following message:

$ vagrant init tmatilai/openbsd-5.7
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'tmatilai/openbsd-5.7' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'tmatilai/openbsd-5.7'
    default: URL: https://atlas.hashicorp.com/tmatilai/openbsd-5.7
==> default: Adding box 'tmatilai/openbsd-5.7' (v1.0.0) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/tmatilai/boxes/openbsd-5.7/versions/1.0.0/providers/virtualbox.box
The "metadata.json" file for the box 'tmatilai/openbsd-5.7' was not found.
Boxes require this file in order for Vagrant to determine the
provider it was made for. If you made the box, please add a
"metadata.json" file to it. If someone else made the box, please
notify the box creator that the box is corrupt. Documentation for
box file format can be found at the URL below:

http://docs.vagrantup.com/v2/boxes/format.html

vagrant 1.7.4

@tmatilai
Copy link
Owner

Damn, I got a report for that but dropped the ball. The metadata.json should definitely be included into the box, so it might have been a Packer issue. I'll try to take closer look soon.

I think you should be able to get around the issue now with something like

vagrant box add tmatilai/openbsd-5.7 --provider virtualbox

@jpooler
Copy link

jpooler commented Oct 1, 2015

I tried specifying the provider and still hit the issue @joemiller mentioned as well. I was trying for the 5.6 box, but also hit this for the 5.7 box.

vagrant box add tmatilai/openbsd-5.6 --provider virtualbox
==> box: Loading metadata for box 'tmatilai/openbsd-5.6'
box: URL: https://atlas.hashicorp.com/tmatilai/openbsd-5.6
==> box: Adding box 'tmatilai/openbsd-5.6' (v1.1.0) for provider: virtualbox
box: Downloading: https://atlas.hashicorp.com/tmatilai/boxes/openbsd-5.6/versions/1.1.0/providers/virtualbox.box
The "metadata.json" file for the box 'tmatilai/openbsd-5.6' was not found.
Boxes require this file in order for Vagrant to determine the
provider it was made for. If you made the box, please add a
"metadata.json" file to it. If someone else made the box, please
notify the box creator that the box is corrupt. Documentation for
box file format can be found at the URL below:

http://docs.vagrantup.com/v2/boxes/format.html

@joemiller
Copy link
Author

I have a box up at joemiller/openbsd-5.7-amd64 on atlas right now if you
need something fast. I don't have any 5.6 builds up though.. Small tweaks
to the json but largely the same as Teemu's images. I will push them up to
GH in the next few days.

Of note, I included the bsd.mp kernel in the image so you can use SMP.

On Thu, Oct 1, 2015 at 6:05 AM, Jarrod Pooler notifications@github.com
wrote:

I tried specifying the provider and still hit the issue @joemiller
https://github.com/joemiller mentioned as well. I was trying for the
5.6 box, but also hit this for the 5.7 box.

vagrant box add tmatilai/openbsd-5.6 --provider virtualbox
==> box: Loading metadata for box 'tmatilai/openbsd-5.6'
box: URL: https://atlas.hashicorp.com/tmatilai/openbsd-5.6
==> box: Adding box 'tmatilai/openbsd-5.6' (v1.1.0) for provider:
virtualbox
box: Downloading:
https://atlas.hashicorp.com/tmatilai/boxes/openbsd-5.6/versions/1.1.0/providers/virtualbox.box
The "metadata.json" file for the box 'tmatilai/openbsd-5.6' was not found.
Boxes require this file in order for Vagrant to determine the
provider it was made for. If you made the box, please add a
"metadata.json" file to it. If someone else made the box, please
notify the box creator that the box is corrupt. Documentation for
box file format can be found at the URL below:

http://docs.vagrantup.com/v2/boxes/format.html


Reply to this email directly or view it on GitHub
#13 (comment)
.

@tmatilai
Copy link
Owner

tmatilai commented Oct 2, 2015

Well, this seems like a Hashicorp Atlas issue now, as the built boxes do include metadata.json. Earlier I built and hosted the actual boxes myself in S3, but for these releases I chose to use Atlas to do all the hard work. I'll try to build the boxes again to see if the issue persists.

@tmatilai
Copy link
Owner

tmatilai commented Oct 2, 2015

OK, found the issue: hashicorp/packer#2090
New builds are now in the pipe.

@tmatilai
Copy link
Owner

tmatilai commented Oct 5, 2015

So this should be fixed now. Please tell me if you still hit into problems.

@tmatilai tmatilai closed this as completed Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants