Re: image capture issue

2011-02-28 Thread Jay Diener-Brazelle
I'm trying to find the code that actually makes the ssh call to see what 
its doing and to figure out where its going wrong.  Any ideas?


On 2/25/2011 9:26 AM, Jay Diener-Brazelle wrote:
I also tried giving the machine a dns name (node01.vcu.edu) and adding 
it to the /etc/hosts file for looup, but I got a very simular error:


|27494|26:25|image| 2011-02-25 
08:52:20|27494|26:25|image|VMware.pm:capture(403)|unable to capture 
image, VM node01 is not responding to SSH


again I am able to ssh directly into the machine using both the IP and 
the dns name from the management node


On 2/24/2011 3:38 PM, Jay Diener-Brazelle wrote:
I believe I got my datastore configured correctly now, but when I go 
to capture an image I get the following in my log:


 

2011-02-24 
15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices argument:
2011-02-24 
15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices argument:
2011-02-24 15:29:08|7040|utils.pm:insert_request(8443)|inserted new 
reload request into request table, request id=25
2011-02-24 15:29:08|7040|utils.pm:insert_request(8474)|inserted new 
reload request into reservation table, reservation id=24
2011-02-24 
15:29:11|2522|25:24|image|utils.pm:update_request_state(2049)|request 
25 state updated to: pending, laststate to: image
2011-02-24 
15:29:11|2522|25:24|image|utils.pm:insertloadlog(3933)|inserted 
computer=2, begin, beginning to process, state is image
2011-02-24 
15:29:11|7107|25:24|image|utils.pm:rename_vcld_process(7221)|renamed 
process to 'vcld 25:24 image 192 vmwarewin7-testcap2826-v0 admin'
2011-02-24 
15:29:11|7107|25:24|image|vSphere_SDK.pm:is_restricted(1079)|access 
to the VM host via the vSphere SDK is NOT restricted due to the license
2011-02-24 
15:29:18|7107|25:24|image|State.pm:initialize(128)|VCL::Module::Provisioning::VMware::VMware 
provisioner object created
2011-02-24 
15:29:18|7107|25:24|image|State.pm:initialize(151)|VCL::Module::OS::Windows::Version_6::7 
OS object created
2011-02-24 
15:29:18|7107|25:24|image|vcld:make_new_child(592)|VCL::image object 
created and initialized
2011-02-24 15:29:18|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, VCL IMAGE Creation Started: 
vmwarewin7-testcap2826-v0
2011-02-24 15:29:24|7107|25:24|image|image.pm:process(148)|image 
vmwarewin7-testcap2826-v0 does not exist in the repository
2011-02-24 15:29:24|7107|25:24|image|image.pm:process(164)|calling 
provisioning module's capture() subroutine

|7107|25:24|image|  WARNING 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|VMware.pm:capture(403)|unable to capture 
image, VM 192 is not responding to SSH

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) VMware.pm, capture (line: 403)
|7107|25:24|image| (-2) image.pm, process (line: 165)
|7107|25:24|image| (-3) vcld, make_new_child (line: 595)
|7107|25:24|image| (-4) vcld, main (line: 342)
|7107|25:24|image|  WARNING 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|image.pm:process(169)|vmwarewin7-testcap2826-v0 
image failed to be captured by provisioning module

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) image.pm, process (line: 169)
|7107|25:24|image| (-2) vcld, make_new_child (line: 595)
|7107|25:24|image| (-3) vcld, main (line: 342)
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, PROBLEM -- image.pm

|7107|25:24|image|  CRITICAL 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(393)|vmwarewin7-testcap2826-v0 
image creation failed

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) image.pm, reservation_failed (line: 393)
|7107|25:24|image| (-2) image.pm, process (line: 170)
|7107|25:24|image| (-3) vcld, make_new_child (line: 595)
|7107|25:24|image| (-4) vcld, main (line: 342)
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation 
testcap28
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, VCL -- NOTICE FAILED Image 
Creation testcap28
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:update_request_state(2049)|request 
25 state updated to: maintenance, laststate to: image
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(445)|request 
state set to maintenance, laststate to image
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:update_computer_state(2091)|computer 
2 state updated to: maintenance
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(453)|192 state 
set to maintenance
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(460)|exiting
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:delete_computerloadlog_reservation(6876)|deleted 
rows from computerloadlog for reservation

