You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by "Hartl, Gerhard L." <GH...@odu.edu> on 2010/06/04 22:32:35 UTC

RE: Sysprep Winxp

I never notice the sysprep run, the workstation also is not renaming itself.  This is copied down during the base image capture correct?  Is there anything I can look at to diagnose?

- Gerhard



-----Original Message-----
From: Andy Kurth [mailto:andy_kurth@ncsu.edu] 
Sent: Saturday, May 29, 2010 11:43 AM
To: vcl-user@incubator.apache.org
Subject: Re: Sysprep Winxp

The steps on the following page should be all that is necessary:
https://cwiki.apache.org/confluence/display/VCL/Management+Node+Installation

Are you having trouble with Sysprep?

Just FYI - the code in the next release will make the Sysprep and 
management node configuration a little simpler.  The requirement for the 
spdrvscn.exe utility has been removed and you will no longer need to 
configure the sysprep.inf file.  The code scans all of the drivers which 
have been saved to the Drivers directories on the management node, 
dynamically generates the sysprep.inf file, and sets the DevicePath 
registry key (this is what spdrvscn.exe does).

Regards,
Andy

Hartl, Gerhard L. wrote:
> Aside from the sysprep files that are copied to the mgmt server and 
> editing the sysprep.inf, what else is required for sysprep to function?
>  
> Gerhard Hartl | PC/LAN Support Group
> *O*ffice of *C*omputing and *C*ommunications *S*ervices
> *O*ld* **D*ominion* **U*niversity | *ODU*
> 4700 Elkhorn Blvd | Norfolk, VA 23529
> 757.683.6980 | _ghartl@odu.edu_ <ma...@odu.edu> | occs.odu.edu
>  
> /"The information in this email and any attachments may be confidential 
> and privileged. Access to this email by anyone other than the intended 
> addressee is unauthorized. If you are not the intended recipient (or the 
> employee or agent responsible for delivering this information to the 
> intended recipient) please notify the sender by reply email and 
> immediately delete this email and any copies from your computer and/or 
> storage system. The sender does not authorize the use, distribution, 
> disclosure or reproduction of this email (or any part of its contents) 
> by anyone other than the intended recipient(s)./
>  
> /No representation is made that this email and any attachments are free 
> of viruses. Virus scanning is recommended and is the responsibility of 
> the recipient."/
>  
>  
>  

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.819 / Virus Database: 271.1.1/2903 - Release Date: 05/29/10 02:25:00

RE: Sysprep Winxp

Posted by "Hartl, Gerhard L." <GH...@odu.edu>.
To update my issue, I could find nothing in the esx.pm that triggered the pre_capture() subroutine.  I cheated and copied the following section from the vmware.pm along with the power_off() function to the esx.pm.  It now performs the pre_capture during capture.  Would this be considered fixing the symptom and not the problem?



- Gerhard

757.683.6980 | ghartl@odu.edu | occs.odu.edu





# Check if pre_capture() subroutine has been implemented by the OS module

        if ($self->os->can("pre_capture")) {

                # Call OS pre_capture() - it should perform all OS steps necessary to capture an image

                # pre_capture() should shut down the computer when it is done

                notify($ERRORS{'OK'}, 0, "calling OS module's pre_capture() subroutine");



                if (!$self->os->pre_capture({end_state => 'off'})) {

                        notify($ERRORS{'WARNING'}, 0, "OS module pre_capture() failed");

                        return 0;

                }



                # Get the power status, make sure computer is off

                my $power_status = $self->power_status();

                notify($ERRORS{'DEBUG'}, 0, "retrieved power status: $power_status");

                if ($power_status eq 'off') {

                        notify($ERRORS{'OK'}, 0, "verified $computer_nodename power is off");

                }

                elsif ($power_status eq 'on') {

                        notify($ERRORS{'WARNING'}, 0, "$computer_nodename power is still on, turning computer off");



                        # Attempt to power off computer

                        if ($self->power_off()) {

                                notify($ERRORS{'OK'}, 0, "$computer_nodename was powered off");

                        }

                        else {

                                notify($ERRORS{'WARNING'}, 0, "failed to power off $computer_nodename");

                                return 0;

                        }

                }

                else {

                        notify($ERRORS{'WARNING'}, 0, "failed to determine power status of $computer_nodename");

                        return 0;

                }

        }


- Gerhard
757.683.6980 | ghartl@odu.edu<ma...@odu.edu> | occs.odu.edu

From: Hartl, Gerhard L. [mailto:GHartl@odu.edu]
Sent: Wednesday, June 16, 2010 11:55 AM
To: vcl-user@incubator.apache.org
Subject: RE: Sysprep Winxp

After digging into it, I'm noticing that the precapture module is not running.  Is there anything it relies upon to run?

- Gerhard

From: Hartl, Gerhard L. [mailto:GHartl@odu.edu]
Sent: Monday, June 14, 2010 12:18 PM
To: vcl-user@incubator.apache.org
Subject: RE: Sysprep Winxp

I doubled checked and all the necessary sysprep files are in the proper folders on the mgmt server.  They however are not copied down during the base image capture.  The entire C:\cygwin\home\root\VCL folder does not exist and the setupapi.log only shows the initial sysprep from when I first setup the image.  Here is a log of my current base capture.

- Gerhard

