Re: VCL Reservation Problem

2009-10-06 Thread Kelly Robinson
 an image, but telling it to use the same name as an existing 
image.

I'll try to enumerate what you should check (I'll leave out the specifics for 
the parts that have already been mentioned).

- -image is in an image group
- -image group is mapped to a computer group
- -computer group contains computers in the available state
- -you have an active management node (it is updating lastcheckin in the 
management node table)
- -management node is in a management node group
- -management node group maps to a computer group containing specified computer 
from above
- -schedule for computer is available during the selected time
- -platform for image matches platform of computer
- -privileges set up in Privileges section of site to allow you to access image 
and computer
- -specs of image (min RAM, min CPU speed, etc) are at or less than specs of 
computer
- -no other entries in the reservation table for the computer that overlap with 
the selected time period

Let us know if you are still having trouble after checking the above list.

Josh Thompson
VCL Developer

On Monday September 28, 2009, Kelly Robinson wrote:
 ..or maybe a better question would be:

 After an image is created, how do you get make it available for requesting?
  I followed these directions to create a base Windows XP image and created
 the entry in the vcl database. 
 http://cwiki.apache.org/VCL/creating-a-windows-xp-base-image-on-vmware.html 

 As stated previously, the vcld.log gives the critical error that the image
 already exists in the repository and then it goes on to say image creation
 failed and begins to exit the reservation process.

 Is there something else that I'm supposed to do?

  Kelly Robinson isg...@langate.gsu.edu 09/28/2009 9:15 AM 

 I am testing a base Windows XP image (no apps) and have its image
 requirements set for the following:

 minram: 512
 minprocnumber: 1
 minprocspeed: 1024
 minnetwork: 100

 I've also tried to make sure the image is grouped correctly and mapped to
 the correct server, however it still gives the error.

 Does the message in the vcld.log of image already exists in the
 repository after I submit the sql statements to manually place a request
 an image have anything to do with the error?

 Thanks,
 Kelly

  Nathan Dawson ndaw...@email.wcu.edu 09/28/2009 8:57 AM 

 Kelly,
 One other thing that it may be is if you set the image requirements too
 high (min CPU, min ram etc), if your servers or VMs aren't set high enough
 to meet those criteria it can also give you that message.

 Nathan Dawson, MCP, MCDST, ACHDS
 Director of Networking and Information Systems
 The Kimmel School
 Western Carolina University
 828.227.2748



 From:Kelly Robinson [mailto:isg...@langate.gsu.edu] 
 Sent: Monday, September 28, 2009 8:50 AM
 To: vcl-u...@incubator.apache.org 
 Subject: VCL Reservation Problem



 How do you get VCL to allow an image to be requested?  I've added the image
 to the database and would now like to request it through the web interface,
 however when you click New Reservation and select the image from the drop
 down menu, it gives a message that states Selection Not Currently
 Available.

 I've tried to manually insert a request into the database using the
 following sql statements, however the vcld.log gives error messages stating
 that the image already exists in the repository.  What am I missing?

 =
 INSERT INTO `vcl`.`request` (
 `id` ,
 `stateid` ,
 `userid` ,
 `laststateid` ,
 `logid` ,
 `forimaging` ,
 `test` ,
 `preload` ,
 `start` ,
 `end` ,
 `daterequested` ,
 `datemodified`
 )
 VALUES (
 '1' , '16', '1', '16', '', '1', '0', '0', NOW( ) , TIMESTAMPADD(MINUTE,
 120, NOW()), NOW( ) , NULL );
 ===

 ===
 INSERT INTO `vcl`.`reservation` (
 `id` ,
 `requestid` ,
 `computerid` ,
 `imageid` ,
 `imagerevisionid` ,
 `managementnodeid` ,
 `remoteIP` ,
 `lastcheck` ,
 `pw`
 )
 VALUES (
 NULL , '1', '2', '7', '7', '1', NULL , NULL , NULL
 );
 ===


 Thanks,
 Kelly





 Kelly P. Robinson

 Software Systems Engineer, Lead

 Advanced Campus Services

 Information Systems and Technology

 P.O. Box 3994
 Atlanta, Ga 30302-3994
 (404) 413-4757

 krobinso...@gsu.edu 
- -- 
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu 
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKwRc+V/LQcNdtPQMRAt2AAJ46y3d6w36ykrx26tjf7aiQI0prxgCffKUt
W6qIWQeZ3FOTuXWukVW/It4=
=c+W1
-END PGP SIGNATURE-


VCL Reservation Problem

2009-05-20 Thread Augustus, Kris
We are having an issue getting the VCL working.  It appears to be logging into 
our NAS/NFS box and issuing 'cp' commands and copying the VM files from 
'golden' to 'inuse'.  After the files finish copying, we get an error, ' 
Virtual Machine TECS-ESX-4600-2 not found' (as seen below).  The 
TECS-ESX-4600-2 is an ESX Host, which VCL seems to reference correctly as a 
host some times, as seen in this line, --server 'TECS-ESX-4600-2'.  Though 
right after that, it shows, --vmname TECS-ESX-4600-2.   I am not sure how it 
got in the system as BOTH a server AND a VM.

We are using the virtual appliance 2.1, downloaded via the wiki site.  I did a 
search of the database for TECS-ESX-4600-2 and it only shows up in tables for 
logs and in the 'computername' table, which seems to make sense.  I grepped the 
following directories (recursively) for TECS-ESX:

grep TECS-ESX -R /var/www/html
grep TECS-ESX -R /opt/vcl
grep TECS-ESX -R /etc

Nothing significant turned up.

/var/log/vcld.log:

2009-05-14 17:43:15|6423|34:34|new|utils.pm:insertloadlog(5324)|inserted 
computer=1, info, computer state updated to reloading
2009-05-14 17:43:15|6423|34:34|new|esx.pm:load(171)|Entered ESX module, loading 
esx3-linuxtest-v0 on TECS-ESX-4600-2 (on TECS-ESX-4600-2) for reservation 34
2009-05-14 17:43:15|6423|34:34|new|esx.pm:load(183)|VM info command: 
/usr/lib/vmware-viperl/apps/vm/vminfo.pl --server 'TECS-ESX-4600-2' --vmname 
TECS-ESX-4600-2 --username vcl --password 'xxx'
2009-05-14 17:43:23|6423|34:34|new|esx.pm:load(186)|VM info output: Virtual 
Machine TECS-ESX-4600-2 not found.2009-05-14 
17:43:23|6423|34:34|new|utils.pm:run_ssh_command(6695)|executing SSH command on 
172.17.0.1:|6423|34:34|new| rm -rf /mnt/vcl/inuse/TECS-ESX-4600-2

Any help would be appreciated.

Thanks,

Kris Augustus
CCNA, RHCE, A+
Lab Supervisor
College of TECS
East Carolina University
252-737-1978
august...@ecu.edumailto:august...@ecu.edu

Intelligence plus character- that is the goal of true education.
Dr. Martin Luther King Jr.