Re: image capture issue

2011-02-25 Thread Jay Diener-Brazelle
I also tried giving the machine a dns name (node01.vcu.edu) and adding 
it to the /etc/hosts file for looup, but I got a very simular error:


|27494|26:25|image| 2011-02-25 
08:52:20|27494|26:25|image|VMware.pm:capture(403)|unable to capture 
image, VM node01 is not responding to SSH


again I am able to ssh directly into the machine using both the IP and 
the dns name from the management node


On 2/24/2011 3:38 PM, Jay Diener-Brazelle wrote:
I believe I got my datastore configured correctly now, but when I go 
to capture an image I get the following in my log:


 

2011-02-24 15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices 
argument:
2011-02-24 15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices 
argument:
2011-02-24 15:29:08|7040|utils.pm:insert_request(8443)|inserted new 
reload request into request table, request id=25
2011-02-24 15:29:08|7040|utils.pm:insert_request(8474)|inserted new 
reload request into reservation table, reservation id=24
2011-02-24 
15:29:11|2522|25:24|image|utils.pm:update_request_state(2049)|request 
25 state updated to: pending, laststate to: image
2011-02-24 
15:29:11|2522|25:24|image|utils.pm:insertloadlog(3933)|inserted 
computer=2, begin, beginning to process, state is image
2011-02-24 
15:29:11|7107|25:24|image|utils.pm:rename_vcld_process(7221)|renamed 
process to 'vcld 25:24 image 192 vmwarewin7-testcap2826-v0 admin'
2011-02-24 
15:29:11|7107|25:24|image|vSphere_SDK.pm:is_restricted(1079)|access to 
the VM host via the vSphere SDK is NOT restricted due to the license
2011-02-24 
15:29:18|7107|25:24|image|State.pm:initialize(128)|VCL::Module::Provisioning::VMware::VMware 
provisioner object created
2011-02-24 
15:29:18|7107|25:24|image|State.pm:initialize(151)|VCL::Module::OS::Windows::Version_6::7 
OS object created
2011-02-24 
15:29:18|7107|25:24|image|vcld:make_new_child(592)|VCL::image object 
created and initialized
2011-02-24 15:29:18|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, VCL IMAGE Creation Started: 
vmwarewin7-testcap2826-v0
2011-02-24 15:29:24|7107|25:24|image|image.pm:process(148)|image 
vmwarewin7-testcap2826-v0 does not exist in the repository
2011-02-24 15:29:24|7107|25:24|image|image.pm:process(164)|calling 
provisioning module's capture() subroutine

|7107|25:24|image|  WARNING 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|VMware.pm:capture(403)|unable to capture 
image, VM 192 is not responding to SSH

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) VMware.pm, capture (line: 403)
|7107|25:24|image| (-2) image.pm, process (line: 165)
|7107|25:24|image| (-3) vcld, make_new_child (line: 595)
|7107|25:24|image| (-4) vcld, main (line: 342)
|7107|25:24|image|  WARNING 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|image.pm:process(169)|vmwarewin7-testcap2826-v0 
image failed to be captured by provisioning module

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) image.pm, process (line: 169)
|7107|25:24|image| (-2) vcld, make_new_child (line: 595)
|7107|25:24|image| (-3) vcld, main (line: 342)
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, PROBLEM -- image.pm

|7107|25:24|image|  CRITICAL 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(393)|vmwarewin7-testcap2826-v0 
image creation failed

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) image.pm, reservation_failed (line: 393)
|7107|25:24|image| (-2) image.pm, process (line: 170)
|7107|25:24|image| (-3) vcld, make_new_child (line: 595)
|7107|25:24|image| (-4) vcld, main (line: 342)
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation 
testcap28
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, VCL -- NOTICE FAILED Image 
Creation testcap28
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:update_request_state(2049)|request 
25 state updated to: maintenance, laststate to: image
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(445)|request 
state set to maintenance, laststate to image
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:update_computer_state(2091)|computer 2 
state updated to: maintenance
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(453)|192 state 
set to maintenance
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(460)|exiting
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:delete_computerloadlog_reservation(6876)|deleted 
rows from computerloadlog for reservation id=24
2011-02-24 15:29:24|7107|25:24|image|State.pm:DESTROY(946)|VCL::image 
process 7107 exiting
2011-02-24 15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices 
argument:
2011-02

