Re: VCL Reservation Problem
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-user@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
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
RE: VCL Reservation Problem
Kelly, Have you checked to see if the image is in the correct group/mapping yet? You need to go to image grouping and put the image in the correct group. Then you go to Image Mapping and make sure that that image group is mapped to your actual servers. Otherwise you will get a selection not currently available error. This is all done from the Manage Images section from an admin account. Aaron or Josh at NCSU may better know the issue if that isn't the problem you're having. 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-user@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.edumailto:krobinso...@gsu.edu
RE: VCL Reservation Problem
..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-user@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