Hello,
I have attempted to switch from a Virtual Box provider to Hyperv. I have
exported the VM from Hyperv, created a .box file and imported the box
successful. However when I try to 'vagrant up' the box I get the error
below. The file structure exists and the file look valid. Am I missing
something somewhere?
Thanks,
Gary
PS C:\ClusterStorage\SAS_VAG15\tfs\VirtualMachines\HV2008R2> vagrant up
--provider=hyperv
Bringing machine 'default' up with 'hyperv' provider...
==> default: Verifying Hyper-V is enabled...
vagrant :
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/config.rb:74:in
`block
in missing_interpolation_argument_handler': missing interpolation argument
:name in "The box
you're using with the Hyper-V provider ('%{name}')\nis invalid. A Hyper-V
box should contain
both a\n\"Virtual Machines\" and a \"Virtual Hard Disks\" folder that
are\ncreated as part of
exporting a Hyper-V machine.\n\nWithin these directories, Vagrant expects
to find
the\nvirtual machine configuration as well as the root hard disk.\n\nThe
box you're
attempting to use is missing one or both of\nthese directories or does not
contain the files
expected. Verify\nthat you added the correct box. If this problem
persists,\nplease contact
the creator of the box for assistance." ({:_key=>:box_invalid,
:_namespace=>"vagrant_hyperv.errors"} given)
(I18n::MissingInterpolationArgument)
At line:1 char:1
+ vagrant up --provider=hyperv
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:/HashiCorp/Va...lationArgument):String)
[], Re
moteException
+ FullyQualifiedErrorId : NativeCommandError
from
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb:29:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb:29:in
`block
in interpolate_hash'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb:21:in
`gsub'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb:21:in
`interpolate_hash'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb:17:in
`interpolate'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/backend/base.rb:153:in
`interpolate'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/backend/base.rb:41:in
`translate'
from C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n.rb:157:in
`block in
translate'
from C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n.rb:153:in
`catch'
from C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n.rb:153:in
`translate'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/errors.rb:103:in
`translate_error'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/errors.rb:72:in
`initialize'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/hyperv/action
/import.rb:39:in `exception'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/hyperv/action
/import.rb:39:in `raise'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/hyperv/action
/import.rb:39:in `call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
`block in run'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
`busy'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
`run'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/call
.rb:53:in `call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/conf
ig_validate.rb:25:in `call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/hand
le_box.rb:56:in `call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/hyperv/action
/check_enabled.rb:18:in `call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
`block in run'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
`busy'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
`run'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:196:in
`action_raw'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:173:in
`block in action'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:434:in
`lock'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:161:in
`call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:161:in
`action'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/batch_action.rb:82:in
`block (2 levels) in run'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.
rb:323:in `call'
from
C:/HashiCorp/Vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.
rb:323:in `block in create_with_logging_context'
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.