-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
virtualbox-ovf " VBoxManage: error: Details: code E_ACCESSDENIED " #1726
Comments
Getting the same thing here: Nathan-S-MacBook-Pro:vagrant nsullivan$ VBoxManage --version OSX 10.9.5 here, restarted after the VirtualBox installation to be safe also. Very simple .json file fed in, using the OVF ubuntu-12.04-server-cloudimg-amd64.ovf (and .img) from http://cloud-images.ubuntu.com/releases/12.04.4/release/ |
I'm also getting the same error from my packer
|
Just a heads up I think this is related to the OVF that Ubuntu provides, and is more a VirtualBox issue than Vagrant. I have a workaround almost prepared that I intend to share shortly for all :) |
OK my workaround is ready for public consumption: https://github.com/CpuID/packer-ubuntu-virtualbox Basically involves building an OVF from the Ubuntu ISO first, which Packer can then use to build Vagrant Boxes. Documentation is there on how to use it. 2 stage process, first stage took me about 11 minutes to run, second stage takes about 3 minutes with only a bare minimum provisioner configured. Technically you could do this in a single stage, but I opted to split it since you probably only ever want to do the first stage once per Ubuntu release, then use the second stage repeatedly as your provisioners change/require etc. Being that the first stage takes 3 times as long as the second stage, iteration time wise that makes more sense :) |
Thanks for the effort. I was hoping to be able to use the cloud images that ubuntu provides, which come as .img or .ovf, as to avoid using the .iso files which are pretty much install images. Is there no way to use the existing .ovf files that canonical provides? |
In an ideal world, we would use the Canonical ones. But until then... One thing worth considering - use the workaround above I did to generate a compatible .ovf, then compare it to the Ubuntu provided ones, figure out what Packer does differently to Ubuntu. Then possibly either lodge a bug against VirtualBox, or Ubuntu to try and get compatible .ovf's generated. |
@CpuID do you have a virtualbox ticket you could reference? |
Agreed that this is a vbox issue. If you have a vbox ticket # that'd be great. |
I try to boot an ubuntu cloud-init ovf:
http://cloud-images.ubuntu.com/releases/14.04/release/ubuntu-14.04-server-cloudimg-amd64.ovf
I downloaded both, the ovf and img.
When I build this json, the following error occurs:
Any ideas what that is related to? Where is access denied to?
Packer v0.7.2
VBoxManage 4.3.20r96996
The text was updated successfully, but these errors were encountered: