vsphere plugin

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

vsphere plugin

Damien Roche
Hi All,

I've been trying to get vagrant-vsphere plugin working locally.
From what I can tell is It's logging in but then can't clone the vm from template?
I've tried multiple permutations of the following config that result with the same error.

I've also tried a user with full admin privileges, and also restricted to just the necessary  to no avail. Tho I can create a vm from template via the web console.

Any tips or suggestions greatly appreciated.


Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = 'testing'
  config.vm.box_url = './example_box/dummy.box'

  config.vm.provider :vsphere do |vsphere|
    vsphere.host = 'vcenter.example.com'
    vsphere.data_center_name = 'myDcenter'
    vsphere.compute_resource_name = 'myvmhost.example.com'
    vsphere.name = 'chef-minion'
    vsphere.resource_pool_name = 'vagrant'
    vsphere.clone_from_vm = false
    vsphere.template_name = 'test'
    vsphere.data_store_name = 'myvmhostDatastore1'
    vsphere.user = 'example.com\myuser'
    vsphere.password = 'password'
    vsphere.insecure = true
  end
end



vagrant up --debug


 INFO global: Vagrant version: 1.4.3
 INFO global: Ruby version: 2.0.0
 INFO global: RubyGems version: 2.0.14
 INFO global: VAGRANT_FORCE_BUNDLER="1"
 INFO global: VAGRANT_DEFAULT_PROVIDER="vsphere"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_DETECTED_OS="Darwin"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_LOG="debug"
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/opensuse/plugin.rb
 INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x0000010313b268>)
 INFO environment:   - cwd: /Users/droche/Documents/Source/example-vagrant/vmware
 INFO environment: Home path: /Users/droche/.vagrant.d
 INFO environment: Local data path: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Creating: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Loading plugins from: /Users/droche/.vagrant.d/plugins.json
 INFO environment: Loading plugin from JSON: vagrant-vsphere
 INFO manager: Registered plugin: vsphere
 INFO manager: Registered required plugin: vagrant-vsphere
 INFO root: Loaded plugin vagrant-vsphere, version 0.7.0
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Running action: #<Vagrant::Action::Builder:0x000001010e3718>
 INFO environment: Running hook: environment_load
 INFO environment: Initializing config...
 INFO loader: Set :default = "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Populating proc cache for "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Load procs for pathname: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb
 INFO loader: Set :root = #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile
 INFO loader: Loading configuration in order: [:default, :home, :root]
DEBUG loader: Loading from: default (evaluating)
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG hosts: Host path search classes: [VagrantPlugins::HostWindows::Host, VagrantPlugins::HostSlackware::Host, VagrantPlugins::HostRedHat::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostGentoo::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::HostBSD::Host, VagrantPlugins::HostLinux::Host]
 INFO hosts: Host class: VagrantPlugins::HostBSD::Host
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100af4a00>
 INFO cli: CLI: [] "up" ["--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Loading all machines...
 INFO environment: Getting machine: default (vsphere)
 INFO environment: Uncached load of machine.
 INFO loader: Set :vm_default = []
 INFO loader: Loading configuration in order: [:default, :home, :root, :vm_default]
DEBUG loader: Loading from: default (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
 INFO box_collection: Searching for box: testing (vsphere) in /Users/droche/.vagrant.d/boxes/testing/vsphere/metadata.json
 INFO box_collection: Box not found: testing (vsphere)
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::VSphere::Provider
 INFO machine:   - Box:
 INFO machine:   - Data dir: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant/machines/default/vsphere
 INFO command: With machine: default (#<VagrantPlugins::VSphere::Provider:0x00000103212d30 @machine=#<Vagrant::Machine: default (VagrantPlugins::VSphere::Provider)>>)
 INFO interface: info: Bringing machine 'default' up with 'vsphere' provider...
 INFO batch_action: Enabling parallelization by default.
 INFO batch_action: Disabling parallelization because provider doesn't support it: vsphere
 INFO batch_action: Batch action will parallelize: false
 INFO batch_action: Starting action: #<Vagrant::Machine:0x00000103118df8> up {:destroy_on_error=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
 INFO machine: Calling action: up on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103190920>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000010327b0b0>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x0000010327b088>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO runner: Running action: #<Vagrant::Action::Builder:0x0000010333aa50>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO machine: Calling action: get_state on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103360e30>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO runner: Running action: #<Vagrant::Action::Warden:0x000001009102e8>
 INFO warden: Calling IN action: #<Proc:0x000001030db2a0@/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::Clone:0x00000100910180>
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
ERROR warden: Error occurred: No error message
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100a94600>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::VSphere::Errors::VSphereError: No error message>
ERROR vagrant: No error message
ERROR vagrant: /Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:19:in `rescue in call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:14:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
 INFO interface: error: No error message
No error message
daxmac:vmware droche$ cat out.log
Bringing machine 'default' up with 'vsphere' provider...
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:103:in `make_type'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:65:in `block in get'
/Applications/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:63:in `get'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:78:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:116:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:111:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `block in parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `map'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:90:in `call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:205:in `_call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:183:in `_get_property'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim/ServiceInstance.rb:8:in `find_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/util/vim_helpers.rb:8:in `get_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/clone.rb:23:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:16:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: vsphere plugin

Samuel Brown
Hi Damien,

It looks like you might be having a problem with whatever version of the nokogiri gem is installed on your machine.  It looks like this is a known issue with the plugin:

https://github.com/nsidc/vagrant-vsphere/issues/28

A workaround is provided in that thread although I have not tried it myself.

-Sam

On Monday, February 10, 2014 5:47:59 PM UTC-5, Damien Roche wrote:
Hi All,

I’ve been trying to get vagrant-vsphere plugin working locally.
From what I can tell is It’s logging in but then can’t clone the vm from template?
I’ve tried multiple permutations of the following config that result with the same error.

I’ve also tried a user with full admin privileges, and also restricted to just the necessary  to no avail. Tho I can create a vm from template via the web console.

Any tips or suggestions greatly appreciated.


Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = 'testing'
  config.vm.box_url = './example_box/dummy.box'

  config.vm.provider :vsphere do |vsphere|
    vsphere.host = ‘<a href="http://vcenter.example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcenter.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNFedT5MjhDtKhJ9ax1ccmFmbiVPCQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcenter.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNFedT5MjhDtKhJ9ax1ccmFmbiVPCQ';return true;">vcenter.example.com'
    vsphere.data_center_name = ‘myDcenter'
    vsphere.compute_resource_name = ‘<a href="http://myvmhost.example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmyvmhost.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEi6ZXB7Ud418p9DCH9lmRcJhfmew';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmyvmhost.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEi6ZXB7Ud418p9DCH9lmRcJhfmew';return true;">myvmhost.example.com'
    <a href="http://vsphere.name" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvsphere.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGQW7qe92fmq9uws0WAvk2PCcsICA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvsphere.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGQW7qe92fmq9uws0WAvk2PCcsICA';return true;">vsphere.name = 'chef-minion'
    vsphere.resource_pool_name = 'vagrant'
    vsphere.clone_from_vm = false
    vsphere.template_name = 'test'
    vsphere.data_store_name = ‘myvmhostDatastore1'
    vsphere.user = ‘<a href="http://example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fexample.com\46sa\75D\46sntz\0751\46usg\75AFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fexample.com\46sa\75D\46sntz\0751\46usg\75AFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw';return true;">example.com\myuser'
    vsphere.password = ‘password'
    vsphere.insecure = true
  end
end



vagrant up —debug


 INFO global: Vagrant version: 1.4.3
 INFO global: Ruby version: 2.0.0
 INFO global: RubyGems version: 2.0.14
 INFO global: VAGRANT_FORCE_BUNDLER="1"
 INFO global: VAGRANT_DEFAULT_PROVIDER="vsphere"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_DETECTED_OS="Darwin"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_LOG="debug"
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/opensuse/plugin.rb
 INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x0000010313b268>)
 INFO environment:   - cwd: /Users/droche/Documents/Source/example-vagrant/vmware
 INFO environment: Home path: /Users/droche/.vagrant.d
 INFO environment: Local data path: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Creating: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Loading plugins from: /Users/droche/.vagrant.d/plugins.json
 INFO environment: Loading plugin from JSON: vagrant-vsphere
 INFO manager: Registered plugin: vsphere
 INFO manager: Registered required plugin: vagrant-vsphere
 INFO root: Loaded plugin vagrant-vsphere, version 0.7.0
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Running action: #<Vagrant::Action::Builder:0x000001010e3718>
 INFO environment: Running hook: environment_load
 INFO environment: Initializing config...
 INFO loader: Set :default = "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Populating proc cache for "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Load procs for pathname: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb
 INFO loader: Set :root = #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile
 INFO loader: Loading configuration in order: [:default, :home, :root]
DEBUG loader: Loading from: default (evaluating)
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG hosts: Host path search classes: [VagrantPlugins::HostWindows::Host, VagrantPlugins::HostSlackware::Host, VagrantPlugins::HostRedHat::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostGentoo::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::HostBSD::Host, VagrantPlugins::HostLinux::Host]
 INFO hosts: Host class: VagrantPlugins::HostBSD::Host
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100af4a00>
 INFO cli: CLI: [] "up" ["--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Loading all machines...
 INFO environment: Getting machine: default (vsphere)
 INFO environment: Uncached load of machine.
 INFO loader: Set :vm_default = []
 INFO loader: Loading configuration in order: [:default, :home, :root, :vm_default]
DEBUG loader: Loading from: default (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
 INFO box_collection: Searching for box: testing (vsphere) in /Users/droche/.vagrant.d/boxes/testing/vsphere/metadata.json
 INFO box_collection: Box not found: testing (vsphere)
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::VSphere::Provider
 INFO machine:   - Box:
 INFO machine:   - Data dir: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant/machines/default/vsphere
 INFO command: With machine: default (#<VagrantPlugins::VSphere::Provider:0x00000103212d30 @machine=#<Vagrant::Machine: default (VagrantPlugins::VSphere::Provider)>>)
 INFO interface: info: Bringing machine 'default' up with 'vsphere' provider...
 INFO batch_action: Enabling parallelization by default.
 INFO batch_action: Disabling parallelization because provider doesn't support it: vsphere
 INFO batch_action: Batch action will parallelize: false
 INFO batch_action: Starting action: #<Vagrant::Machine:0x00000103118df8> up {:destroy_on_error=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
 INFO machine: Calling action: up on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103190920>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000010327b0b0>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x0000010327b088>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO runner: Running action: #<Vagrant::Action::Builder:0x0000010333aa50>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO machine: Calling action: get_state on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103360e30>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO runner: Running action: #<Vagrant::Action::Warden:0x000001009102e8>
 INFO warden: Calling IN action: #<Proc:0x000001030db2a0@/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::Clone:0x00000100910180>
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
ERROR warden: Error occurred: No error message
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100a94600>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::VSphere::Errors::VSphereError: No error message>
ERROR vagrant: No error message
ERROR vagrant: /Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:19:in `rescue in call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:14:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
 INFO interface: error: No error message
No error message
daxmac:vmware droche$ cat out.log
Bringing machine 'default' up with 'vsphere' provider...
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:103:in `make_type'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:65:in `block in get'
/Applications/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:63:in `get'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:78:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:116:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:111:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `block in parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `map'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:90:in `call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:205:in `_call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:183:in `_get_property'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim/ServiceInstance.rb:8:in `find_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/util/vim_helpers.rb:8:in `get_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/clone.rb:23:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:16:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: vsphere plugin

Samuel Brown
In reply to this post by Damien Roche
Damien,

I ran into this again today myself running the latest vagrant-vsphere plugin with the latest version of Vagrant.  I was able to move past the issue by forking the vagrant-vsphere project and hard-coding the version of rbvmomi in the gemspec.  

My forked version seems to be working for my needs.  To use it:
1) vagrant plugin uninstall vagrant-vsphere
2) git clone [hidden email]:samueltbrown/vagrant-vsphere.git
3) bundle install
4) bundle exec rake
5) cd pkg
6) vagrant plugin install vagrant-vsphere-0.6.0.gem

Let me know if you have any issues if you decide to go this route.

Thanks,

Sam

On Monday, February 10, 2014 5:47:59 PM UTC-5, Damien Roche wrote:
Hi All,

I’ve been trying to get vagrant-vsphere plugin working locally.
From what I can tell is It’s logging in but then can’t clone the vm from template?
I’ve tried multiple permutations of the following config that result with the same error.

I’ve also tried a user with full admin privileges, and also restricted to just the necessary  to no avail. Tho I can create a vm from template via the web console.

Any tips or suggestions greatly appreciated.


Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = 'testing'
  config.vm.box_url = './example_box/dummy.box'

  config.vm.provider :vsphere do |vsphere|
    vsphere.host = ‘<a href="http://vcenter.example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcenter.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNFedT5MjhDtKhJ9ax1ccmFmbiVPCQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcenter.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNFedT5MjhDtKhJ9ax1ccmFmbiVPCQ';return true;">vcenter.example.com'
    vsphere.data_center_name = ‘myDcenter'
    vsphere.compute_resource_name = ‘<a href="http://myvmhost.example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmyvmhost.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEi6ZXB7Ud418p9DCH9lmRcJhfmew';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmyvmhost.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEi6ZXB7Ud418p9DCH9lmRcJhfmew';return true;">myvmhost.example.com'
    <a href="http://vsphere.name" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvsphere.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGQW7qe92fmq9uws0WAvk2PCcsICA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvsphere.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGQW7qe92fmq9uws0WAvk2PCcsICA';return true;">vsphere.name = 'chef-minion'
    vsphere.resource_pool_name = 'vagrant'
    vsphere.clone_from_vm = false
    vsphere.template_name = 'test'
    vsphere.data_store_name = ‘myvmhostDatastore1'
    vsphere.user = ‘<a href="http://example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fexample.com\46sa\75D\46sntz\0751\46usg\75AFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fexample.com\46sa\75D\46sntz\0751\46usg\75AFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw';return true;">example.com\myuser'
    vsphere.password = ‘password'
    vsphere.insecure = true
  end
end



vagrant up —debug


 INFO global: Vagrant version: 1.4.3
 INFO global: Ruby version: 2.0.0
 INFO global: RubyGems version: 2.0.14
 INFO global: VAGRANT_FORCE_BUNDLER="1"
 INFO global: VAGRANT_DEFAULT_PROVIDER="vsphere"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_DETECTED_OS="Darwin"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_LOG="debug"
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/opensuse/plugin.rb
 INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x0000010313b268>)
 INFO environment:   - cwd: /Users/droche/Documents/Source/example-vagrant/vmware
 INFO environment: Home path: /Users/droche/.vagrant.d
 INFO environment: Local data path: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Creating: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Loading plugins from: /Users/droche/.vagrant.d/plugins.json
 INFO environment: Loading plugin from JSON: vagrant-vsphere
 INFO manager: Registered plugin: vsphere
 INFO manager: Registered required plugin: vagrant-vsphere
 INFO root: Loaded plugin vagrant-vsphere, version 0.7.0
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Running action: #<Vagrant::Action::Builder:0x000001010e3718>
 INFO environment: Running hook: environment_load
 INFO environment: Initializing config...
 INFO loader: Set :default = "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Populating proc cache for "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Load procs for pathname: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb
 INFO loader: Set :root = #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile
 INFO loader: Loading configuration in order: [:default, :home, :root]
