Error beetwen integrate linux debian and vsphere client!

29 views
Skip to first unread message

joao paulo sapi de paula

unread,
Dec 6, 2023, 1:41:43 PM12/6/23
to Vagrant
vagrant plugin list vagrant-libvirt (0.11.2, system) vagrant-vmware-esxi (2.5.5, global) Tenho esses dois plugins instalados Consigo conectar no vsphere client via ssh! estou usando o vagrant up --provider=vmware_esxi para tentar startar!!!! Ele me retorna esse erro: ==> default: --- ESXi host access : Verify password in Vagrantfile is correct. There was an error talking to ESXi. Unable to connect to ESXi host! Error: disconnected: Too many authentication failures (2) Estrutura do meu vagrant file: Vagrant.configure("2") do |config| #config.vm.box = "hashicorp/precise64" config.vm.box = "centos/7" config.vm.provider "vmware_esxi" do |v| # VMware-specific configuration options v.vmx["memsize"] = "1024" end config.vm.provider :vmware_esxi do |esxi| # REQUIRED! ESXi hostname/IP esxi.esxi_hostname = 'ip do vsphere client' # ESXi username esxi.esxi_username = 'usuario que eu logo no vsphere client' esxi.esxi_password = 'passwd' config.ssh.verbosity = "debug" # SSH port. # esxi.esxi_hostport = 22 alguém me da uma luz!!!!

joao paulo sapi de paula

unread,
Dec 6, 2023, 1:45:44 PM12/6/23
to Vagrant
Hello everyone!!!
I´m try to integrated vagrant with the vsphere client!!! but it´s not working!!!

vagrant plugin list
vagrant-libvirt (0.11.2, system)
vagrant-vmware-esxi (2.5.5, global)

It´s working connection ssh vsphere client!
I use this commando for to run vagrant up --provider=vmware_esxi!!!!

Error:

==> default: --- ESXi host access : Verify password in Vagrantfile is correct.
There was an error talking to ESXi.
  Unable to connect to ESXi host! Error: disconnected: Too many authentication failures (2)

My vagrant file:

Vagrant.configure("2") do |config|
  #config.vm.box = "hashicorp/precise64"
  config.vm.box = "centos/7"
  config.vm.provider "vmware_esxi" do |v|
    # VMware-specific configuration options
    v.vmx["memsize"] = "1024"
  end

config.vm.provider :vmware_esxi do |esxi|

    #  REQUIRED!  ESXi hostname/IP
    esxi.esxi_hostname = 'ip do vsphere client'
    #  ESXi username
    esxi.esxi_username = 'usuario que eu logo no vsphere client'
    esxi.esxi_password = 'passwd'
    config.ssh.verbosity = "debug"
    #  SSH port.
    # esxi.esxi_hostport = 22

help me!!!!
thanks a lot!!
Reply all
Reply to author
Forward
0 new messages