The VM host password warning isn't necessarily a problem. I actually changed this from a warning to a normal message in the latest code. You only need the password set if SSH isn't enabled and the vSphere SDK must be used.

Something appears to either be wrong with the SSH key or authorized_keys file on the VM host. Have you configured the authorized_keys file as described on this page:
https://cwiki.apache.org/confluence/display/VCL/VMware+Configuration

Try running SSH from the command line. Specify the private key path configured for the management node: Management Nodes > Edit Information > Edit > End Node SSH Identity Key Files

ssh -i /etc/vcl/vcl.key vclesxi01 'echo test'

You can also modify the code to display the output:
-vi /usr/local/vcl/lib/VCL/Module/OS.pm
-find line 425, change the 0 to 2: 'output_level => 2,'
-save
-/etc/init.d/vcld restart

-Andy


On 2/21/2011 6:04 PM, Alexander Patterson wrote:
Hello,

I have a few errors with the install

VM host password is not configured in the database for the VM profile

API object could not be created:
VCL::Module::Provisioning::VMware::vSphere_SDK, no eval error
(Is there any documentation on the correct command to run or make it
run as eval?)

|23318|5:5|new| 2011-02-21
15:00:45|23318|5:5|new|VMware.pm:initialize(254)|unable to control OS
of VM host vclesxi01 using OS object: VCL::Module::OS::Linux::UnixLab,
VM host is not responding to SSH
Do I have my SSH keys incorrect? Where do I make changes to here?


provisioning object could not be created, returning 0 ?? Unsure

23318|5:5|new| ---- CRITICAL ----
|23318|5:5|new| 2011-02-21
15:00:45|23318|5:5|new|vcld:make_new_child(598)|VCL::new object could
not be created and initialized

Unsure about this one as well

2011-02-21 
15:00:37|23318|5:5|new|utils.pm:rename_vcld_process(7202)|PARENTIMAGE:
1
2011-02-21 15:00:37|23318|5:5|new|utils.pm:rename_vcld_process(7203)|SUBIMAGE: 0
2011-02-21 15:00:37|23318|5:5|new|utils.pm:rename_vcld_process(7221)|renamed
process to 'vcld 5:5 new vmguest-9 vmwarewinxp-v0 admin'
2011-02-21 
15:00:37|23318|5:5|new|DataStructure.pm:is_parent_reservation(943)|returning
true: parent reservation ID for this request: 5
2011-02-21 
15:00:37|23318|5:5|new|DataStructure.pm:is_parent_reservation(943)|returning
true: parent reservation ID for this request: 5
2011-02-21 15:00:37|23318|5:5|new|State.pm:initialize(118)|attempting
to load provisioning module: VCL::Module::Provisioning::VMware::VMware
2011-02-21 
15:00:37|23318|5:5|new|State.pm:initialize(124)|VCL::Module::Provisioning::VMware::VMware
module loaded
2011-02-21 15:00:37|23318|5:5|new|Module.pm:new(134)|constructor
called, class=VCL::Module::Provisioning::VMware::VMware
2011-02-21 
15:00:37|23318|5:5|new|Module.pm:new(156)|VCL::Module::Provisioning::VMware::VMware
object created
2011-02-21 15:00:37|23318|5:5|new|DataStructure.pm:_initialize(594)|computer
ID argument was specified, retrieving data for computer ID: 9
2011-02-21 
15:00:37|23318|5:5|new|VMware.pm:get_vmhost_datastructure(923)|created
DataStructure object for VM host: vclesxi01
2011-02-21 15:00:37|23318|5:5|new|DataStructure.pm:_initialize(594)|computer
ID argument was specified, retrieving data for computer ID: 9
2011-02-21 
15:00:37|23318|5:5|new|VMware.pm:get_vmhost_datastructure(923)|created
DataStructure object for VM host: vclesxi01
2011-02-21 
15:00:37|23318|5:5|new|VMware.pm:get_vmhost_api_object(1027)|attempting
to load VMware control module:
VCL::Module::Provisioning::VMware::vSphere_SDK
2011-02-21 15:00:37|23318|5:5|new|VMware.pm:get_vmhost_api_object(1033)|loaded
VMware control module: VCL::Module::Provisioning::VMware::vSphere_SDK
2011-02-21 15:00:37|23318|5:5|new|Module.pm:new(134)|constructor
called, class=VCL::Module::Provisioning::VMware::vSphere_SDK
2011-02-21 
15:00:37|23318|5:5|new|Module.pm:new(156)|VCL::Module::Provisioning::VMware::vSphere_SDK
object created