DEBUG loader: Loading from: default (evaluating)
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG hosts: Host path search classes: [VagrantPlugins::HostWindows::Host, VagrantPlugins::HostSlackware::Host, VagrantPlugins::HostRedHat::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostGentoo::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::HostBSD::Host, VagrantPlugins::HostLinux::Host]
 INFO hosts: Host class: VagrantPlugins::HostBSD::Host
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100af4a00>
 INFO cli: CLI: [] "up" ["--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Loading all machines...
 INFO environment: Getting machine: default (vsphere)
 INFO environment: Uncached load of machine.
 INFO loader: Set :vm_default = []
 INFO loader: Loading configuration in order: [:default, :home, :root, :vm_default]
DEBUG loader: Loading from: default (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
 INFO box_collection: Searching for box: testing (vsphere) in /Users/droche/.vagrant.d/boxes/testing/vsphere/metadata.json
 INFO box_collection: Box not found: testing (vsphere)
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::VSphere::Provider
 INFO machine:   - Box:
 INFO machine:   - Data dir: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant/machines/default/vsphere
 INFO command: With machine: default (#<VagrantPlugins::VSphere::Provider:0x00000103212d30 @machine=#<Vagrant::Machine: default (VagrantPlugins::VSphere::Provider)>>)
 INFO interface: info: Bringing machine 'default' up with 'vsphere' provider...
 INFO batch_action: Enabling parallelization by default.
 INFO batch_action: Disabling parallelization because provider doesn't support it: vsphere
 INFO batch_action: Batch action will parallelize: false
 INFO batch_action: Starting action: #<Vagrant::Machine:0x00000103118df8> up {:destroy_on_error=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
 INFO machine: Calling action: up on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103190920>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000010327b0b0>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x0000010327b088>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO runner: Running action: #<Vagrant::Action::Builder:0x0000010333aa50>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO machine: Calling action: get_state on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103360e30>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO runner: Running action: #<Vagrant::Action::Warden:0x000001009102e8>
 INFO warden: Calling IN action: #<Proc:0x000001030db2a0@/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::Clone:0x00000100910180>
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
ERROR warden: Error occurred: No error message
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100a94600>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::VSphere::Errors::VSphereError: No error message>
ERROR vagrant: No error message
ERROR vagrant: /Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:19:in `rescue in call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:14:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
 INFO interface: error: No error message
No error message
daxmac:vmware droche$ cat out.log
Bringing machine 'default' up with 'vsphere' provider...
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:103:in `make_type'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:65:in `block in get'
/Applications/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:63:in `get'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:78:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:116:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:111:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `block in parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `map'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:90:in `call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:205:in `_call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:183:in `_get_property'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim/ServiceInstance.rb:8:in `find_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/util/vim_helpers.rb:8:in `get_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/clone.rb:23:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:16:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: vsphere plugin

Damien Roche
Hi Samuel,

Appreciate your reply.

I gave your suggestion a quick try this evening before leaving for home.
It did fail on the bundle exec rake, on rspec tests ( I think ) I don't have the output handy.

Just curious what version of Ruby your're using?


Thanks again
Damien




On 11 February 2014 14:19, Samuel Brown <[hidden email]> wrote:
Damien,

I ran into this again today myself running the latest vagrant-vsphere plugin with the latest version of Vagrant.  I was able to move past the issue by forking the vagrant-vsphere project and hard-coding the version of rbvmomi in the gemspec.  

My forked version seems to be working for my needs.  To use it:
1) vagrant plugin uninstall vagrant-vsphere
2) git clone [hidden email]:samueltbrown/vagrant-vsphere.git
3) bundle install
4) bundle exec rake
5) cd pkg
6) vagrant plugin install vagrant-vsphere-0.6.0.gem

Let me know if you have any issues if you decide to go this route.

Thanks,

Sam

On Monday, February 10, 2014 5:47:59 PM UTC-5, Damien Roche wrote:
Hi All,

I’ve been trying to get vagrant-vsphere plugin working locally.
From what I can tell is It’s logging in but then can’t clone the vm from template?
I’ve tried multiple permutations of the following config that result with the same error.

I’ve also tried a user with full admin privileges, and also restricted to just the necessary  to no avail. Tho I can create a vm from template via the web console.

Any tips or suggestions greatly appreciated.


Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = 'testing'
  config.vm.box_url = './example_box/dummy.box'

  config.vm.provider :vsphere do |vsphere|
    vsphere.host = ‘vcenter.example.com'
    vsphere.data_center_name = ‘myDcenter'
    vsphere.compute_resource_name = ‘myvmhost.example.com'
    vsphere.name = 'chef-minion'
    vsphere.resource_pool_name = 'vagrant'
    vsphere.clone_from_vm = false
    vsphere.template_name = 'test'
    vsphere.data_store_name = ‘myvmhostDatastore1'
    vsphere.user = ‘example.com\myuser'
    vsphere.password = ‘password'
    vsphere.insecure = true
  end
end



