Re: [vagrant-up] Vmware ESX provider?

3,574 views
Skip to first unread message

Mitchell Hashimoto

unread,
May 6, 2013, 11:19:55 PM5/6/13
to vagra...@googlegroups.com
Hello,

An ESXi provider (specifically vSphere) is under development. It actually works, but requires more testing and features. 

Expect a release in the nearish future.

Best,
Mitchell


On Mon, May 6, 2013 at 1:38 PM, <asan...@gmail.com> wrote:
Hi guys, just curious if a Vmware ESXi provider is in the works, meaning we will be able to connect to vsphere and spin up guests.


--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mohit Sethi

unread,
May 7, 2013, 2:05:49 AM5/7/13
to vagra...@googlegroups.com
Hi Mitchell,

I too recently finished development for a vSphere provider, testing it now.

Do we maintain a wiki page with list of providers/plugins released or to-be-release (under development)?

Regards,
Mohit

Twitter: @mohitsethi | Github: mohitsethi

Don Ky

unread,
May 7, 2013, 11:21:37 AM5/7/13
to vagra...@googlegroups.com
Thanks, excited to try it.  I just found out how useful the fusion plugin can be.  Excellent work.

Ringo De Smet

unread,
May 17, 2013, 2:57:23 AM5/17/13
to vagra...@googlegroups.com
Mitchell,

On 7 May 2013 05:19, Mitchell Hashimoto <mitchell....@gmail.com> wrote:

An ESXi provider (specifically vSphere) is under development. It actually works, but requires more testing and features. 

Expect a release in the nearish future.

Really looking forward to this release. I could very much use it today already, so if you need beta testers, don't hesitate to contact me.

Ringo

Ashish Hanwadikar

unread,
Jun 22, 2013, 2:43:43 PM6/22/13
to vagra...@googlegroups.com
I will be willing to beta test the ESXi provider also.

Torben Knerr

unread,
Jun 22, 2013, 5:50:52 PM6/22/13
to vagra...@googlegroups.com
There's vagrant-vsphere. Haven't tried it for myself yet, but this should be what you are looking for?


Shaun Mouton

unread,
Jul 19, 2013, 6:00:30 PM7/19/13
to vagra...@googlegroups.com
Mitchell,

Is the vSphere provider likely to be licensed similarly to the Fusion/Workstation providers? Would it be possible to purchase seats which allow the use of the Vagrant VMWare providers without discriminating between them (i.e., one seat allows the user to work with Fusion and/or Workstation, AND vSphere)?

Regards,

Shaun

Mitchell Hashimoto

unread,
Jul 19, 2013, 6:02:02 PM7/19/13
to vagra...@googlegroups.com
Shaun,

There is an open source one in development:
https://github.com/nsidc/vagrant-vsphere

Best,
Mitchell

Jesse Mauntel

unread,
Jul 27, 2013, 3:43:42 AM7/27/13
to vagra...@googlegroups.com
Mitchell,

Has there been any progress on the vSphere provider?  We're currently looking for a way to speed up our CI testing and I think this would help tremendously.  Some of our current test suites in test-kitchen have as many as 24 boxes to build and converge with Chef, and it takes FOREVER to finish.  If we could do this in parallel in vSphere it would be WAY faster.

If there is anything I can do to help with the product development, let me know.  I'd be happy to be a Beta tester! 

Andy Grauch

unread,
Oct 11, 2013, 3:55:43 PM10/11/13
to vagra...@googlegroups.com, maun...@gmail.com
There has been some progress made with the provider. It now supports provisioning and the halt action. It still will only create a VM by cloning an existing template.

Kris Luminar

unread,
Oct 15, 2013, 3:02:33 PM10/15/13
to vagra...@googlegroups.com, maun...@gmail.com
Has anyone tried vagrant-vsphere? I'm wondering if it would be suitable to use it to spin up and destroy VM's in production?

Also, if anyone has any alternate ideas about how to go about spinning up/down VM's in production with Ansible, I'd love to hear about it.

Simon McCartney

unread,
Oct 15, 2013, 5:29:25 PM10/15/13
to vagra...@googlegroups.com
fog.io supports vSphere, depends on how much automation you want to do & how much scripting you are prepared to do :)

