I've read through much of the mailing lists and found
https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image

I've installed:
1) webnode
2) managementnode, having managementnode.id=1,
installpath=/usr/local/vclimages
3) vmnode1 (VMWare SErver 1.0.10), having computer,id=1

I modeled after
https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Imagedid
a bunch of inserts.

Instead of getting logs on vmwarelinux, I've got
"|21106|1:9|image| 2010-05-10
14:23:54|21106|1:9|image|image.pm:reservation_failed(390)|winxp-base1-v0
image creation failed" on vcld.log

The ssh from the managementnode to vmnode1 seem to be working, I saw
"currentimage.txt" in the /root/. It contains references to winxp-base1-v0.

I'm still trying to get pass by
https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image

Thanks

-----

Details of INSERT done:

INSERT INTO `OS` (
`id`, `name`, `prettyname`,
`type`, `installtype`, `sourcepath`, `moduleid`) VALUES
(34, 'vmwarelinux', 'VMware Generic Linux',
'linux', 'vmware','vmware_images',2);


INSERT INTO `vcl`.`image` (
`id` ,
`name` ,
`prettyname` ,
`ownerid` ,
`platformid` ,
`OSid` ,
`imagemetaid` ,
`minram` ,
`minprocnumber` ,
`minprocspeed` ,
`minnetwork` ,
`maxconcurrent` ,
`reloadtime` ,
`deleted` ,
`test` ,
`lastupdate` ,
`forcheckout` ,
`maxinitialtime` ,
`project` ,
`size` ,
`architecture` ,
`description` ,
`usage` ,
`basedoffrevisionid`
)
VALUES (
'10' , 'vmwarelinux-base8-v1', 'No Apps (Linux)', '1', '1', '34', NULL,
'512', '1', '1024', '100', NULL , '5', '0', '0', NOW(), '1', '0', 'vcl',
'1500',
'x86', NULL , NULL , '0'
);

INSERT INTO `vcl`.`imagerevision` (
`id` ,
`imageid` ,
`revision` ,
`userid` ,
`datecreated` ,
`deleted` ,
`datedeleted` ,
`production` ,
`comments` ,
`imagename`
)
VALUES (
'10', '10', '1', '1', NOW(), '0', NULL , '1', NULL , 'vmwarelinux-base8-v1'
);

## select * from resourcetype;
INSERT INTO `vcl`.`resource` (
`id` ,
`resourcetypeid` ,
`subid`
)
VALUES (
NULL , '13', '10'
)

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', '1', '10', '1', '1', NULL , NULL , NULL
);



vcld.log
2010-05-10 12:27:40|20800|1:6|image|utils.pm:mail(1348)|SUCCESS -- Sending
mail To: , VCL -- NOTICE FAILED Image Creation No Apps (WinXP)
2010-05-10 12:27:40|20800|1:6|image|utils.pm:update_request_state(2186)|request
1 state updated to: maintenance, laststate to: image
2010-05-10 12:27:40|20800|1:6|image|image.pm:reservation_failed(442)|request
state set to maintenance, laststate to image
2010-05-10 
12:27:40|20800|1:6|image|utils.pm:update_computer_state(2228)|computer
1 state updated to: maintenance
2010-05-10 12:27:40|20800|1:6|image|image.pm:reservation_failed(450)|vmnode1
state set to maintenance
2010-05-10 12:27:40|20800|1:6|image|image.pm:reservation_failed(457)|exiting
2010-05-10 12:27:40|20800|1:6|image|State.pm:DESTROY(905)|destructor called,
ref($self)=VCL::image
2010-05-10 
12:27:40|20800|1:6|image|utils.pm:delete_computerloadlog_reservation(7551)|removing
computerloadlog entries matching loadstate = begin
2010-05-10 
12:27:40|20800|1:6|image|utils.pm:delete_computerloadlog_reservation(7598)|deleted
rows from computerloadlog for reservation id=6
2010-05-10 12:27:40|20800|1:6|image|State.pm:DESTROY(912)|removed
computerloadlog rows with loadstate=begin for reservation
2010-05-10 12:27:40|20800|1:6|image|State.pm:DESTROY(924)|number of database
handles state process created: 1
2010-05-10 12:27:40|20800|1:6|image|State.pm:DESTROY(933)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2010-05-10 12:27:40|20800|1:6|image|State.pm:DESTROY(935)|$ENV{dbh}:
database disconnect successful
2010-05-10 12:27:40|20800|1:6|image|State.pm:DESTROY(949)|VCL::image process
20800 exiting
2010-05-10 12:27:40|20783|vcld:REAPER(744)|VCL process exited for
reservation 6

Reply via email to