2010-06-14 10:56:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:56:48
2010-06-14 10:57:18|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:57:18
2010-06-14 10:57:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:57:48
2010-06-14 10:57:48|17789|1:635|image|utils.pm:reservation_being_processed(9634)|computerloadlog 'begin' entry does NOT exist for reservation 635
2010-06-14 10:57:48|17789|1:635|image|utils.pm:reservation_being_processed(9686)|reservation is NOT currently being processed
2010-06-14 10:57:48|17789|1:635|image|vcld:main(276)|reservation 635 is NOT already being processed
2010-06-14 10:57:48|17789|1:635|image|utils.pm:get_request_info(5354)|standalone affiliation found: Local
2010-06-14 10:57:48|17789|1:635|image|utils.pm:get_management_node_info(6815)|management node info retrieved from database for kelly
2010-06-14 10:57:48|17789|1:635|image|vcld:main(281)|retrieved request information from database
2010-06-14 10:57:48|17789|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|17789|1:635|image|utils.pm:update_request_state(2186)|request 1 state updated to: pending, laststate to: image
2010-06-14 10:57:48|17789|1:635|image|utils.pm:insertloadlog(4710)|inserted computer=22, begin, beginning to process, state is image
2010-06-14 10:57:48|17789|1:635|image|vcld:make_new_child(509)|loaded VCL::image module
2010-06-14 10:57:48|18052|1:635|image|vcld:make_new_child(582)|vcld environment variable set to 0 for this process
2010-06-14 10:57:48|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::image
2010-06-14 10:57:48|18052|1:635|image|Module.pm:new(154)|VCL::image object created
2010-06-14 10:57:48|17789|1:635|image|vcld:make_new_child(566)|current number of forked kids: 1
2010-06-14 10:57:48|18052|1:635|image|State.pm:initialize(85)|obtained a database handle for this state process, stored as $ENV{dbh}
2010-06-14 10:57:48|18052|1:635|image|State.pm:check_image_os(839)|no corrections need to be made to image OS: vmwarewinxp
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7863)|reservation count: 1
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7882)|PARENTIMAGE: 1
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7883)|SUBIMAGE: 0
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7901)|renamed process to 'vcld VCL::image 1:635 image imaging'
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|State.pm:initialize(121)|attempting to load provisioning module: VCL::Module::Provisioning::esx
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(138)|esx vmware toolkit root path found: /usr/lib/vmware-vcli/apps
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(140)|vmware ESX module initialized
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(127)|VCL::Module::Provisioning::esx module loaded
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::Module::Provisioning::esx
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(154)|VCL::Module::Provisioning::esx object created
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(138)|esx vmware toolkit root path found: /usr/lib/vmware-vcli/apps
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(140)|vmware ESX module initialized
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(131)|VCL::Module::Provisioning::esx provisioner object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(145)|attempting to load OS module: VCL::Module::OS::Windows::Version_5::XP
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(151)|VCL::Module::OS::Windows::Version_5::XP module loaded
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::Module::OS::Windows::Version_5::XP
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(154)|VCL::Module::OS::Windows::Version_5::XP object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(154)|VCL::Module::OS::Windows::Version_5::XP OS object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(169)|returning 1
2010-06-14 10:57:49|18052|1:635|image|vcld:make_new_child(591)|VCL::image object created and initialized
No recipient addresses found in header
2010-06-14 10:57:49|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: , VCL IMAGE Creation Started: vmwinxp-6gb-base10-v0
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'ls -1 /install/image/golden 2>&1' 2>&1
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| 6gb-base10-v0_old
|18052|1:635|image| vmwarewinxp-WinXPSP3Base6GB14-v0
|18052|1:635|image| vmwarewinxp-base7-v0
|18052|1:635|image| vmwinxp-12gb-base12-v0
|18052|1:635|image| vmwinxp-9gb-base11-v0
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "6gb-base10-v0_old vmwarewinxp-...")

|18052|1:635|image| ---- WARNING ----
|18052|1:635|image| 2010-06-14 10:57:49|18052|1:635|image|esx.pm:does_image_exist(926)|image /install/image/golden/vmwinxp-6gb-base10-v0 does NOT exists
|18052|1:635|image| ( 0) utils.pm, notify (line: 737)
|18052|1:635|image| (-1) esx.pm, does_image_exist (line: 926)
|18052|1:635|image| (-2) image.pm, process (line: 135)
|18052|1:635|image| (-3) vcld, make_new_child (line: 594)
|18052|1:635|image| (-4) vcld, main (line: 341)

2010-06-14 10:57:49|18052|1:635|image|image.pm:process(145)|image vmwinxp-6gb-base10-v0 does not exist in the repository
2010-06-14 10:57:49|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{image}{lastupdate}
|18052|1:635|image| image_lastupdate = 2010-06-14 10:57:49
2010-06-14 10:57:49|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{imagerevision}{datecreated}
|18052|1:635|image| imagerevision_date_created = 2010-06-14 10:57:49
2010-06-14 10:57:49|18052|1:635|image|image.pm:process(161)|calling provisioning module's capture() subroutine
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(593)|**********************************************************
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(594)|Entering ESX Capture routine
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'ls -1 /install/image/inuse/vmwinxp-6gb-base10-v0 2>&1' 2>&1
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| vmwinxp-6gb-base10-v0-flat.vmdk
|18052|1:635|image| vmwinxp-6gb-base10-v0.vmdk
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "vmwinxp-6gb-base10-v0-flat.vmd...")
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(646)|found previous name= vmwinxp-6gb-base10-v0
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(648)|SSHing to node to configure currentimage.txt
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on vmwinxp-6gb-base10-v0:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x vmwinxp-6gb-base10-v0 'echo vmwinxp-6gb-base10-v0 > /root/currentimage.txt' 2>&1
2010-06-14 10:57:50|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:57:50|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on vmwinxp-6gb-base10-v0, returning (0, "none")
2010-06-14 10:57:50|18052|1:635|image|esx.pm:capture(658)|Power off command: /usr/lib/vmware-vcli/apps/vm/vmcontrol.pl --server 'brando' --vmname vmwinxp-6gb-base10-v0 --operation poweroff --username ********* --password '***********************'
2010-06-14 10:57:55|18052|1:635|image|esx.pm:capture(661)|Powered off:
|18052|1:635|image| virtual machine 'vmwinxp-6gb-base10-v0' under host brando.vcls.priv.odu.edu powered off
2010-06-14 10:57:55|18052|1:635|image|esx.pm:capture(663)|Waiting 5 seconds for power off
2010-06-14 10:58:00|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'mkdir /install/image/golden/vmwinxp-6gb-base10-v0' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(679)|COPIED VMDK SUCCESSFULLY
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| cp: cannot access /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
|18052|1:635|image| returning (2, "cp: cannot access /install/ima...")
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(688)|COPIED VMX SUCCESSFULLY
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(691)|Rewriting VMDK and VMX files with new image name
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| sed: illegal option -- i
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
|18052|1:635|image| returning (2, "sed: illegal option -- i")
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| sed: illegal option -- i
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
|18052|1:635|image| returning (2, "sed: illegal option -- i")
2010-06-14 10:58:02|18052|1:635|image|esx.pm:capture(705)|Preparing to ssh to guinness.vcls.priv.odu.edu copy vmdk-flat from /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk to /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk
2010-06-14 10:58:02|18052|1:635|image|esx.pm:capture(706)|SSHing to copy vmdk-flat file
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk' 2>&1
2010-06-14 10:58:18|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:58:18
2010-06-14 10:58:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:58:48
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(162)|vmwinxp-6gb-base10-v0 image was successfully captured by the provisioning module
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(219)|vmwinxp-6gb-base10-v0 image files successfully saved
2010-06-14 10:59:01|18052|1:635|image|utils.pm:update_request_state(2186)|request 1 state updated to: completed, laststate to: image
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(222)|request state updated to completed, laststate to image
2010-06-14 10:59:01|18052|1:635|image|esx.pm:get_image_size(956)|getting size of image: vmwinxp-6gb-base10-v0
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu '/bin/ls -s1 /install/image/golden/vmwinxp-6gb-base10-v0 2>&1' 2>&1
2010-06-14 10:59:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| total 11150245
|18052|1:635|image| 11150243 vmwinxp-6gb-base10-v0-flat.vmdk
|18052|1:635|image| 2 vmwinxp-6gb-base10-v0.vmdk
2010-06-14 10:59:02|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "total 11150245 11150243 vmwinx...")
2010-06-14 10:59:02|18052|1:635|image|image.pm:process(231)|size of vmwinxp-6gb-base10-v0: 10888
2010-06-14 10:59:02|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{image}{size}
|18052|1:635|image| image_size = 10888
2010-06-14 10:59:02|18052|1:635|image|image.pm:process(260)|image and imagerevision tables updated for image=10, imagerevision=10, name=vmwinxp-6gb-base10-v0, lastupdate=2010-06-14 10:57:49, deleted=0, size=10888
2010-06-14 10:59:02|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: root@localhost, VCL -- No Apps (WinXP vmware 6gb) Image Creation Succeeded
No recipient addresses found in header
2010-06-14 10:59:02|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: , VCL IMAGE Creation Completed: vmwinxp-6gb-base10-v0