image capture issue

2011-02-24 Thread Jay Diener-Brazelle
I believe I got my datastore configured correctly now, but when I go to 
capture an image I get the following in my log:



2011-02-24 15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices 
argument:
2011-02-24 15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices 
argument:
2011-02-24 15:29:08|7040|utils.pm:insert_request(8443)|inserted new 
reload request into request table, request id=25
2011-02-24 15:29:08|7040|utils.pm:insert_request(8474)|inserted new 
reload request into reservation table, reservation id=24
2011-02-24 
15:29:11|2522|25:24|image|utils.pm:update_request_state(2049)|request 25 
state updated to: pending, laststate to: image
2011-02-24 
15:29:11|2522|25:24|image|utils.pm:insertloadlog(3933)|inserted 
computer=2, begin, beginning to process, state is image
2011-02-24 
15:29:11|7107|25:24|image|utils.pm:rename_vcld_process(7221)|renamed 
process to 'vcld 25:24 image 192 vmwarewin7-testcap2826-v0 admin'
2011-02-24 
15:29:11|7107|25:24|image|vSphere_SDK.pm:is_restricted(1079)|access to 
the VM host via the vSphere SDK is NOT restricted due to the license
2011-02-24 
15:29:18|7107|25:24|image|State.pm:initialize(128)|VCL::Module::Provisioning::VMware::VMware 
provisioner object created
2011-02-24 
15:29:18|7107|25:24|image|State.pm:initialize(151)|VCL::Module::OS::Windows::Version_6::7 
OS object created
2011-02-24 15:29:18|7107|25:24|image|vcld:make_new_child(592)|VCL::image 
object created and initialized
2011-02-24 15:29:18|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, VCL IMAGE Creation Started: 
vmwarewin7-testcap2826-v0
2011-02-24 15:29:24|7107|25:24|image|image.pm:process(148)|image 
vmwarewin7-testcap2826-v0 does not exist in the repository
2011-02-24 15:29:24|7107|25:24|image|image.pm:process(164)|calling 
provisioning module's capture() subroutine

|7107|25:24|image|  WARNING 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|VMware.pm:capture(403)|unable to capture 
image, VM 192 is not responding to SSH

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) VMware.pm, capture (line: 403)
|7107|25:24|image| (-2) image.pm, process (line: 165)
|7107|25:24|image| (-3) vcld, make_new_child (line: 595)
|7107|25:24|image| (-4) vcld, main (line: 342)
|7107|25:24|image|  WARNING 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|image.pm:process(169)|vmwarewin7-testcap2826-v0 image 
failed to be captured by provisioning module

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) image.pm, process (line: 169)
|7107|25:24|image| (-2) vcld, make_new_child (line: 595)
|7107|25:24|image| (-3) vcld, main (line: 342)
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, PROBLEM -- image.pm

|7107|25:24|image|  CRITICAL 
|7107|25:24|image| 2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(393)|vmwarewin7-testcap2826-v0 
image creation failed

|7107|25:24|image| ( 0) utils.pm, notify (line: 630)
|7107|25:24|image| (-1) image.pm, reservation_failed (line: 393)
|7107|25:24|image| (-2) image.pm, process (line: 170)
|7107|25:24|image| (-3) vcld, make_new_child (line: 595)
|7107|25:24|image| (-4) vcld, main (line: 342)
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation 
testcap28
2011-02-24 15:29:24|7107|25:24|image|utils.pm:mail(1247)|SUCCESS -- 
Sending mail To: jabraze...@vcu.edu, VCL -- NOTICE FAILED Image Creation 
testcap28
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:update_request_state(2049)|request 25 
state updated to: maintenance, laststate to: image
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(445)|request state 
set to maintenance, laststate to image
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:update_computer_state(2091)|computer 
2 state updated to: maintenance
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(453)|192 state set 
to maintenance
2011-02-24 
15:29:24|7107|25:24|image|image.pm:reservation_failed(460)|exiting
2011-02-24 
15:29:24|7107|25:24|image|utils.pm:delete_computerloadlog_reservation(6876)|deleted 
rows from computerloadlog for reservation id=24
2011-02-24 15:29:24|7107|25:24|image|State.pm:DESTROY(946)|VCL::image 
process 7107 exiting
2011-02-24 15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices 
argument:
2011-02-24 15:29:00|7040|utils.pm:setup_get_array_choice(9986)|choices 
argument:
2011-02-24 15:29:08|7040|utils.pm:insert_request(8443)|inserted new 
reload request into request table, request id=25
2011-02-24 15:29:08|7040|utils.pm:insert_request(8474)|inserted new 
reload request into reservation table, reservation id=24
2011-02-24 
15:29:11|2522|25:24|image|utils.pm:update_request_state(2049)|request 25 
state updated to: pending, laststate to: image

