Closed leigh507 closed 9 years ago
If it helps here are the variables
[root@controller-vg xenserver]# vagrant up --provider=xenserver
Bringing machine 'default' up with 'xenserver' provider...
vhd file is /root/.vagrant.d/boxes/centos/0/xenserver/box.vhd
hostname is 172.31.250.105
session is OpaqueRef:7b75bacc-bf5c-bf26-41d1-8783f61491a9
env is {:action_runner=>#<Vagrant::Action::Runner:0x0000000335c480 @globals={}, @lazy_globals=#Proc:0x0000000335c430@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:202, @logger=#<Log4r::Logger:0x0000000335c3b8 @fullname="vagrant::action::runner", @outputters=[], @additive=true, @name="runner", @path="vagrant::action", @parent=#<Log4r::RootLogger:0x000000029f1d28 @level=0, @outputters=[]>, @level=0, @trace=false>>, :box_collection=>#<Vagrant::BoxCollection:0x0000000338e520 @directory=#<Pathname:/root/.vagrant.d/boxes>, @hook=#<Method: Vagrant::Environment#hook>, @lock=#<Monitor:0x0000000338e4f8 @mon_owner=nil, @mon_count=0, @mon_mutex=#
Fixed by removing the xs.pv line - this will need to be fixed in the code
Hi, I get the following error when trying to bring up a new VM
[root@controller-vg ~]# vagrant up --provider=xenserver Bringing machine 'default' up with 'xenserver' provider... 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0033535 s, 313 MB/s /root/.vagrant.d/gems/gems/vagrant-xenserver-0.0.9/lib/vagrant-xenserver/action/upload_vhd.rb:33:in
call': undefined method
find' for nil:NilClass (NoMethodError) from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:in
block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in
call' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in
block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:inbusy' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in
run' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in
call' from /root/.vagrant.d/gems/gems/vagrant-xenserver-0.0.9/lib/vagrant-xenserver/action/connect_xs.rb:28:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in
call' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/config_validate.rb:25:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in
call' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/handle_box.rb:56:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in
call' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in
block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:inbusy' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in
run' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:214:inaction_raw' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:191:in
block in action' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:516:inlock' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in
call' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:inaction' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/batch_action.rb:82:in
block (2 levels) in run'Any help would be great! Leigh