-----Original Message-----
From: Andy Kurth [mailto:andy_kurth@ncsu.edu]
Sent: Monday, June 07, 2010 3:17 PM
To: vcl-user@incubator.apache.org
Subject: Re: Sysprep Winxp

A problem must have occurred during the image capture.  Sysprep.exe should have
run as the last step before the computer was shut down and the image files
saved.  When the image is booted, you should see a Windows setup screen.  This
is the result of running sysprep.exe before the image was capture.

To diagnose, look at C:\Windows\setupapi.log.  If this file doesn't exist or
doesn't contain any info on the date the image was captured then sysprep.exe
didn't run.

Check if the following exist in the image (they should):
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.exe
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.inf

I would make sure sysprep.exe exists on your management node as described in the
documentation and try to capture the image again.  If sysprep still isn't
running, please send the log output from the image capture.

-Andy

Hartl, Gerhard L. wrote:
> I never notice the sysprep run, the workstation also is not renaming itself.  This is copied down during the base image capture correct?  Is there anything I can look at to diagnose?
>
> - Gerhard
>
>
>
> -----Original Message-----
> From: Andy Kurth [mailto:andy_kurth@ncsu.edu]
> Sent: Saturday, May 29, 2010 11:43 AM
> To: vcl-user@incubator.apache.org
> Subject: Re: Sysprep Winxp
>
> The steps on the following page should be all that is necessary:
> https://cwiki.apache.org/confluence/display/VCL/Management+Node+Installation
>
> Are you having trouble with Sysprep?
>
> Just FYI - the code in the next release will make the Sysprep and
> management node configuration a little simpler.  The requirement for the
> spdrvscn.exe utility has been removed and you will no longer need to
> configure the sysprep.inf file.  The code scans all of the drivers which
> have been saved to the Drivers directories on the management node,
> dynamically generates the sysprep.inf file, and sets the DevicePath
> registry key (this is what spdrvscn.exe does).
>
> Regards,
> Andy
>
> Hartl, Gerhard L. wrote:
>> Aside from the sysprep files that are copied to the mgmt server and
>> editing the sysprep.inf, what else is required for sysprep to function?
>>
>> Gerhard Hartl | PC/LAN Support Group
>> *O*ffice of *C*omputing and *C*ommunications *S*ervices
>> *O*ld* **D*ominion* **U*niversity | *ODU*
>> 4700 Elkhorn Blvd | Norfolk, VA 23529
>> 757.683.6980 | _ghartl@odu.edu_ <ma...@odu.edu> | occs.odu.edu
>>
>> /"The information in this email and any attachments may be confidential
>> and privileged. Access to this email by anyone other than the intended
>> addressee is unauthorized. If you are not the intended recipient (or the
>> employee or agent responsible for delivering this information to the
>> intended recipient) please notify the sender by reply email and
>> immediately delete this email and any copies from your computer and/or
>> storage system. The sender does not authorize the use, distribution,
>> disclosure or reproduction of this email (or any part of its contents)
>> by anyone other than the intended recipient(s)./
>>
>> /No representation is made that this email and any attachments are free
>> of viruses. Virus scanning is recommended and is the responsibility of
>> the recipient."/
>>
>>
>>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com<http://www.avg.com>
> Version: 9.0.819 / Virus Database: 271.1.1/2903 - Release Date: 05/29/10 02:25:00

--
Andy Kurth
Virtual Computing Lab
Office of Information Technology
North Carolina State University
andy_kurth@ncsu.edu
919.513.4090


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.829 / Virus Database: 271.1.1/2936 - Release Date: 06/14/10 02:35:00

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.829 / Virus Database: 271.1.1/2940 - Release Date: 06/16/10 02:35:00

RE: Sysprep Winxp

Posted by "Hartl, Gerhard L." <GH...@odu.edu>.
After digging into it, I'm noticing that the precapture module is not running.  Is there anything it relies upon to run?

- Gerhard

From: Hartl, Gerhard L. [mailto:GHartl@odu.edu]
Sent: Monday, June 14, 2010 12:18 PM
To: vcl-user@incubator.apache.org
Subject: RE: Sysprep Winxp

I doubled checked and all the necessary sysprep files are in the proper folders on the mgmt server.  They however are not copied down during the base image capture.  The entire C:\cygwin\home\root\VCL folder does not exist and the setupapi.log only shows the initial sysprep from when I first setup the image.  Here is a log of my current base capture.