vagrant up —debug


 INFO global: Vagrant version: 1.4.3
 INFO global: Ruby version: 2.0.0
 INFO global: RubyGems version: 2.0.14
 INFO global: VAGRANT_FORCE_BUNDLER="1"
 INFO global: VAGRANT_DEFAULT_PROVIDER="vsphere"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_DETECTED_OS="Darwin"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_LOG="debug"
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/opensuse/plugin.rb
 INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x0000010313b268>)
 INFO environment:   - cwd: /Users/droche/Documents/Source/example-vagrant/vmware
 INFO environment: Home path: /Users/droche/.vagrant.d
 INFO environment: Local data path: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Creating: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Loading plugins from: /Users/droche/.vagrant.d/plugins.json
 INFO environment: Loading plugin from JSON: vagrant-vsphere
 INFO manager: Registered plugin: vsphere
 INFO manager: Registered required plugin: vagrant-vsphere
 INFO root: Loaded plugin vagrant-vsphere, version 0.7.0
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Running action: #<Vagrant::Action::Builder:0x000001010e3718>
 INFO environment: Running hook: environment_load
 INFO environment: Initializing config...
 INFO loader: Set :default = "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Populating proc cache for "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Load procs for pathname: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb
 INFO loader: Set :root = #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile
 INFO loader: Loading configuration in order: [:default, :home, :root]
DEBUG loader: Loading from: default (evaluating)
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG hosts: Host path search classes: [VagrantPlugins::HostWindows::Host, VagrantPlugins::HostSlackware::Host, VagrantPlugins::HostRedHat::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostGentoo::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::HostBSD::Host, VagrantPlugins::HostLinux::Host]
 INFO hosts: Host class: VagrantPlugins::HostBSD::Host
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100af4a00>
 INFO cli: CLI: [] "up" ["--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Loading all machines...
 INFO environment: Getting machine: default (vsphere)
 INFO environment: Uncached load of machine.
 INFO loader: Set :vm_default = []
 INFO loader: Loading configuration in order: [:default, :home, :root, :vm_default]
DEBUG loader: Loading from: default (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
 INFO box_collection: Searching for box: testing (vsphere) in /Users/droche/.vagrant.d/boxes/testing/vsphere/metadata.json
 INFO box_collection: Box not found: testing (vsphere)
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::VSphere::Provider
 INFO machine:   - Box:
 INFO machine:   - Data dir: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant/machines/default/vsphere
 INFO command: With machine: default (#<VagrantPlugins::VSphere::Provider:0x00000103212d30 @machine=#<Vagrant::Machine: default (VagrantPlugins::VSphere::Provider)>>)
 INFO interface: info: Bringing machine 'default' up with 'vsphere' provider...
 INFO batch_action: Enabling parallelization by default.
 INFO batch_action: Disabling parallelization because provider doesn't support it: vsphere
 INFO batch_action: Batch action will parallelize: false
 INFO batch_action: Starting action: #<Vagrant::Machine:0x00000103118df8> up {:destroy_on_error=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
 INFO machine: Calling action: up on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103190920>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000010327b0b0>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x0000010327b088>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO runner: Running action: #<Vagrant::Action::Builder:0x0000010333aa50>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO machine: Calling action: get_state on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103360e30>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO runner: Running action: #<Vagrant::Action::Warden:0x000001009102e8>
 INFO warden: Calling IN action: #<Proc:0x000001030db2a0@/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::Clone:0x00000100910180>
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
ERROR warden: Error occurred: No error message
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100a94600>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::VSphere::Errors::VSphereError: No error message>
ERROR vagrant: No error message
ERROR vagrant: /Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:19:in `rescue in call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:14:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
 INFO interface: error: No error message
No error message
daxmac:vmware droche$ cat out.log
Bringing machine 'default' up with 'vsphere' provider...
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:103:in `make_type'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:65:in `block in get'
/Applications/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:63:in `get'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:78:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:116:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:111:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `block in parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `map'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:90:in `call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:205:in `_call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:183:in `_get_property'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim/ServiceInstance.rb:8:in `find_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/util/vim_helpers.rb:8:in `get_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/clone.rb:23:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:16:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.



--
Kind Regards
Damien

Mobile: +353 87 2869749

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: vsphere plugin

Samuel Brown
Hi Damien,

I'm using 1.9.3.  I have not had any success yet with Ruby 2.0.

Thanks,

Sam

On Wednesday, February 12, 2014 1:23:48 AM UTC-5, Damien Roche wrote:
Hi Samuel,

Appreciate your reply.

I gave your suggestion a quick try this evening before leaving for home.
It did fail on the bundle exec rake, on rspec tests ( I think ) I don't have the output handy.

Just curious what version of Ruby your're using?


Thanks again
Damien




On 11 February 2014 14:19, Samuel Brown <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="ns1wnVGlQ0wJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">samuel....@...> wrote:
Damien,

I ran into this again today myself running the latest vagrant-vsphere plugin with the latest version of Vagrant.  I was able to move past the issue by forking the vagrant-vsphere project and hard-coding the version of rbvmomi in the gemspec.  

My forked version seems to be working for my needs.  To use it:
1) vagrant plugin uninstall vagrant-vsphere
2) git clone [hidden email]:samueltbrown/vagrant-vsphere.git
3) bundle install
4) bundle exec rake
5) cd pkg
6) vagrant plugin install vagrant-vsphere-0.6.0.gem