|23318|5:5|new| ---- WARNING ----
|23318|5:5|new| 2011-02-21
15:00:37|23318|5:5|new|vSphere_SDK.pm:initialize(1789)|VM host
password is not configured in the database for the VM profile
|23318|5:5|new| ( 0) utils.pm, notify (line: 630)
|23318|5:5|new| (-1) vSphere_SDK.pm, initialize (line: 1789)
|23318|5:5|new| (-2) Module.pm, new (line: 159)
|23318|5:5|new| (-3) VMware.pm, (eval) (line: 1037)
|23318|5:5|new| (-4) VMware.pm, get_vmhost_api_object (line: 1037)
|23318|5:5|new| (-5) VMware.pm, initialize (line: 224)
|23318|5:5|new| (-6) Module.pm, new (line: 159)


|23318|5:5|new| ---- WARNING ----
|23318|5:5|new| 2011-02-21
15:00:37|23318|5:5|new|VMware.pm:get_vmhost_api_object(1040)|API
object could not be created:
VCL::Module::Provisioning::VMware::vSphere_SDK, no eval error
|23318|5:5|new| ( 0) utils.pm, notify (line: 630)
|23318|5:5|new| (-1) VMware.pm, get_vmhost_api_object (line: 1040)
|23318|5:5|new| (-2) VMware.pm, initialize (line: 224)
|23318|5:5|new| (-3) Module.pm, new (line: 159)
|23318|5:5|new| (-4) State.pm, initialize (line: 127)
|23318|5:5|new| (-5) Module.pm, new (line: 159)
|23318|5:5|new| (-6) vcld, make_new_child (line: 591)

2011-02-21 15:00:37|23318|5:5|new|VMware.pm:initialize(240)|attempting
to create OS object for the image currently loaded on the VM host:
vclesxi01
|23318|5:5|new| image name: noimage
|23318|5:5|new| OS module: VCL::Module::OS::Linux::UnixLab
2011-02-21 15:00:37|23318|5:5|new|DataStructure.pm:_initialize(594)|computer
ID argument was specified, retrieving data for computer ID: 9
2011-02-21 
15:00:37|23318|5:5|new|VMware.pm:get_vmhost_datastructure(923)|created
DataStructure object for VM host: vclesxi01
2011-02-21 15:00:37|23318|5:5|new|VMware.pm:get_vmhost_os_object(965)|attempting
to load VM host OS module: VCL::Module::OS::Linux::UnixLab
2011-02-21 15:00:37|23318|5:5|new|VMware.pm:get_vmhost_os_object(971)|VM
host OS module loaded: VCL::Module::OS::Linux::UnixLab
2011-02-21 15:00:37|23318|5:5|new|Module.pm:new(134)|constructor
called, class=VCL::Module::OS::Linux::UnixLab
2011-02-21 
15:00:37|23318|5:5|new|Module.pm:new(156)|VCL::Module::OS::Linux::UnixLab
object created
2011-02-21 15:00:37|23318|5:5|new|VMware.pm:get_vmhost_os_object(977)|VM
host OS object created: VCL::Module::OS::Linux::UnixLab
2011-02-21 15:00:37|23318|5:5|new|VMware.pm:initialize(241)|created OS
object to control the OS of VM host: vclesxi01
2011-02-21 15:00:37|23318|5:5|new|utils.pm:nmap_port(2699)|port 22 is
open on vclesxi01
2011-02-21 15:00:37|23318|5:5|new|utils.pm:nmap_port(2707)|port 24 is
closed on vclesxi01
2011-02-21 15:00:42|14237|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-21 15:00:42
2011-02-21 15:00:45|23318|5:5|new|OS.pm:is_ssh_responding(434)|vclesxi01
is NOT responding to SSH, SSH command failed, port 22: open, port 24:
closed

|23318|5:5|new| ---- WARNING ----
|23318|5:5|new| 2011-02-21
15:00:45|23318|5:5|new|VMware.pm:initialize(254)|unable to control OS
of VM host vclesxi01 using OS object: VCL::Module::OS::Linux::UnixLab,
VM host is not responding to SSH
|23318|5:5|new| ( 0) utils.pm, notify (line: 630)
|23318|5:5|new| (-1) VMware.pm, initialize (line: 254)
|23318|5:5|new| (-2) Module.pm, new (line: 159)
|23318|5:5|new| (-3) State.pm, initialize (line: 127)
|23318|5:5|new| (-4) Module.pm, new (line: 159)
|23318|5:5|new| (-5) vcld, make_new_child (line: 591)
|23318|5:5|new| (-6) vcld, main (line: 342)


