Marty,

You would need to install the VMWare vSphere SDK on the management node.

Junaid.

From: Marty Malinics [mailto:malin...@coatesville.k12.pa.us] 
Sent: Thursday, February 10, 2011 7:23 AM
To: vcl-user@incubator.apache.org
Subject: Stuck and need a little help.

 

Ok, I seemed to have solved the problems below. For the first one I did not
have the management node assigned to a group.

For the second issue I saw that my virtual machine was not set up for
vmware. It now tries to create the image but I think I must be missing a few
perl modules as I now get

the following:

 

Can't locate VMware/VIRuntime.pm in @INC (@INC contains:
/usr/local/vcl/bin/../../../.. /usr/local/vcl/bin/../..
/usr/local/vcl/bin/.. /usr/local/vcl/bin/../lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at /
 
 usr/local/vcl/bin/../lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm line
64.

 

I will fix this and try again. Making some progress.....

 

 

 

Hello,  I have VCL 2.2 setup on two Centos boxes (Web and database, and
management) using ESXi 4.1. The management node can communicate with VMware
host and guest using SSH. I am not sure the Web node is communicating with
management though. I get the following message when trying to change the
guest state:

 


Change State of Computers


The following computers currently have reservations on them but no
functional management node was found for them. Nothing will be done with
them at this time: 

 

Casdvm1

 

Is there a way to confirm communication to the management node?

 

Also when trying to create an image I get the following in the logs:

 

|13535|3:3|image| ---- CRITICAL ---- 
|13535|3:3|image| 2011-02-09
07:10:34|13535|3:3|image|vcld:die_handler(663)|Can't locate object method
"does_image_exist" via package "VCL::Module::Provisioning::Lab" at
/usr/local/vcl/bin/../lib/VCL/image.pm line 138.
|13535|3:3|image| ( 0) utils.pm, notify (line: 630)
|13535|3:3|image| (-1) vcld, die_handler (line: 663)
|13535|3:3|image| (-2) image.pm, process (line: 138)
|13535|3:3|image| (-3) vcld, make_new_child (line: 595)
|13535|3:3|image| (-4) vcld, main (line: 342)

 

2011-02-09 07:10:34|13535|3:3|image|State.pm:DESTROY(902)|destructor called,
ref($self)=VCL::image
2011-02-09
07:10:34|13535|3:3|image|utils.pm:delete_computerloadlog_reservation(6829)|r
emoving computerloadlog entries matching loadstate = begin
2011-02-09
07:10:34|13535|3:3|image|utils.pm:delete_computerloadlog_reservation(6876)|d
eleted rows from computerloadlog for reservation id=3
2011-02-09 07:10:34|13535|3:3|image|State.pm:DESTROY(909)|removed
computerloadlog rows with loadstate=begin for reservation
2011-02-09 07:10:34|13535|3:3|image|State.pm:DESTROY(921)|number of database
handles state process created: 1
2011-02-09 07:10:34|13535|3:3|image|State.pm:DESTROY(930)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2011-02-09 07:10:34|13535|3:3|image|State.pm:DESTROY(932)|$ENV{dbh}:
database disconnect successful
2011-02-09 07:10:34|13535|3:3|image|State.pm:DESTROY(946)|VCL::image process
13535 exiting
2011-02-09 07:10:34|10436|vcld:REAPER(745)|VCL process exited for
reservation 3, PID: 13535, signal: CHLD
2011-02-09 07:10:34|10436|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-09 07:10:34
2011-02-09 07:10:39|10436|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-09 07:10:39
2011-02-09 07:10:45|10436|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-09 07:10:44
2011-02-09 07:10:50|10436|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-09 07:10:50
2011-02-09 07:10:55|10436|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-09 07:10:55
2011-02-09 07:11:00|10436|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-09 07:11:00

 

There may be something I am missing as the documentation is sketchy. I am
not sure if the image needs to be created via the web interface before
capturing it or not.

 

Thanks for any help or pointers you can provide.

 

Martin Malinics
Network Manager
Coatesville Area School District
610-466-2441
malin...@coatesville.k12.pa.us

Reply via email to