Let me know if you have any issues if you decide to go this route.

Thanks,

Sam

On Monday, February 10, 2014 5:47:59 PM UTC-5, Damien Roche wrote:
Hi All,

I’ve been trying to get vagrant-vsphere plugin working locally.
From what I can tell is It’s logging in but then can’t clone the vm from template?
I’ve tried multiple permutations of the following config that result with the same error.

I’ve also tried a user with full admin privileges, and also restricted to just the necessary  to no avail. Tho I can create a vm from template via the web console.

Any tips or suggestions greatly appreciated.


Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = 'testing'
  config.vm.box_url = './example_box/dummy.box'

  config.vm.provider :vsphere do |vsphere|
    vsphere.host = ‘<a href="http://vcenter.example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcenter.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNFedT5MjhDtKhJ9ax1ccmFmbiVPCQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvcenter.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNFedT5MjhDtKhJ9ax1ccmFmbiVPCQ';return true;">vcenter.example.com'
    vsphere.data_center_name = ‘myDcenter'
    vsphere.compute_resource_name = ‘<a href="http://myvmhost.example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmyvmhost.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEi6ZXB7Ud418p9DCH9lmRcJhfmew';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmyvmhost.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEi6ZXB7Ud418p9DCH9lmRcJhfmew';return true;">myvmhost.example.com'
    <a href="http://vsphere.name" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvsphere.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGQW7qe92fmq9uws0WAvk2PCcsICA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvsphere.name\46sa\75D\46sntz\0751\46usg\75AFQjCNGQW7qe92fmq9uws0WAvk2PCcsICA';return true;">vsphere.name = 'chef-minion'
    vsphere.resource_pool_name = 'vagrant'
    vsphere.clone_from_vm = false
    vsphere.template_name = 'test'
    vsphere.data_store_name = ‘myvmhostDatastore1'
    vsphere.user = ‘<a href="http://example.com" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fexample.com\46sa\75D\46sntz\0751\46usg\75AFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fexample.com\46sa\75D\46sntz\0751\46usg\75AFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw';return true;">example.com\myuser'
    vsphere.password = ‘password'
    vsphere.insecure = true
  end
end



vagrant up —debug


 INFO global: Vagrant version: 1.4.3
 INFO global: Ruby version: 2.0.0
 INFO global: RubyGems version: 2.0.14
 INFO global: VAGRANT_FORCE_BUNDLER="1"
 INFO global: VAGRANT_DEFAULT_PROVIDER="vsphere"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_DETECTED_OS="Darwin"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_LOG="debug"
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/opensuse/plugin.rb
 INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x0000010313b268>)
 INFO environment:   - cwd: /Users/droche/Documents/Source/example-vagrant/vmware
 INFO environment: Home path: /Users/droche/.vagrant.d
 INFO environment: Local data path: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Creating: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant
DEBUG environment: Loading plugins from: /Users/droche/.vagrant.d/plugins.json
 INFO environment: Loading plugin from JSON: vagrant-vsphere
 INFO manager: Registered plugin: vsphere
 INFO manager: Registered required plugin: vagrant-vsphere
 INFO root: Loaded plugin vagrant-vsphere, version 0.7.0
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Running action: #<Vagrant::Action::Builder:0x000001010e3718>
 INFO environment: Running hook: environment_load
 INFO environment: Initializing config...
 INFO loader: Set :default = "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Populating proc cache for "/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb"