- Gerhard

2010-06-14 10:56:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:56:48
2010-06-14 10:57:18|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:57:18
2010-06-14 10:57:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:57:48
2010-06-14 10:57:48|17789|1:635|image|utils.pm:reservation_being_processed(9634)|computerloadlog 'begin' entry does NOT exist for reservation 635
2010-06-14 10:57:48|17789|1:635|image|utils.pm:reservation_being_processed(9686)|reservation is NOT currently being processed
2010-06-14 10:57:48|17789|1:635|image|vcld:main(276)|reservation 635 is NOT already being processed
2010-06-14 10:57:48|17789|1:635|image|utils.pm:get_request_info(5354)|standalone affiliation found: Local
2010-06-14 10:57:48|17789|1:635|image|utils.pm:get_management_node_info(6815)|management node info retrieved from database for kelly
2010-06-14 10:57:48|17789|1:635|image|vcld:main(281)|retrieved request information from database
2010-06-14 10:57:48|17789|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|17789|1:635|image|utils.pm:update_request_state(2186)|request 1 state updated to: pending, laststate to: image
2010-06-14 10:57:48|17789|1:635|image|utils.pm:insertloadlog(4710)|inserted computer=22, begin, beginning to process, state is image
2010-06-14 10:57:48|17789|1:635|image|vcld:make_new_child(509)|loaded VCL::image module
2010-06-14 10:57:48|18052|1:635|image|vcld:make_new_child(582)|vcld environment variable set to 0 for this process
2010-06-14 10:57:48|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::image
2010-06-14 10:57:48|18052|1:635|image|Module.pm:new(154)|VCL::image object created
2010-06-14 10:57:48|17789|1:635|image|vcld:make_new_child(566)|current number of forked kids: 1
2010-06-14 10:57:48|18052|1:635|image|State.pm:initialize(85)|obtained a database handle for this state process, stored as $ENV{dbh}
2010-06-14 10:57:48|18052|1:635|image|State.pm:check_image_os(839)|no corrections need to be made to image OS: vmwarewinxp
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7863)|reservation count: 1
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7882)|PARENTIMAGE: 1
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7883)|SUBIMAGE: 0
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7901)|renamed process to 'vcld VCL::image 1:635 image imaging'
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|State.pm:initialize(121)|attempting to load provisioning module: VCL::Module::Provisioning::esx
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(138)|esx vmware toolkit root path found: /usr/lib/vmware-vcli/apps
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(140)|vmware ESX module initialized
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(127)|VCL::Module::Provisioning::esx module loaded
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::Module::Provisioning::esx
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(154)|VCL::Module::Provisioning::esx object created
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(138)|esx vmware toolkit root path found: /usr/lib/vmware-vcli/apps
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(140)|vmware ESX module initialized
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(131)|VCL::Module::Provisioning::esx provisioner object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(145)|attempting to load OS module: VCL::Module::OS::Windows::Version_5::XP
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(151)|VCL::Module::OS::Windows::Version_5::XP module loaded
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::Module::OS::Windows::Version_5::XP
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(154)|VCL::Module::OS::Windows::Version_5::XP object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(154)|VCL::Module::OS::Windows::Version_5::XP OS object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(169)|returning 1
2010-06-14 10:57:49|18052|1:635|image|vcld:make_new_child(591)|VCL::image object created and initialized
No recipient addresses found in header
2010-06-14 10:57:49|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: , VCL IMAGE Creation Started: vmwinxp-6gb-base10-v0
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'ls -1 /install/image/golden 2>&1' 2>&1
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| 6gb-base10-v0_old
|18052|1:635|image| vmwarewinxp-WinXPSP3Base6GB14-v0
|18052|1:635|image| vmwarewinxp-base7-v0
|18052|1:635|image| vmwinxp-12gb-base12-v0
|18052|1:635|image| vmwinxp-9gb-base11-v0
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "6gb-base10-v0_old vmwarewinxp-...")

|18052|1:635|image| ---- WARNING ----
|18052|1:635|image| 2010-06-14 10:57:49|18052|1:635|image|esx.pm:does_image_exist(926)|image /install/image/golden/vmwinxp-6gb-base10-v0 does NOT exists
|18052|1:635|image| ( 0) utils.pm, notify (line: 737)
|18052|1:635|image| (-1) esx.pm, does_image_exist (line: 926)
|18052|1:635|image| (-2) image.pm, process (line: 135)
|18052|1:635|image| (-3) vcld, make_new_child (line: 594)
|18052|1:635|image| (-4) vcld, main (line: 341)

