GithubHelp home page GithubHelp logo

Ruby Vers. Issue? about vagrant-vsphere HOT 17 OPEN

nsidc avatar nsidc commented on June 20, 2024
Ruby Vers. Issue?

from vagrant-vsphere.

Comments (17)

henrysher avatar henrysher commented on June 20, 2024

Please add --debug option in your "vagrant up" commands, more details then.
From the current view, it failed in the "rbvmomi/vim/connect"

from vagrant-vsphere.

rascboy avatar rascboy commented on June 20, 2024

Okay that worked out better, but I still can't figure out what the problem is. Here's the debug output, thanks Henry:

INFO global: Vagrant version: 1.4.2
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Linux"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_LOG="debug"
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/opensuse/plugin.rb
INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
INFO vagrant: vagrant invoked: ["up", "--provider=vsphere", "--debug"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#Vagrant::Environment:0x000000022dd0a0)
INFO environment: - cwd: /root/Vagrant/Vagrant-Vsphere
INFO environment: Home path: /root/.vagrant.d
INFO environment: Local data path: /root/Vagrant/Vagrant-Vsphere/.vagrant
DEBUG environment: Creating: /root/Vagrant/Vagrant-Vsphere/.vagrant
DEBUG environment: Loading plugins from: /root/.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:0x000000022b5f28
INFO environment: Running hook: environment_load
INFO environment: Initializing config...
INFO loader: Set :default = "/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/config/default.rb"
DEBUG loader: Populating proc cache for "/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/config/default.rb"
DEBUG loader: Load procs for pathname: /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/config/default.rb
INFO loader: Set :root = #Pathname:/root/Vagrant/Vagrant-Vsphere/Vagrantfile
DEBUG loader: Populating proc cache for #Pathname:/root/Vagrant/Vagrant-Vsphere/Vagrantfile
DEBUG loader: Load procs for pathname: /root/Vagrant/Vagrant-Vsphere/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::HostGentoo::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostWindows::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostSlackware::Host, VagrantPlugins::HostRedHat::Host, VagrantPlugins::HostLinux::Host, VagrantPlugins::HostBSD::Host]
INFO hosts: Host class: VagrantPlugins::HostRedHat::Host
INFO runner: Running action: #Vagrant::Action::Builder:0x0000000249a488
INFO cli: CLI: [] "up" ["--provider=vsphere", "--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--provider=vsphere", "--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: []
DEBUG command: -- options: {:provider=>"vsphere"}
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: dummy (vsphere) in /root/.vagrant.d/boxes/dummy/vsphere/metadata.json
INFO box_collection: Box not found: dummy (vsphere)
INFO machine: Initializing machine: default
INFO machine: - Provider: VagrantPlugins::VSphere::Provider
INFO machine: - Box:
INFO machine: - Data dir: /root/Vagrant/Vagrant-Vsphere/.vagrant/machines/default/vsphere
INFO command: With machine: default (#<VagrantPlugins::VSphere::Provider:0x0000000305e5f8 @machine=#<Vagrant::Machine: default (VagrantPlugins::VSphere::Provider)>>)
INFO interface: info: Bringing machine 'default' up with 'vsphere' provider...
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:0x00000002e7a228 up {:destroy_on_error=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil, :provider=>"vsphere"}
INFO machine: Calling action: up on provider vSphere (new)
INFO runner: Running action: #Vagrant::Action::Builder:0x000000023c4f18
INFO warden: Calling IN action: #Vagrant::Action::Builtin::ConfigValidate:0x007fa9a12d9fe0
INFO warden: Calling IN action: #VagrantPlugins::VSphere::Action::ConnectVSphere:0x007fa9a12d9fb8
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:918:in connect' /opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:918:inblock in connect'
/opt/vagrant/embedded/lib/ruby/2.0.0/timeout.rb:66:in timeout' /opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:918:inconnect'
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:862:in do_start' /opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:857:instart'
/root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/trivial_soap.rb:56:in restart_http' /root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/trivial_soap.rb:20:ininitialize'
/root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/connection.rb:31:in initialize' /root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim.rb:36:innew'
/root/.vagrant.d/gems/gems/rbvmomi-1.8.1/lib/rbvmomi/vim.rb:36:in connect' /root/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:15:incall'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/warden.rb:34:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/builtin/config_validate.rb:25:incall'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/warden.rb:34:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/builder.rb:116:incall'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/runner.rb:69:in block in run' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/util/busy.rb:19:inbusy'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/runner.rb:69:in run' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/machine.rb:147:inaction'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/batch_action.rb:63:in block (2 levels) in run' 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:0x007fa9a1307058> ERROR vagrant: Vagrant experienced an error! Details: ERROR vagrant: #<VagrantPlugins::VSphere::Errors::VSphereError: No error message> ERROR vagrant: No error message ERROR vagrant: /root/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:19:inrescue in call'
/root/.vagrant.d/gems/gems/vagrant-vsphere-0.7.0/lib/vSphere/action/connect_vsphere.rb:14:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/warden.rb:34:incall'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/builtin/config_validate.rb:25:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/warden.rb:34:incall'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/builder.rb:116:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/runner.rb:69:inblock in run'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/action/runner.rb:69:inrun'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/machine.rb:147:in action' /opt/vagrant/embedded/gems/gems/vagrant-1.4.2/lib/vagrant/batch_action.rb:63:inblock (2 levels) in run'
INFO interface: error: No error message
No error message

from vagrant-vsphere.

henrysher avatar henrysher commented on June 20, 2024

it seems that your connection to vSphere platform timeout. Could you please provide the command and configuration you triggered? I guess the values may be not correct in vSphere parameters.

from vagrant-vsphere.

rascboy avatar rascboy commented on June 20, 2024

The command I issued was: "vagrant up --provider=vsphere"

Here's what's in my vagrantfile:

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure("2") do |config|

config.vm.box = 'dummy'
config.vm.box_url = './root/Vagrant/dummy.box'

config.vm.provider :vsphere do |vsphere|
vsphere.host = '192.168.1.130'
vsphere.compute_resource_name = 'Vsphere'
vsphere.resource_pool_name = 'datastore1'
vsphere.template_name = 'UbuntuTPLT'
vsphere.name = 'Ubuntu01'
vsphere.user = 'root'
vsphere.password = '********'

end
end

Is this what you're looking for? I have the vCenter up and running with an ubuntu template that i cloned from an existing ubuntu VM I created. I've attached two screenshots of my vCenter.

vcenter
vcenter1

from vagrant-vsphere.

henrysher avatar henrysher commented on June 20, 2024

Ensure your values matched to the meaning of each param, attached with a screenshot of my vsphere platform.
screen shot 2014-01-07 at 8 48 24 am
Here is my sample configuration for you. Wish it help.
Please note that your template should match the Vagrant Box requirement: http://docs.vagrantup.com/v2/boxes/base.html

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

  config.vm.provider :vsphere do |vsphere|
    # vCenter Address
    vsphere.host = '10.202.241.x'
    # Data Center Name
    vsphere.data_center_name = 'ICS'
    # ESX Host Address
    vsphere.compute_resource_name = '10.202.241.1'
    # Resource Pool Name
    vsphere.resource_pool_name = 'sample'
    # Template PATH
    vsphere.template_name = 'VagrantTemplate/vsphere-vagrant-box-v0.3'
    #vsphere.customization_spec_name = 'vm-example'
    # Data Store Name
    vsphere.data_store_name = 'datastore'
    # New VM Name
    vsphere.name = 'Zenoss'
    # vCenter Username and Password, not machine username/password
    vsphere.user = 'xxxx'
    vsphere.password = 'xxxx'
    # Avoid SSL Certificate Issue
    vsphere.insecure = true
  end
end

from vagrant-vsphere.

rascboy avatar rascboy commented on June 20, 2024

I'll double check my settings once I get home.

As for the dummy.box, i just tar after downloading the .json file from here. That's correct right?

I'm assuming if I download one of the vmware boxes "precise64" from their website and turn it into a template, that should work...

Thanks again, Henry. I'll keep you posted on the results.

from vagrant-vsphere.

rascboy avatar rascboy commented on June 20, 2024

Quick question. Is the dummy.box supposed to be a base box? I also am a little confused on the template_name parameter. I thought it was supposed to point to an existing template on the vsphere server. But those templates can only be created from existings VMs. How do you go from a .box file to a template file?

I downloaded an ubuntu vmware base box (precise64_vmware) from the www.vagrantbox.es website.

from vagrant-vsphere.

henrysher avatar henrysher commented on June 20, 2024

dummy.box

template_name

  • your template name in the vCenter, no direct connection to your base box

from vagrant-vsphere.

rascboy avatar rascboy commented on June 20, 2024

Thanks again Henry, jumping back on this and will update once I figure it out

from vagrant-vsphere.

tim95030 avatar tim95030 commented on June 20, 2024

Just as a quick note I had connection issues for a while and then I added the vsphere.insecure = true as my cert was failing validation since I was running in a private network that had no cert. This may be something you want to try.

from vagrant-vsphere.

eflukx avatar eflukx commented on June 20, 2024

Any news on this yet. I seem to be experiencing similar trouble. (high-level config; vCenter server appliance v5.5, ESXi 5.1 and 5.5 mixed, AD integration enabled)
Maybe the AD integration causes a failed login? The issue is i get no meaningful error, but something very similar to topic starter. Thanks for any feedback!

from vagrant-vsphere.

rascboy avatar rascboy commented on June 20, 2024

I actually had to put this on hold as a few other things came up. Will be jumping back on this project soon though and I'll update it with any progress.

from vagrant-vsphere.

eflukx avatar eflukx commented on June 20, 2024

Ok, no prob. I just started out testing with Vagrant on our vSphere dev
env. If there's anything i can do to help solve this issue (eg.
test/reproduce etc.) let me know.

On Wed, Feb 12, 2014 at 12:55 AM, rascboy [email protected] wrote:

I actually had to put this on hold as a few other things came up. Will be
jumping back on this project soon though and I'll update it with any
progress.

Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-34823595
.

from vagrant-vsphere.

rylarson avatar rylarson commented on June 20, 2024

Try using rbvmomi directly to connect to vsphere. You will get much better error output.

from vagrant-vsphere.

mihai-mocanu avatar mihai-mocanu commented on June 20, 2024

Hy I also get this error using a vagrant box that worked just fine until 14th of December I belive, when it suddenly started giving this error:

$ vagrant up
Bringing machine 'local' up with 'virtualbox' provider...
==> local: Importing base box 'opscode_ubuntu-12.04_provisionerless'...
==> local: Matching MAC address for NAT networking...
==> local: Setting the name of the VM: LEMP-basic-vagrant-box_local_1419267179037_66797
==> local: Clearing any previously set forwarded ports...
==> local: Installing Chef cookbooks with Librarian-Chef...
==> local: Destroying VM and associated drives...
==> local: Running cleanup tasks for 'chef_solo' provisioner...
==> local: Running cleanup tasks for 'shell' provisioner...
==> local: Running cleanup tasks for 'shell' provisioner...
/opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:918:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
from /opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:919:in `block in connect'
    from /opt/vagrant/embedded/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
    from /opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:919:in `connect'
    from /opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
    from /opt/vagrant/embedded/lib/ruby/2.0.0/net/http.rb:851:in `start'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:353:in `block in http_get'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:348:in `loop'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:348:in `http_get'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:238:in `cache_remote_object!'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:207:in `cache_version_uri_package!'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:216:in `cache_version_uri_unpacked!'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:93:in `block in version_uri_manifest'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:381:in `memo'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:92:in `version_uri_manifest'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:88:in `version_manifest'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:54:in `version_dependencies'
    from /home/mihai/.vagrant.d/gems/gems/librarian-chef-0.0.4/lib/librarian/chef/source/site.rb:462:in `fetch_dependencies'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:125:in `fetch_dependencies!'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:117:in `fetched_dependencies'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:81:in `dependencies'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:117:in `block in check_manifest_for_cycles'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:117:in `each'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:117:in `map'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:117:in `check_manifest_for_cycles'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:64:in `block in recursive_resolve'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:154:in `block (3 levels) in resolving_dependency_map_find_manifests'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:187:in `block in scope_checking_manifest'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:186:in `scope_checking_manifest'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:153:in `block (2 levels) in resolving_dependency_map_find_manifests'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:211:in `block in map_find'
    from /home/mihai/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `each'
...

my Cheffile only contains vim cookbook from site "https://supermarket.chef.io/api/v1"

If I am offtopic please ignore this.

from vagrant-vsphere.

rylarson avatar rylarson commented on June 20, 2024

@mihai-mocanu that error is due to having bad or out of date certificates on your local box. You need to either put the certificates in place or set ssl_verify to false.

from vagrant-vsphere.

mihai-mocanu avatar mihai-mocanu commented on June 20, 2024

Thanks, but I already tried that, with no luck. I still get the same error.

from vagrant-vsphere.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.