with AWS & OpenStack VMs, we use cloud-init to seed in initial config (like packages to install & chef/puppet/salt config) and let CM finish building the VM.  Does vSphere have a similar notion to allow you to drop in enough for ansible to take over? Or will you be automating ssh'ing in do getting ansible to take over?
Simon McCartney

Ronan Carty

unread,
Oct 15, 2013, 6:47:11 PM10/15/13
to vagra...@googlegroups.com, maun...@gmail.com
I have been attempting to use vagrant-vsphere for the last few days. Its at versions 0.4.0 so documentation is sparse. In my test environment it will  clone a vm template that is on my esx server but I have failed to get the vagrant app to change the ip to a static ip. 
Its more than likely something i am missing, but I dont really have any more time on my current trying to figure it out. If you have the time, in theory it seems a good option.

Leonard Kong

unread,
Jan 3, 2014, 1:45:38 AM1/3/14
to vagra...@googlegroups.com, maun...@gmail.com
Hi Ronan,

I've been trying to get my vsphere instance to spin up a VM via a clone but I think I may have my Vagrantfile configured incorrectly. If you wouldn't mind, would you be able to show me how you have your Vagrantfile set up to clone a VM? I have vsphere up and running w/ a couple VMs already spun up....

Thanks!
Leonard

Dieter Meyer

unread,
Jan 9, 2014, 8:50:03 AM1/9/14
to vagra...@googlegroups.com
Hi
 
I installed vagrant-vsphere plugin (0.7.0) on Ubuntu 12.04, but it is not working.
The problem i found is "vsphere" <--> "vSphere", both words are used in plugin and configuration.
 
Has anyone successfully installed and tested the plugin on linux?
Any information about this will be helpful for me.

Leonard Kong

unread,
Jan 10, 2014, 1:24:16 AM1/10/14
to vagra...@googlegroups.com
Can you output the error logs using --debug? Might be able to find a clue in there


--
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/ihJFRWkSH2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.

Dieter Meyer

unread,
Jan 10, 2014, 8:32:03 AM1/10/14
to vagra...@googlegroups.com
Hi
 
debug output:
 
 INFO machine: Calling action: up on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x000000023b5388>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x007f9604ed0520>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x007f9604ed04f8>
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:918:in `connect'
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:918:in `block in connect'
/opt/vagrant/embedded/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:918:in `connect'
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:857:in `start'
/home/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/trivial_soap.rb:56:in `restart_http'
/home/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/trivial_soap.rb:20:in `initialize'
/home/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:31:in `initialize'
/home/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim.rb:36:in `new'
/home/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim.rb:36:in `connect'
/home/.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.4.2/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/builder.rb:116:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/runner.rb:69:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/util/busy.rb:19:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/runner.rb:69:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/machine.rb:147:in `action'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
/home/.vagrant.d/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
/home/.vagrant.d/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
ERROR warden: Error occurred: No error message
INFO warden: Beginning recovery process...

waldek

unread,
Jan 10, 2014, 10:16:48 AM1/10/14
to vagra...@googlegroups.com
Hi Dieter,

You need vSphere client installed on your system. As I know, it is not available on linux. How do you enabled vSphere API on your ubuntu? Please be sure, that your client version is appropriate to your VMWare version (please do client connectivity test).

The next question, you should reconsider is to change rbvmomi version. After successful connection to VMWare I realized (with 5.0 version), that there are some issues with parameter parsing&types in 1.8.1 version. I returned to 1.6.0 and works for me (on Windows).

Regards

W.

Leonard Kong

unread,
Jan 10, 2014, 1:19:14 PM1/10/14
to vagra...@googlegroups.com
I don't see any of the debugs on the output. What command line are you running to output?


--

frantishrek

unread,
Jan 13, 2014, 1:18:13 PM1/13/14
to Vagrant
I've got similar problem. You should try with vsphere.insecure = true

Best regards,
fran'

2014/1/10 Dieter Meyer <dieter...@siemens.com>:
> --
> 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
Reply all
Reply to author
Forward
0 new messages