2010-06-14 10:57:49|18052|1:635|image|image.pm:process(145)|image vmwinxp-6gb-base10-v0 does not exist in the repository
2010-06-14 10:57:49|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{image}{lastupdate}
|18052|1:635|image| image_lastupdate = 2010-06-14 10:57:49
2010-06-14 10:57:49|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{imagerevision}{datecreated}
|18052|1:635|image| imagerevision_date_created = 2010-06-14 10:57:49
2010-06-14 10:57:49|18052|1:635|image|image.pm:process(161)|calling provisioning module's capture() subroutine
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(593)|**********************************************************
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(594)|Entering ESX Capture routine
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'ls -1 /install/image/inuse/vmwinxp-6gb-base10-v0 2>&1' 2>&1
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| vmwinxp-6gb-base10-v0-flat.vmdk
|18052|1:635|image| vmwinxp-6gb-base10-v0.vmdk
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "vmwinxp-6gb-base10-v0-flat.vmd...")
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(646)|found previous name= vmwinxp-6gb-base10-v0
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(648)|SSHing to node to configure currentimage.txt
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on vmwinxp-6gb-base10-v0:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x vmwinxp-6gb-base10-v0 'echo vmwinxp-6gb-base10-v0 > /root/currentimage.txt' 2>&1
2010-06-14 10:57:50|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:57:50|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on vmwinxp-6gb-base10-v0, returning (0, "none")
2010-06-14 10:57:50|18052|1:635|image|esx.pm:capture(658)|Power off command: /usr/lib/vmware-vcli/apps/vm/vmcontrol.pl --server 'brando' --vmname vmwinxp-6gb-base10-v0 --operation poweroff --username ********* --password '***********************'
2010-06-14 10:57:55|18052|1:635|image|esx.pm:capture(661)|Powered off:
|18052|1:635|image| virtual machine 'vmwinxp-6gb-base10-v0' under host brando.vcls.priv.odu.edu powered off
2010-06-14 10:57:55|18052|1:635|image|esx.pm:capture(663)|Waiting 5 seconds for power off
2010-06-14 10:58:00|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'mkdir /install/image/golden/vmwinxp-6gb-base10-v0' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(679)|COPIED VMDK SUCCESSFULLY
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| cp: cannot access /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
|18052|1:635|image| returning (2, "cp: cannot access /install/ima...")
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(688)|COPIED VMX SUCCESSFULLY
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(691)|Rewriting VMDK and VMX files with new image name
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| sed: illegal option -- i
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
|18052|1:635|image| returning (2, "sed: illegal option -- i")
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| sed: illegal option -- i
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
|18052|1:635|image| returning (2, "sed: illegal option -- i")
2010-06-14 10:58:02|18052|1:635|image|esx.pm:capture(705)|Preparing to ssh to guinness.vcls.priv.odu.edu copy vmdk-flat from /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk to /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk
2010-06-14 10:58:02|18052|1:635|image|esx.pm:capture(706)|SSHing to copy vmdk-flat file
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk' 2>&1
2010-06-14 10:58:18|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:58:18
2010-06-14 10:58:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:58:48
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(162)|vmwinxp-6gb-base10-v0 image was successfully captured by the provisioning module
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(219)|vmwinxp-6gb-base10-v0 image files successfully saved
2010-06-14 10:59:01|18052|1:635|image|utils.pm:update_request_state(2186)|request 1 state updated to: completed, laststate to: image
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(222)|request state updated to completed, laststate to image
2010-06-14 10:59:01|18052|1:635|image|esx.pm:get_image_size(956)|getting size of image: vmwinxp-6gb-base10-v0
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu '/bin/ls -s1 /install/image/golden/vmwinxp-6gb-base10-v0 2>&1' 2>&1
2010-06-14 10:59:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| total 11150245
|18052|1:635|image| 11150243 vmwinxp-6gb-base10-v0-flat.vmdk
|18052|1:635|image| 2 vmwinxp-6gb-base10-v0.vmdk
2010-06-14 10:59:02|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "total 11150245 11150243 vmwinx...")
2010-06-14 10:59:02|18052|1:635|image|image.pm:process(231)|size of vmwinxp-6gb-base10-v0: 10888
2010-06-14 10:59:02|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{image}{size}
|18052|1:635|image| image_size = 10888
2010-06-14 10:59:02|18052|1:635|image|image.pm:process(260)|image and imagerevision tables updated for image=10, imagerevision=10, name=vmwinxp-6gb-base10-v0, lastupdate=2010-06-14 10:57:49, deleted=0, size=10888
2010-06-14 10:59:02|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: root@localhost, VCL -- No Apps (WinXP vmware 6gb) Image Creation Succeeded
No recipient addresses found in header
2010-06-14 10:59:02|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: , VCL IMAGE Creation Completed: vmwinxp-6gb-base10-v0






-----Original Message-----
From: Andy Kurth [mailto:andy_kurth@ncsu.edu]
Sent: Monday, June 07, 2010 3:17 PM
To: vcl-user@incubator.apache.org
Subject: Re: Sysprep Winxp

A problem must have occurred during the image capture.  Sysprep.exe should have
run as the last step before the computer was shut down and the image files
saved.  When the image is booted, you should see a Windows setup screen.  This
is the result of running sysprep.exe before the image was capture.

To diagnose, look at C:\Windows\setupapi.log.  If this file doesn't exist or
doesn't contain any info on the date the image was captured then sysprep.exe
didn't run.

Check if the following exist in the image (they should):
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.exe
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.inf

I would make sure sysprep.exe exists on your management node as described in the
documentation and try to capture the image again.  If sysprep still isn't
running, please send the log output from the image capture.

-Andy

Hartl, Gerhard L. wrote:
> I never notice the sysprep run, the workstation also is not renaming itself.  This is copied down during the base image capture correct?  Is there anything I can look at to diagnose?
>
> - Gerhard
>
>
>
> -----Original Message-----
> From: Andy Kurth [mailto:andy_kurth@ncsu.edu]
> Sent: Saturday, May 29, 2010 11:43 AM
> To: vcl-user@incubator.apache.org
> Subject: Re: Sysprep Winxp
>
> The steps on the following page should be all that is necessary:
> https://cwiki.apache.org/confluence/display/VCL/Management+Node+Installation
>
> Are you having trouble with Sysprep?
>
> Just FYI - the code in the next release will make the Sysprep and
> management node configuration a little simpler.  The requirement for the
> spdrvscn.exe utility has been removed and you will no longer need to
> configure the sysprep.inf file.  The code scans all of the drivers which
> have been saved to the Drivers directories on the management node,
> dynamically generates the sysprep.inf file, and sets the DevicePath
> registry key (this is what spdrvscn.exe does).
>
> Regards,
> Andy
>
> Hartl, Gerhard L. wrote:
>> Aside from the sysprep files that are copied to the mgmt server and
>> editing the sysprep.inf, what else is required for sysprep to function?
>>
>> Gerhard Hartl | PC/LAN Support Group
>> *O*ffice of *C*omputing and *C*ommunications *S*ervices
>> *O*ld* **D*ominion* **U*niversity | *ODU*
>> 4700 Elkhorn Blvd | Norfolk, VA 23529
>> 757.683.6980 | _ghartl@odu.edu_ <ma...@odu.edu> | occs.odu.edu
>>
>> /"The information in this email and any attachments may be confidential
>> and privileged. Access to this email by anyone other than the intended
>> addressee is unauthorized. If you are not the intended recipient (or the
>> employee or agent responsible for delivering this information to the
>> intended recipient) please notify the sender by reply email and
>> immediately delete this email and any copies from your computer and/or
>> storage system. The sender does not authorize the use, distribution,
>> disclosure or reproduction of this email (or any part of its contents)
>> by anyone other than the intended recipient(s)./
>>
>> /No representation is made that this email and any attachments are free
>> of viruses. Virus scanning is recommended and is the responsibility of
>> the recipient."/
>>
>>
>>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com<http://www.avg.com>
> Version: 9.0.819 / Virus Database: 271.1.1/2903 - Release Date: 05/29/10 02:25:00