Re: Image Capture issue

2011-02-04 Thread Andy Kurth
bh}, attempting disconnect
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(932)|$ENV{dbh}: database 
disconnect successful
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(946)|VCL::image process 
4026 exiting
2011-01-28 11:32:04|3520|vcld:REAPER(745)|VCL process exited for reservation 1, 
PID: 4026, signal: CHLD
2011-01-28 11:32:04|3520|vcld:main(166)|lastcheckin time updated for management 
node 1: 2011-01-28 11:32:04



-Original Message-
From: Andy Kurth [mailto:andy_ku...@ncsu.edu]
Sent: Friday, January 28, 2011 11:32 AM
To: vcl-user@incubator.apache.org
Subject: Re: Image Capture issue

It looks like your VM computer "xpbase1" hasn't been assigned to a VM
host.  Try assigning it via the "Virtual Hosts" link on the VCL website.

-Andy




RE: Image Capture issue

2011-01-28 Thread Hayashi, Daiyu
pbase29-v0
 image creation failed
|4026|1:1|image| ( 0) utils.pm, notify (line: 630)
|4026|1:1|image| (-1) image.pm, reservation_failed (line: 393)
|4026|1:1|image| (-2) image.pm, process (line: 170)
|4026|1:1|image| (-3) vcld, make_new_child (line: 595)
|4026|1:1|image| (-4) vcld, main (line: 342)
2011-01-28 11:32:04|4026|1:1|image|utils.pm:mail(1247)|SUCCESS -- Sending mail 
To: root@localhost, VCL -- NOTICE DELAY Image Creation xpbase2
/usr/lib/perl5/site_perl/5.8.8/Mail/Mailer/rfc822.pm line 22 (#1)
|4026|1:1|image|  WARNING  
|4026|1:1|image| 2011-01-28 
11:32:04|4026|1:1|image|vcld:warning_handler(637)|Use of uninitialized value in 
substitution (s///) at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer/rfc822.pm 
line 22.
|4026|1:1|image| ( 0) utils.pm, notify (line: 630)
|4026|1:1|image| (-1) vcld, warning_handler (line: 637)
|4026|1:1|image| (-2) rfc822.pm, set_headers (line: 22)
|4026|1:1|image| (-3) Mailer.pm, open (line: 162)
|4026|1:1|image| (-4) utils.pm, mail (line: 1241)
|4026|1:1|image| (-5) image.pm, reservation_failed (line: 442)
|4026|1:1|image| (-6) image.pm, process (line: 170)
|4026|1:1|image|  WARNING  
|4026|1:1|image| 2011-01-28 
11:32:04|4026|1:1|image|vcld:warning_handler(637)|Use of uninitialized value in 
concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/Mail/Mailer/rfc822.pm line 23.
|4026|1:1|image| ( 0) utils.pm, notify (line: 630)
|4026|1:1|image| (-1) vcld, warning_handler (line: 637)
|4026|1:1|image| (-2) rfc822.pm, set_headers (line: 23)
|4026|1:1|image| (-3) Mailer.pm, open (line: 162)
|4026|1:1|image| (-4) utils.pm, mail (line: 1241)
|4026|1:1|image| (-5) image.pm, reservation_failed (line: 442)
|4026|1:1|image| (-6) image.pm, process (line: 170)
|4026|1:1|image|  WARNING  
|4026|1:1|image| 2011-01-28 
11:32:04|4026|1:1|image|vcld:warning_handler(637)|Use of uninitialized value in 
concatenation (.) or string at /usr/local/vcl/bin/../lib/VCL/utils.pm line 1247.
|4026|1:1|image| ( 0) utils.pm, notify (line: 630)
|4026|1:1|image| (-1) vcld, warning_handler (line: 637)
|4026|1:1|image| (-2) utils.pm, mail (line: 1247)
|4026|1:1|image| (-3) image.pm, reservation_failed (line: 442)
|4026|1:1|image| (-4) image.pm, process (line: 170)
|4026|1:1|image| (-5) vcld, make_new_child (line: 595)
|4026|1:1|image| (-6) vcld, main (line: 342)
2011-01-28 11:32:04|4026|1:1|image|utils.pm:mail(1247)|SUCCESS -- Sending mail 
To: , VCL -- NOTICE FAILED Image Creation xpbase2
2011-01-28 11:32:04|4026|1:1|image|utils.pm:update_request_state(2049)|request 
1 state updated to: maintenance, laststate to: image
2011-01-28 11:32:04|4026|1:1|image|image.pm:reservation_failed(445)|request 
state set to maintenance, laststate to image
2011-01-28 
11:32:04|4026|1:1|image|utils.pm:update_computer_state(2091)|computer 9 state 
updated to: maintenance
2011-01-28 11:32:04|4026|1:1|image|image.pm:reservation_failed(453)|xphost2 
state set to maintenance
2011-01-28 11:32:04|4026|1:1|image|image.pm:reservation_failed(460)|exiting
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(902)|destructor called, 
ref($self)=VCL::image
2011-01-28 
11:32:04|4026|1:1|image|utils.pm:delete_computerloadlog_reservation(6829)|removing
 computerloadlog entries matching loadstate = begin
2011-01-28 
11:32:04|4026|1:1|image|utils.pm:delete_computerloadlog_reservation(6876)|deleted
 rows from computerloadlog for reservation id=1
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(909)|removed 
computerloadlog rows with loadstate=begin for reservation
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(921)|number of database 
handles state process created: 1
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(930)|process has a database 
handle stored in $ENV{dbh}, attempting disconnect
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(932)|$ENV{dbh}: database 
disconnect successful
2011-01-28 11:32:04|4026|1:1|image|State.pm:DESTROY(946)|VCL::image process 
4026 exiting
2011-01-28 11:32:04|3520|vcld:REAPER(745)|VCL process exited for reservation 1, 
PID: 4026, signal: CHLD
2011-01-28 11:32:04|3520|vcld:main(166)|lastcheckin time updated for management 
node 1: 2011-01-28 11:32:04



-Original Message-
From: Andy Kurth [mailto:andy_ku...@ncsu.edu] 
Sent: Friday, January 28, 2011 11:32 AM
To: vcl-user@incubator.apache.org
Subject: Re: Image Capture issue

It looks like your VM computer "xpbase1" hasn't been assigned to a VM 
host.  Try assigning it via the "Virtual Hosts" link on the VCL website.

-Andy




Re: Image Capture issue

2011-01-28 Thread Andy Kurth
It looks like your VM computer "xpbase1" hasn't been assigned to a VM 
host.  Try assigning it via the "Virtual Hosts" link on the VCL website.


-Andy


On 1/26/2011 5:54 PM, Hayashi, Daiyu wrote:

Help – need assistance with VCL 2.2

vHost on ESXi4.1

Issue with Image Capture for Base Image using Windows XP

Error message below-

Thank you,

Daiyu Hayashi

Information Technology Consultant

Mihaylo College of Business and Economics

California State University at Fullerton

dhaya...@fullerton.edu



[root@vcl-manage bin]# ./vcld -setup

VCL Management Node Setup



Select a module to configure:

1. VCL Base Module

2. VCL Image State Module

3. Windows OS Module

[vcld]

Make a selection (1-3, 'c' to cancel): 2



Choose an operation:

1. Capture Base Image

[vcld/Image]

Make a selection (1, 'c' to cancel): 1

Enter the VCL login name or ID of the user who will own the image:
[admin]: admin

User who will own the image: admin (ID: 1)

Enter the hostname or IP address of the computer to be captured: ('c' to
cancel): xpbase1

Computer to be captured: xpbase1 (ID: 8)

Provisioning module: provisioning_vmware

Install type: vmware

Select the OS to be captured (install type: vmware):

1. Generic Linux (VMware)

2. Windows 2003 Server (VMware)

3. Windows 7 (VMware)

4. Windows Server 2008 (VMware)

5. Windows Vista (VMware)

6. Windows XP (VMware)

[vcld/Image/Capture Base Image]

Make a selection (1-6, 'c' to cancel): 6

Selected OS: Windows XP (VMware)

Image architecture:

1. x86

2. x86_64

[vcld/Image/Capture Base Image]

Make a selection (1-2, 'c' to cancel): 1

Image architecture: x86

Use Sysprep:

1. Yes

2. No

[vcld/Image/Capture Base Image]

Make a selection (1-2, 'c' to cancel): 2

Use Sysprep: No

Enter the name of the image to be captured: ('c' to cancel): xpbase1

Added new image to database: 'xpbase1'

image.name: vmwarewinxp-xpbase17-v0

image.id: 7

imagerevision.id: 7

imagemeta.id: 4

resource.id: 20



Inserted imaging request to the database:

request ID: 3

reservation ID: 3

This process will now display the contents of the vcld.log file if the vcld

daemon is running. If you do not see many lines of additional output,
exit this

process, start the vcld daemon, and monitor the image capture process by
running

the command:

tail -f /var/log/vcld.log | grep '3:3'



2011-01-26 14:15:01|3906|utils.pm:setup_get_array_choice(9986)|choices
argument:

|3906| x86

|3906| x86_64

2011-01-26 14:15:02|3906|utils.pm:setup_get_array_choice(9986)|choices
argument:

|3906| Yes

|3906| No

2011-01-26 14:15:02|3514|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-01-26 14:15:02

2011-01-26 14:15:07|3514|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-01-26 14:15:07

2011-01-26 14:15:10|3906|utils.pm:insert_request(8443)|inserted new
reload request into request table, request id=3

2011-01-26 14:15:10|3906|utils.pm:insert_request(8474)|inserted new
reload request into reservation table, reservation id=3

2011-01-26 14:15:12|3514|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-01-26 14:15:12

2011-01-26
14:15:12|3514|3:3|image|utils.pm:reservation_being_processed(9010)|computerloadlog
'begin' entry does NOT exist for reservation 3

2011-01-26 14:15:13|3514|3:3|image|utils.pm:run_command(9082)|executed
command: pgrep -fl 'vcld [0-9]+:3 ', pid: 3912, exit status: 1, output:

2011-01-26
14:15:13|3514|3:3|image|utils.pm:is_management_node_process_running(9259)|process
is NOT running, identifier: 'vcld [0-9]+:3 '

2011-01-26
14:15:13|3514|3:3|image|utils.pm:reservation_being_processed(9031)|reservation
is NOT currently being processed

2011-01-26 14:15:13|3514|3:3|image|vcld:main(277)|reservation 3 is NOT
already being processed

2011-01-26
14:15:13|3514|3:3|image|utils.pm:get_request_info(4589)|standalone
affiliation found: Local

2011-01-26 14:15:13|3514|3:3|image|vcld:main(282)|retrieved request
information from database

2011-01-26
14:15:13|3514|3:3|image|DataStructure.pm:is_parent_reservation(943)|returning
true: parent reservation ID for this request: 3

2011-01-26
14:15:13|3514|3:3|image|utils.pm:update_request_state(2049)|request 3
state updated to: pending, laststate to: image

2011-01-26 14:15:13|3514|3:3|image|utils.pm:insertloadlog(3933)|inserted
computer=8, begin, beginning to process, state is image

2011-01-26 14:15:13|3514|3:3|image|vcld:make_new_child(510)|loaded
VCL::image module

2011-01-26 14:15:13|3914|3:3|image|vcld:make_new_child(583)|vcld
environment variable set to 0 for this process

2011-01-26 14:15:13|39

Image Capture issue

2011-01-26 Thread Hayashi, Daiyu
Help - need assistance with VCL 2.2
vHost on ESXi4.1

Issue with Image Capture for Base Image using Windows XP

Error message below-

Thank you,

Daiyu Hayashi
Information Technology Consultant
Mihaylo College of Business and Economics
California State University at Fullerton
dhaya...@fullerton.edu



[root@vcl-manage bin]# ./vcld -setup
VCL Management Node Setup

Select a module to configure:
1. VCL Base Module
2. VCL Image State Module
3. Windows OS Module

[vcld]
Make a selection (1-3, 'c' to cancel): 2

Choose an operation:
1. Capture Base Image

[vcld/Image]
Make a selection (1, 'c' to cancel): 1

Enter the VCL login name or ID of the user who will own the image: [admin]: 
admin

User who will own the image: admin (ID: 1)

Enter the hostname or IP address of the computer to be captured: ('c' to 
cancel): xpbase1

Computer to be captured: xpbase1 (ID: 8)
Provisioning module: provisioning_vmware
Install type: vmware

Select the OS to be captured (install type: vmware):
1. Generic Linux (VMware)
2. Windows 2003 Server (VMware)
3. Windows 7 (VMware)
4. Windows Server 2008 (VMware)
5. Windows Vista (VMware)
6. Windows XP (VMware)

[vcld/Image/Capture Base Image]
Make a selection (1-6, 'c' to cancel): 6

Selected OS: Windows XP (VMware)

Image architecture:
1. x86
2. x86_64

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 1

Image architecture: x86

Use Sysprep:
1. Yes
2. No

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 2

Use Sysprep: No

Enter the name of the image to be captured: ('c' to cancel): xpbase1

Added new image to database: 'xpbase1'
   image.name: vmwarewinxp-xpbase17-v0
   image.id: 7
   imagerevision.id: 7
   imagemeta.id: 4
   resource.id: 20


Inserted imaging request to the database:
request ID: 3
reservation ID: 3

This process will now display the contents of the vcld.log file if the vcld
daemon is running. If you do not see many lines of additional output, exit this
process, start the vcld daemon, and monitor the image capture process by running
the command:
tail -f /var/log/vcld.log | grep '3:3'


2011-01-26 14:15:01|3906|utils.pm:setup_get_array_choice(9986)|choices argument:
|3906| x86
|3906| x86_64
2011-01-26 14:15:02|3906|utils.pm:setup_get_array_choice(9986)|choices argument:
|3906| Yes
|3906| No
2011-01-26 14:15:02|3514|vcld:main(166)|lastcheckin time updated for management 
node 1: 2011-01-26 14:15:02
2011-01-26 14:15:07|3514|vcld:main(166)|lastcheckin time updated for management 
node 1: 2011-01-26 14:15:07
2011-01-26 14:15:10|3906|utils.pm:insert_request(8443)|inserted new reload 
request into request table, request id=3
2011-01-26 14:15:10|3906|utils.pm:insert_request(8474)|inserted new reload 
request into reservation table, reservation id=3
2011-01-26 14:15:12|3514|vcld:main(166)|lastcheckin time updated for management 
node 1: 2011-01-26 14:15:12
2011-01-26 
14:15:12|3514|3:3|image|utils.pm:reservation_being_processed(9010)|computerloadlog
 'begin' entry does NOT exist for reservation 3
2011-01-26 14:15:13|3514|3:3|image|utils.pm:run_command(9082)|executed command: 
pgrep -fl 'vcld [0-9]+:3 ', pid: 3912, exit status: 1, output:
2011-01-26 
14:15:13|3514|3:3|image|utils.pm:is_management_node_process_running(9259)|process
 is NOT running, identifier: 'vcld [0-9]+:3 '
2011-01-26 
14:15:13|3514|3:3|image|utils.pm:reservation_being_processed(9031)|reservation 
is NOT currently being processed
2011-01-26 14:15:13|3514|3:3|image|vcld:main(277)|reservation 3 is NOT already 
being processed
2011-01-26 14:15:13|3514|3:3|image|utils.pm:get_request_info(4589)|standalone 
affiliation found: Local
2011-01-26 14:15:13|3514|3:3|image|vcld:main(282)|retrieved request information 
from database
2011-01-26 
14:15:13|3514|3:3|image|DataStructure.pm:is_parent_reservation(943)|returning 
true: parent reservation ID for this request: 3
2011-01-26 14:15:13|3514|3:3|image|utils.pm:update_request_state(2049)|request 
3 state updated to: pending, laststate to: image
2011-01-26 14:15:13|3514|3:3|image|utils.pm:insertloadlog(3933)|inserted 
computer=8, begin, beginning to process, state is image
2011-01-26 14:15:13|3514|3:3|image|vcld:make_new_child(510)|loaded VCL::image 
module
2011-01-26 14:15:13|3914|3:3|image|vcld:make_new_child(583)|vcld environment 
variable set to 0 for this process
2011-01-26 14:15:13|3914|3:3|image|Module.pm:new(134)|constructor called, 
class=VCL::image
2011-01-26 14:15:13|3914|3:3|image|Module.pm:new(156)|VCL::image object created
2011-01-26 14:15:13|3514|3:3|image|vcld:make_new_child(567)|current number of