DEBUG loader: Load procs for pathname: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/config/default.rb
 INFO loader: Set :root = #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:/Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/droche/Documents/Source/example-vagrant/vmware/Vagrantfile
 INFO loader: Loading configuration in order: [:default, :home, :root]
DEBUG loader: Loading from: default (evaluating)
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG hosts: Host path search classes: [VagrantPlugins::HostWindows::Host, VagrantPlugins::HostSlackware::Host, VagrantPlugins::HostRedHat::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostGentoo::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::HostBSD::Host, VagrantPlugins::HostLinux::Host]
 INFO hosts: Host class: VagrantPlugins::HostBSD::Host
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100af4a00>
 INFO cli: CLI: [] "up" ["--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Loading all machines...
 INFO environment: Getting machine: default (vsphere)
 INFO environment: Uncached load of machine.
 INFO loader: Set :vm_default = []
 INFO loader: Loading configuration in order: [:default, :home, :root, :vm_default]
DEBUG loader: Loading from: default (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
 INFO box_collection: Searching for box: testing (vsphere) in /Users/droche/.vagrant.d/boxes/testing/vsphere/metadata.json
 INFO box_collection: Box not found: testing (vsphere)
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::VSphere::Provider
 INFO machine:   - Box:
 INFO machine:   - Data dir: /Users/droche/Documents/Source/example-vagrant/vmware/.vagrant/machines/default/vsphere
 INFO command: With machine: default (#<VagrantPlugins::VSphere::Provider:0x00000103212d30 @machine=#<Vagrant::Machine: default (VagrantPlugins::VSphere::Provider)>>)
 INFO interface: info: Bringing machine 'default' up with 'vsphere' provider...
 INFO batch_action: Enabling parallelization by default.
 INFO batch_action: Disabling parallelization because provider doesn't support it: vsphere
 INFO batch_action: Batch action will parallelize: false
 INFO batch_action: Starting action: #<Vagrant::Machine:0x00000103118df8> up {:destroy_on_error=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
 INFO machine: Calling action: up on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103190920>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000010327b0b0>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x0000010327b088>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO runner: Running action: #<Vagrant::Action::Builder:0x0000010333aa50>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO machine: Calling action: get_state on provider vSphere (new)
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000103360e30>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x00000100c9ff08>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::GetState:0x00000100c9ff30>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x00000100c9ff58>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100c9ff80>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::IsCreated:0x00000103339538>
 INFO runner: Running action: #<Vagrant::Action::Warden:0x000001009102e8>
 INFO warden: Calling IN action: #<Proc:0x000001030db2a0@/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::Clone:0x00000100910180>
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: unknown VMODL type AnyType
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000010327b060>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
ERROR warden: Error occurred: No error message
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100a94600>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::VSphere::Errors::VSphereError: No error message>
ERROR vagrant: No error message
ERROR vagrant: /Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:19:in `rescue in call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:14:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
 INFO interface: error: No error message
No error message
daxmac:vmware droche$ cat out.log
Bringing machine 'default' up with 'vsphere' provider...
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:103:in `make_type'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:65:in `block in get'
/Applications/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/type_loader.rb:63:in `get'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:78:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:116:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:111:in `block in traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `each'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:98:in `traverse_data'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/deserialization.rb:81:in `deserialize'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `block in parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `map'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:68:in `parse_response'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:90:in `call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:205:in `_call'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:183:in `_get_property'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init'
/Users/droche/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim/ServiceInstance.rb:8:in `find_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/util/vim_helpers.rb:8:in `get_datacenter'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/clone.rb:23:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Users/droche/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:16:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="ns1wnVGlQ0wJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">vagrant-up+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;">https://groups.google.com/groups/opt_out.



--
Kind Regards
Damien

Mobile: +353 87 2869749

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: vsphere plugin

Robz
This post has NOT been accepted by the mailing list yet.
In reply to this post by Damien Roche
Hi Damien,

Were you able to resolve this? I'm running into the same problem...