--
Andy Kurth
Virtual Computing Lab
Office of Information Technology
North Carolina State University
andy_kurth@ncsu.edu
919.513.4090


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.829 / Virus Database: 271.1.1/2936 - Release Date: 06/14/10 02:35:00

RE: Sysprep Winxp

Posted by "Hartl, Gerhard L." <GH...@odu.edu>.
I doubled checked and all the necessary sysprep files are in the proper folders on the mgmt server.  They however are not copied down during the base image capture.  The entire C:\cygwin\home\root\VCL folder does not exist and the setupapi.log only shows the initial sysprep from when I first setup the image.  Here is a log of my current base capture.

- Gerhard

2010-06-14 10:56:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:56:48
2010-06-14 10:57:18|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:57:18
2010-06-14 10:57:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:57:48
2010-06-14 10:57:48|17789|1:635|image|utils.pm:reservation_being_processed(9634)|computerloadlog 'begin' entry does NOT exist for reservation 635
2010-06-14 10:57:48|17789|1:635|image|utils.pm:reservation_being_processed(9686)|reservation is NOT currently being processed
2010-06-14 10:57:48|17789|1:635|image|vcld:main(276)|reservation 635 is NOT already being processed
2010-06-14 10:57:48|17789|1:635|image|utils.pm:get_request_info(5354)|standalone affiliation found: Local
2010-06-14 10:57:48|17789|1:635|image|utils.pm:get_management_node_info(6815)|management node info retrieved from database for kelly
2010-06-14 10:57:48|17789|1:635|image|vcld:main(281)|retrieved request information from database
2010-06-14 10:57:48|17789|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|17789|1:635|image|utils.pm:update_request_state(2186)|request 1 state updated to: pending, laststate to: image
2010-06-14 10:57:48|17789|1:635|image|utils.pm:insertloadlog(4710)|inserted computer=22, begin, beginning to process, state is image
2010-06-14 10:57:48|17789|1:635|image|vcld:make_new_child(509)|loaded VCL::image module
2010-06-14 10:57:48|18052|1:635|image|vcld:make_new_child(582)|vcld environment variable set to 0 for this process
2010-06-14 10:57:48|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::image
2010-06-14 10:57:48|18052|1:635|image|Module.pm:new(154)|VCL::image object created
2010-06-14 10:57:48|17789|1:635|image|vcld:make_new_child(566)|current number of forked kids: 1
2010-06-14 10:57:48|18052|1:635|image|State.pm:initialize(85)|obtained a database handle for this state process, stored as $ENV{dbh}
2010-06-14 10:57:48|18052|1:635|image|State.pm:check_image_os(839)|no corrections need to be made to image OS: vmwarewinxp
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7863)|reservation count: 1
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7882)|PARENTIMAGE: 1
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7883)|SUBIMAGE: 0
2010-06-14 10:57:48|18052|1:635|image|utils.pm:rename_vcld_process(7901)|renamed process to 'vcld VCL::image 1:635 image imaging'
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 635
2010-06-14 10:57:48|18052|1:635|image|State.pm:initialize(121)|attempting to load provisioning module: VCL::Module::Provisioning::esx
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(138)|esx vmware toolkit root path found: /usr/lib/vmware-vcli/apps
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(140)|vmware ESX module initialized
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(127)|VCL::Module::Provisioning::esx module loaded
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::Module::Provisioning::esx
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(154)|VCL::Module::Provisioning::esx object created
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(138)|esx vmware toolkit root path found: /usr/lib/vmware-vcli/apps
2010-06-14 10:57:49|18052|1:635|image|esx.pm:initialize(140)|vmware ESX module initialized
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(131)|VCL::Module::Provisioning::esx provisioner object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(145)|attempting to load OS module: VCL::Module::OS::Windows::Version_5::XP
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(151)|VCL::Module::OS::Windows::Version_5::XP module loaded
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(132)|constructor called, class=VCL::Module::OS::Windows::Version_5::XP
2010-06-14 10:57:49|18052|1:635|image|Module.pm:new(154)|VCL::Module::OS::Windows::Version_5::XP object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(154)|VCL::Module::OS::Windows::Version_5::XP OS object created
2010-06-14 10:57:49|18052|1:635|image|State.pm:initialize(169)|returning 1
2010-06-14 10:57:49|18052|1:635|image|vcld:make_new_child(591)|VCL::image object created and initialized
No recipient addresses found in header
2010-06-14 10:57:49|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: , VCL IMAGE Creation Started: vmwinxp-6gb-base10-v0
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'ls -1 /install/image/golden 2>&1' 2>&1
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| 6gb-base10-v0_old
|18052|1:635|image| vmwarewinxp-WinXPSP3Base6GB14-v0
|18052|1:635|image| vmwarewinxp-base7-v0
|18052|1:635|image| vmwinxp-12gb-base12-v0
|18052|1:635|image| vmwinxp-9gb-base11-v0
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "6gb-base10-v0_old vmwarewinxp-...")

|18052|1:635|image| ---- WARNING ----
|18052|1:635|image| 2010-06-14 10:57:49|18052|1:635|image|esx.pm:does_image_exist(926)|image /install/image/golden/vmwinxp-6gb-base10-v0 does NOT exists
|18052|1:635|image| ( 0) utils.pm, notify (line: 737)
|18052|1:635|image| (-1) esx.pm, does_image_exist (line: 926)
|18052|1:635|image| (-2) image.pm, process (line: 135)
|18052|1:635|image| (-3) vcld, make_new_child (line: 594)
|18052|1:635|image| (-4) vcld, main (line: 341)