|23318|5:5|new| ---- WARNING ----
|23318|5:5|new| 2011-02-21
15:00:45|23318|5:5|new|State.pm:initialize(132)|provisioning object
could not be created, returning 0
|23318|5:5|new| ( 0) utils.pm, notify (line: 630)
|23318|5:5|new| (-1) State.pm, initialize (line: 132)
|23318|5:5|new| (-2) Module.pm, new (line: 159)
|23318|5:5|new| (-3) vcld, make_new_child (line: 591)
|23318|5:5|new| (-4) vcld, main (line: 342)

2011-02-21 15:00:45|23318|5:5|new|State.pm:DESTROY(902)|destructor
called, ref($self)=VCL::new
2011-02-21 
15:00:45|23318|5:5|new|utils.pm:delete_computerloadlog_reservation(6829)|removing
computerloadlog entries matching loadstate = begin
2011-02-21 
15:00:45|23318|5:5|new|utils.pm:delete_computerloadlog_reservation(6876)|deleted
rows from computerloadlog for reservation id=5
2011-02-21 15:00:45|23318|5:5|new|State.pm:DESTROY(909)|removed
computerloadlog rows with loadstate=begin for reservation
2011-02-21 15:00:45|23318|5:5|new|State.pm:DESTROY(921)|number of
database handles state process created: 1
2011-02-21 15:00:45|23318|5:5|new|State.pm:DESTROY(930)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2011-02-21 15:00:45|23318|5:5|new|State.pm:DESTROY(932)|$ENV{dbh}:
database disconnect successful
2011-02-21 15:00:45|23318|5:5|new|State.pm:DESTROY(946)|VCL::new
process 23318 exiting
2011-02-21 15:00:45|23318|5:5|new|utils.pm:mail(1234)|SUCCESS --
Sending mail To: alexander.patter...@csueastbay.edu, PROBLEM -- vcld

|23318|5:5|new| ---- CRITICAL ----
|23318|5:5|new| 2011-02-21
15:00:45|23318|5:5|new|vcld:make_new_child(598)|VCL::new object could
not be created and initialized
|23318|5:5|new| ( 0) utils.pm, notify (line: 630)
|23318|5:5|new| (-1) vcld, make_new_child (line: 598)
|23318|5:5|new| (-2) vcld, main (line: 342)

2011-02-21 15:00:45|23318|5:5|new|utils.pm:switch_state(7338)|called
from VCL::vcld::make_new_child(599)
2011-02-21 15:00:45|23318|5:5|new|utils.pm:switch_state(7374)|parent:
parent reservation ID for this request: 5
2011-02-21 15:00:45|23318|5:5|new|utils.pm:getnewdbh(2761)|unable to
use database handle stored in $ENV{dbh}
2011-02-21 15:00:45|23318|5:5|new|utils.pm:getnewdbh(2818)|database
handle stored in $ENV{dbh}
2011-02-21 15:00:45|23318|5:5|new|utils.pm:insertloadlog(3933)|inserted
computer=23, info, VCL::vcld: switching request state to failed
2011-02-21 15:00:45|23318|5:5|new|utils.pm:update_request_state(2049)|request
5 state updated to: failed, laststate to: new
2011-02-21 15:00:45|23318|5:5|new|utils.pm:switch_state(7398)|req=5:
request state changed: new->failed, laststate: new->new
2011-02-21 15:00:45|23318|5:5|new|utils.pm:insertloadlog(3933)|inserted
computer=23, info, VCL::vcld: request state changed to failed,
laststate to new
2011-02-21 15:00:45|23318|5:5|new|utils.pm:switch_state(7408)|req=5:
computer state not specified, vmguest-9 state not changed
2011-02-21 15:00:45|23318|5:5|new|utils.pm:switch_state(7426)|req=5:
log table id=5, ending set to failed
2011-02-21 15:00:45|23318|5:5|new|utils.pm:insertloadlog(3933)|inserted
computer=23, info, VCL::vcld: process exiting
2011-02-21 15:00:45|23318|5:5|new|utils.pm:switch_state(7442)|req=5:
process exiting
2011-02-21 15:00:45|14237|vcld:REAPER(745)|VCL process exited for
reservation 5, PID: 23318, signal: CHLD


Reply via email to