On Thursday, July 04, 2013 10:38:52 PM Toan Trac wrote:
> Hello,
> 
> I have been troubleshooting for some time now.  Esxi is 4.0 (enabled ssh,
> and tested).  I notice the log shows the fail on ssh.  Below is the
> complete log.
> 

<snip>

> 22:29:19|3748|7:7|image|Module.pm:create_provisioning_object(519)|VCL::Modul
> e::Provisioning::libvirt module loaded
> 2013-07-04
> 22:29:19|3748|7:7|image|Module.pm:new(200)|VCL::Module::Provisioning::libvir
> t object created for computer win2003, address: 3bff460
> 2013-07-04 22:29:19|3748|7:7|image|libvirt.pm:initialize(99)|libvirt driver
> module directory path:
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt
> 2013-07-04 22:29:19|3748|7:7|image|OS.pm:find_files(2917)|attempting to
> find files on localhost, base directory path:
> '/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/', pattern:
> *.pm, command: /usr/bin/find
> "/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/" -type f -iname
> "*.pm"
> 2013-07-04 22:29:19|3748|7:7|image|OS.pm:find_files(2945)|files found: 1,
> base directory:
> '/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/', pattern:
> '*.pm'
> 
> |3748|7:7|image| command: '/usr/bin/find
> 
> "/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/" -type f -iname
> "*.pm"'
> 2013-07-04
> 22:29:19|3748|7:7|image|Module.pm:new(200)|VCL::Module::Provisioning::libvir
> t::KVM object created for computer win2003, address: 43d3ed8
> 2013-07-04 22:29:19|3748|7:7|image|utils.pm:run_ssh_command(4902)|executing
> 
> SSH command on 192:
> |3748|7:7|image| /usr/bin/ssh  -o StrictHostKeyChecking=no -o
> 
> UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l
> root -p 22 -x 192 'which virsh' 2>&1
> 
> |3748|7:7|image| ---- WARNING ----
> |3748|7:7|image| 2013-07-04
> 
> 22:29:19|3748|7:7|image|utils.pm:run_ssh_command(5010)|attempt
> 1/3: failed to execute SSH command on 192: 'which virsh', exit status: 255,
> SSH exits with the exit status of the remote command or with 255 if an
> 
> error occurred, output:
> |3748|7:7|image| ssh output (which virs...): ssh: connect to host 192 port
> 
> 22: Invalid argument

<snip>

Toan,

This part of the log shows that you have the provisioning engine for the 
computer set to libvirt.  You need to switch it to VMware if you are using 
ESXi.

As a side note, in the U.S., yesterday was a big holiday.  So, many people are 
out some or all of this week.  More people will be available to help next 
week.

Josh
-- 
-------------------------------
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

[email protected]
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to