2010-06-14 10:57:49|18052|1:635|image|image.pm:process(145)|image vmwinxp-6gb-base10-v0 does not exist in the repository
2010-06-14 10:57:49|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{image}{lastupdate}
|18052|1:635|image| image_lastupdate = 2010-06-14 10:57:49
2010-06-14 10:57:49|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{imagerevision}{datecreated}
|18052|1:635|image| imagerevision_date_created = 2010-06-14 10:57:49
2010-06-14 10:57:49|18052|1:635|image|image.pm:process(161)|calling provisioning module's capture() subroutine
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(593)|**********************************************************
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(594)|Entering ESX Capture routine
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'ls -1 /install/image/inuse/vmwinxp-6gb-base10-v0 2>&1' 2>&1
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| vmwinxp-6gb-base10-v0-flat.vmdk
|18052|1:635|image| vmwinxp-6gb-base10-v0.vmdk
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "vmwinxp-6gb-base10-v0-flat.vmd...")
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(646)|found previous name= vmwinxp-6gb-base10-v0
2010-06-14 10:57:49|18052|1:635|image|esx.pm:capture(648)|SSHing to node to configure currentimage.txt
2010-06-14 10:57:49|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on vmwinxp-6gb-base10-v0:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x vmwinxp-6gb-base10-v0 'echo vmwinxp-6gb-base10-v0 > /root/currentimage.txt' 2>&1
2010-06-14 10:57:50|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:57:50|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on vmwinxp-6gb-base10-v0, returning (0, "none")
2010-06-14 10:57:50|18052|1:635|image|esx.pm:capture(658)|Power off command: /usr/lib/vmware-vcli/apps/vm/vmcontrol.pl --server 'brando' --vmname vmwinxp-6gb-base10-v0 --operation poweroff --username ********* --password '***********************'
2010-06-14 10:57:55|18052|1:635|image|esx.pm:capture(661)|Powered off:
|18052|1:635|image| virtual machine 'vmwinxp-6gb-base10-v0' under host brando.vcls.priv.odu.edu powered off
2010-06-14 10:57:55|18052|1:635|image|esx.pm:capture(663)|Waiting 5 seconds for power off
2010-06-14 10:58:00|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'mkdir /install/image/golden/vmwinxp-6gb-base10-v0' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(679)|COPIED VMDK SUCCESSFULLY
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| cp: cannot access /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
|18052|1:635|image| returning (2, "cp: cannot access /install/ima...")
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(688)|COPIED VMX SUCCESSFULLY
2010-06-14 10:58:01|18052|1:635|image|esx.pm:capture(691)|Rewriting VMDK and VMX files with new image name
2010-06-14 10:58:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| sed: illegal option -- i
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmx' 2>&1
|18052|1:635|image| returning (2, "sed: illegal option -- i")
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| sed: illegal option -- i
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6272)|SSH command executed on guinness.vcls.priv.odu.edu, command:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'sed -i "s/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0/" /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0.vmdk' 2>&1
|18052|1:635|image| returning (2, "sed: illegal option -- i")
2010-06-14 10:58:02|18052|1:635|image|esx.pm:capture(705)|Preparing to ssh to guinness.vcls.priv.odu.edu copy vmdk-flat from /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk to /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk
2010-06-14 10:58:02|18052|1:635|image|esx.pm:capture(706)|SSHing to copy vmdk-flat file
2010-06-14 10:58:02|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu 'cp /install/image/inuse/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk /install/image/golden/vmwinxp-6gb-base10-v0/vmwinxp-6gb-base10-v0-flat.vmdk' 2>&1
2010-06-14 10:58:18|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:58:18
2010-06-14 10:58:48|17789|vcld:main(165)|lastcheckin time updated for management node 1: 2010-06-14 10:58:48
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| none
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "none")
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(162)|vmwinxp-6gb-base10-v0 image was successfully captured by the provisioning module
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(219)|vmwinxp-6gb-base10-v0 image files successfully saved
2010-06-14 10:59:01|18052|1:635|image|utils.pm:update_request_state(2186)|request 1 state updated to: completed, laststate to: image
2010-06-14 10:59:01|18052|1:635|image|image.pm:process(222)|request state updated to completed, laststate to image
2010-06-14 10:59:01|18052|1:635|image|esx.pm:get_image_size(956)|getting size of image: vmwinxp-6gb-base10-v0
2010-06-14 10:59:01|18052|1:635|image|utils.pm:run_ssh_command(6180)|executing SSH command on guinness.vcls.priv.odu.edu:
|18052|1:635|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x guinness.vcls.priv.odu.edu '/bin/ls -s1 /install/image/golden/vmwinxp-6gb-base10-v0 2>&1' 2>&1
2010-06-14 10:59:02|18052|1:635|image|utils.pm:run_ssh_command(6262)|run_ssh_command output:
|18052|1:635|image| total 11150245
|18052|1:635|image| 11150243 vmwinxp-6gb-base10-v0-flat.vmdk
|18052|1:635|image| 2 vmwinxp-6gb-base10-v0.vmdk
2010-06-14 10:59:02|18052|1:635|image|utils.pm:run_ssh_command(6276)|SSH command executed on guinness.vcls.priv.odu.edu, returning (0, "total 11150245 11150243 vmwinx...")
2010-06-14 10:59:02|18052|1:635|image|image.pm:process(231)|size of vmwinxp-6gb-base10-v0: 10888
2010-06-14 10:59:02|18052|1:635|image|DataStructure.pm:_automethod(697)|data structure updated: $self->request_data->{reservation}{635}{image}{size}
|18052|1:635|image| image_size = 10888
2010-06-14 10:59:02|18052|1:635|image|image.pm:process(260)|image and imagerevision tables updated for image=10, imagerevision=10, name=vmwinxp-6gb-base10-v0, lastupdate=2010-06-14 10:57:49, deleted=0, size=10888
2010-06-14 10:59:02|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: root@localhost, VCL -- No Apps (WinXP vmware 6gb) Image Creation Succeeded
No recipient addresses found in header
2010-06-14 10:59:02|18052|1:635|image|utils.pm:mail(1348)|SUCCESS -- Sending mail To: , VCL IMAGE Creation Completed: vmwinxp-6gb-base10-v0






-----Original Message-----
From: Andy Kurth [mailto:andy_kurth@ncsu.edu]
Sent: Monday, June 07, 2010 3:17 PM
To: vcl-user@incubator.apache.org
Subject: Re: Sysprep Winxp

A problem must have occurred during the image capture.  Sysprep.exe should have
run as the last step before the computer was shut down and the image files
saved.  When the image is booted, you should see a Windows setup screen.  This
is the result of running sysprep.exe before the image was capture.

To diagnose, look at C:\Windows\setupapi.log.  If this file doesn't exist or
doesn't contain any info on the date the image was captured then sysprep.exe
didn't run.

