hi, i have the same error, did you find a solution?

On Friday, January 3, 2014 9:28:15 PM UTC, Leonard Kong wrote:
>
> Can anyone point out if I'm doing something wrong? 
>
> I'm able to install the plugin for Vsphere via: 
> https://github.com/nsidc/vagrant-vsphere
>
> But once I try to Vagrant up through the plugin, I get this:
>
> Bringing machine 'default' up with 'vsphere' provider...
> /opt/vagrant/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect'
> /opt/vagrant/embedded/lib/ruby/1.9.1/net/http.rb:800:in `block in connect'
> /opt/vagrant/embedded/lib/ruby/1.9.1/timeout.rb:69:in `timeout'
> /opt/vagrant/embedded/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
> /opt/vagrant/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect'
> /opt/vagrant/embedded/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
> /opt/vagrant/embedded/lib/ruby/1.9.1/net/http.rb:751:in `start'
> /root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/trivial_soap.rb:56:in 
> `restart_http'
> /root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/trivial_soap.rb:20:in 
> `initialize'
> /root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:31:in 
> `initialize'
> /root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim.rb:36:in `new'
> /root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim.rb:36:in `connect'
> /root/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:15:in
>  
> `call'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in
>  
> `call'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/config_validate.rb:25:in
>  
> `call'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in
>  
> `call'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builder.rb:116:in
>  
> `call'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in
>  
> `block in run'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in 
> `busy'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in
>  
> `run'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/machine.rb:147:in 
> `action'
> /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/batch_action.rb:63:in
>  
> `block (2 levels) in run'
>
> I've tried two Vagrantfile settings but both give me the same exact log 
> file output, so I don't think it's the file that's causing a problem, but I 
> could be wrong...
>
> Here are the two Vagrantfile settings:
>
> VAGRANTFILE_API_VERSION = "2"
>
> Vagrant.configure("2") do |config|
>
>     config.vm.box = 'precise64_vmware'
>     config.vm.box_url = 'http://files.vagrantup.com/precise64_vmware.box'
>
>     config.vm.provider :vsphere do |vsphere|
>       vsphere.host = '192.168.1.130'
>       vsphere.compute_resource_name = 'vsphere'
>       vsphere.resource_pool_name = 'datastore1'
>       vsphere.template_name = 'precise64_vmware'
>       vsphere.name = 'UbuntuNew'
>       vsphere.user = 'username'  //not shown but I put in the correct 
> username and password
>       vsphere.password = 'password'  //not shown but I put in the correct 
> username and password
>
>   end
> end
>
> ______________________________________________________________
>
> VAGRANTFILE_API_VERSION = "2"
>
> Vagrant.configure("2") do |config|
>
>   config.vm.box = 'dummy'
>   config.vm.box_url = '/root/example_box/dummy.box'
>
>   config.vm.provider :vsphere do |vsphere|
>     vsphere.host = '128.149.128.73'
>     vsphere.compute_resource_name = 'bsung-3530957'
>     vsphere.resource_pool_name = 'datastore1'
>     vsphere.template_name = 'precise64_vmware'
>     vsphere.name = 'testVM1'
>     vsphere.user = 'username'
>     vsphere.password = 'password'
>
>   end
> end
>
> Thanks in advance!
>

-- 
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/groups/opt_out.

Reply via email to