Check if the following exist in the image (they should):
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.exe
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.inf

I would make sure sysprep.exe exists on your management node as described in the
documentation and try to capture the image again.  If sysprep still isn't
running, please send the log output from the image capture.

-Andy

Hartl, Gerhard L. wrote:
> I never notice the sysprep run, the workstation also is not renaming itself.  This is copied down during the base image capture correct?  Is there anything I can look at to diagnose?
>
> - Gerhard
>
>
>
> -----Original Message-----
> From: Andy Kurth [mailto:andy_kurth@ncsu.edu]
> Sent: Saturday, May 29, 2010 11:43 AM
> To: vcl-user@incubator.apache.org
> Subject: Re: Sysprep Winxp
>
> The steps on the following page should be all that is necessary:
> https://cwiki.apache.org/confluence/display/VCL/Management+Node+Installation
>
> Are you having trouble with Sysprep?
>
> Just FYI - the code in the next release will make the Sysprep and
> management node configuration a little simpler.  The requirement for the
> spdrvscn.exe utility has been removed and you will no longer need to
> configure the sysprep.inf file.  The code scans all of the drivers which
> have been saved to the Drivers directories on the management node,
> dynamically generates the sysprep.inf file, and sets the DevicePath
> registry key (this is what spdrvscn.exe does).
>
> Regards,
> Andy
>
> Hartl, Gerhard L. wrote:
>> Aside from the sysprep files that are copied to the mgmt server and
>> editing the sysprep.inf, what else is required for sysprep to function?
>>
>> Gerhard Hartl | PC/LAN Support Group
>> *O*ffice of *C*omputing and *C*ommunications *S*ervices
>> *O*ld* **D*ominion* **U*niversity | *ODU*
>> 4700 Elkhorn Blvd | Norfolk, VA 23529
>> 757.683.6980 | _ghartl@odu.edu_ <ma...@odu.edu> | occs.odu.edu
>>
>> /"The information in this email and any attachments may be confidential
>> and privileged. Access to this email by anyone other than the intended
>> addressee is unauthorized. If you are not the intended recipient (or the
>> employee or agent responsible for delivering this information to the
>> intended recipient) please notify the sender by reply email and
>> immediately delete this email and any copies from your computer and/or
>> storage system. The sender does not authorize the use, distribution,
>> disclosure or reproduction of this email (or any part of its contents)
>> by anyone other than the intended recipient(s)./
>>
>> /No representation is made that this email and any attachments are free
>> of viruses. Virus scanning is recommended and is the responsibility of
>> the recipient."/
>>
>>
>>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.819 / Virus Database: 271.1.1/2903 - Release Date: 05/29/10 02:25:00

--
Andy Kurth
Virtual Computing Lab
Office of Information Technology
North Carolina State University
andy_kurth@ncsu.edu
919.513.4090


Re: Sysprep Winxp

Posted by Andy Kurth <an...@ncsu.edu>.
A problem must have occurred during the image capture.  Sysprep.exe should have 
run as the last step before the computer was shut down and the image files 
saved.  When the image is booted, you should see a Windows setup screen.  This 
is the result of running sysprep.exe before the image was capture.

To diagnose, look at C:\Windows\setupapi.log.  If this file doesn't exist or 
doesn't contain any info on the date the image was captured then sysprep.exe 
didn't run.

Check if the following exist in the image (they should):
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.exe
C:\cygwin\home\root\VCL\Utilities\Sysprep\sysprep.inf

I would make sure sysprep.exe exists on your management node as described in the 
documentation and try to capture the image again.  If sysprep still isn't 
running, please send the log output from the image capture.

-Andy

Hartl, Gerhard L. wrote:
> I never notice the sysprep run, the workstation also is not renaming itself.  This is copied down during the base image capture correct?  Is there anything I can look at to diagnose?
> 
> - Gerhard
> 
> 
> 
> -----Original Message-----
> From: Andy Kurth [mailto:andy_kurth@ncsu.edu] 
> Sent: Saturday, May 29, 2010 11:43 AM
> To: vcl-user@incubator.apache.org
> Subject: Re: Sysprep Winxp
> 
> The steps on the following page should be all that is necessary:
> https://cwiki.apache.org/confluence/display/VCL/Management+Node+Installation
> 
> Are you having trouble with Sysprep?
> 
> Just FYI - the code in the next release will make the Sysprep and 
> management node configuration a little simpler.  The requirement for the 
> spdrvscn.exe utility has been removed and you will no longer need to 
> configure the sysprep.inf file.  The code scans all of the drivers which 
> have been saved to the Drivers directories on the management node, 
> dynamically generates the sysprep.inf file, and sets the DevicePath 
> registry key (this is what spdrvscn.exe does).
> 
> Regards,
> Andy
> 
> Hartl, Gerhard L. wrote:
>> Aside from the sysprep files that are copied to the mgmt server and 
>> editing the sysprep.inf, what else is required for sysprep to function?
>>  
>> Gerhard Hartl | PC/LAN Support Group
>> *O*ffice of *C*omputing and *C*ommunications *S*ervices
>> *O*ld* **D*ominion* **U*niversity | *ODU*
>> 4700 Elkhorn Blvd | Norfolk, VA 23529
>> 757.683.6980 | _ghartl@odu.edu_ <ma...@odu.edu> | occs.odu.edu
>>  
>> /"The information in this email and any attachments may be confidential 
>> and privileged. Access to this email by anyone other than the intended 
>> addressee is unauthorized. If you are not the intended recipient (or the 
>> employee or agent responsible for delivering this information to the 
>> intended recipient) please notify the sender by reply email and 
>> immediately delete this email and any copies from your computer and/or 
>> storage system. The sender does not authorize the use, distribution, 
>> disclosure or reproduction of this email (or any part of its contents) 
>> by anyone other than the intended recipient(s)./
>>  
>> /No representation is made that this email and any attachments are free 
>> of viruses. Virus scanning is recommended and is the responsibility of 
>> the recipient."/
>>  
>>  
>>  
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 9.0.819 / Virus Database: 271.1.1/2903 - Release Date: 05/29/10 02:25:00

-- 
Andy Kurth
Virtual Computing Lab
Office of Information Technology
North Carolina State University
andy_kurth@ncsu.edu
919.513.4090