You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by Alexander Patterson <al...@csueastbay.edu> on 2010/07/09 00:08:52 UTC

CentOS 5.5 Image creation fail

Hello All,

I'm having an issue with my Centos 5.5. I have built it just as
instructed in the boot camp.

I'm having an issue with the Image Creation. I can load up the image
and use it just fine. I'm having a problem creating an image off of
it.
I did turn of sysprep when I was asked, but anyways here is the error log.

This was build on the Vmware server and has the correct naming convention.

Creating New Image
Add Image
Add the following image?

Name: 	CentOS
Owner: 	admin@Local

Image Description:
CENTOS

Usage Notes:
CENTOS

Revision Comments:
CENTOS

Advanced Options:
Minimum RAM (MB): 	1024
Minimum Num of Processors: 	1
Minimum Processor Speed (MHz): 	2000
Minimum Network Speed (Mbps): 	100
Maximum Concurrent Usage: 	
Available for checkout: 	Yes
Check for logged in user: 	Yes
User group allowed to log in: 	Any
Use sysprep: 	No

I get the Server reponded "Connectiong closed"

Showing that the imaging process has kicked me out and is working.

2010-07-08 15:05:46|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-08 15:05:46
2010-07-08 15:05:49|4356|3617:3353|image|utils.pm:run_scp_command(6453)|scp
successful: attempt 1/3, exit status: 0, output: none
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1257)|copied
11 vmdk files imagesize= 1794
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1265)|begin
rename local disk image files to newname
Use of uninitialized value in concatenation (.) or string at
        /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm
line 1282 (#1)

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s001.vmdk to vmwarelinux-CentOS88-v0-s001.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s001.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s001.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s002.vmdk to vmwarelinux-CentOS88-v0-s002.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s002.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s002.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s003.vmdk to vmwarelinux-CentOS88-v0-s003.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s003.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s003.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s004.vmdk to vmwarelinux-CentOS88-v0-s004.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s004.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s004.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s005.vmdk to vmwarelinux-CentOS88-v0-s005.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s005.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s005.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s006.vmdk to vmwarelinux-CentOS88-v0-s006.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s006.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s006.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s007.vmdk to vmwarelinux-CentOS88-v0-s007.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s007.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s007.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s008.vmdk to vmwarelinux-CentOS88-v0-s008.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s008.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s008.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
vmwareCentos5.582-v0-s009.vmdk to vmwarelinux-CentOS88-v0-s009.vmdk
2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
vmwareCentos5.582-v0-s009.vmdk
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s009.vmdk

|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)


|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1296.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1296)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)


|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
uninitialized value in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1322.
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
|4356|3617:3353|image| (-2) vmware.pm, capture (line: 1322)
|4356|3617:3353|image| (-3) image.pm, process (line: 162)
|4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-5) vcld, main (line: 341)

2010-07-08 15:05:51|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-08 15:05:51
2010-07-08 15:05:56|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-08 15:05:56
No recipient addresses found in header
2010-07-08 15:05:59|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
-- Sending mail To: , PROBLEM -- vmware.pm

|4356|3617:3353|image| ---- CRITICAL ----
|4356|3617:3353|image| 2010-07-08
15:05:50|4356|3617:3353|image|vmware.pm:capture(1322)|could not read
/install/vmware_images/vmwarelinux-CentOS88-v0/.vmdk Inappropriate
ioctl for device
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) vmware.pm, capture (line: 1322)
|4356|3617:3353|image| (-2) image.pm, process (line: 162)
|4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-4) vcld, main (line: 341)


|4356|3617:3353|image| ---- WARNING ----
|4356|3617:3353|image| 2010-07-08
15:05:59|4356|3617:3353|image|image.pm:process(166)|vmwarelinux-CentOS88-v0
image failed to be captured by provisioning module
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) image.pm, process (line: 166)
|4356|3617:3353|image| (-2) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-3) vcld, main (line: 341)

2010-07-08 15:06:01|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-08 15:06:01
2010-07-08 15:06:06|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-08 15:06:06
No recipient addresses found in header
2010-07-08 15:06:06|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
-- Sending mail To: , PROBLEM -- image.pm

|4356|3617:3353|image| ---- CRITICAL ----
|4356|3617:3353|image| 2010-07-08
15:05:59|4356|3617:3353|image|image.pm:reservation_failed(390)|vmwarelinux-CentOS88-v0
image creation failed
|4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
|4356|3617:3353|image| (-1) image.pm, reservation_failed (line: 390)
|4356|3617:3353|image| (-2) image.pm, process (line: 167)
|4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
|4356|3617:3353|image| (-4) vcld, main (line: 341)

2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
-- Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation
CentOS
No recipient addresses found in header
2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
-- Sending mail To: , VCL -- NOTICE FAILED Image Creation CentOS
2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:update_request_state(2186)|request
3617 state updated to: maintenance, laststate to: image
2010-07-08 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(442)|request
state set to maintenance, laststate to image
2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:update_computer_state(2228)|computer
61 state updated to: maintenance
2010-07-08 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(450)|vmguest-57
state set to maintenance
2010-07-08 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(457)|exiting
2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(905)|destructor
called, ref($self)=VCL::image
2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7551)|removing
computerloadlog entries matching loadstate = begin
2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7598)|deleted
rows from computerloadlog for reservation id=3353
2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(912)|removed
computerloadlog rows with loadstate=begin for reservation
2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(924)|number
of database handles state process created: 1
2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(933)|process
has a database handle stored in $ENV{dbh}, attempting disconnect
2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(935)|$ENV{dbh}:
database disconnect successful
2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(949)|VCL::image
process 4356 exiting



-- 
Thanks,
Alex  Patterson
User Support Services
Operating System Analyst
California State University, East Bay

Re: CentOS 5.5 Image creation fail

Posted by Alexander Patterson <al...@csueastbay.edu>.
Hello

Sorry I should of waited

Both of them create now. :)

Thanks for the fix

-Alex

On Fri, Jul 9, 2010 at 12:44 PM, Alexander Patterson
<al...@csueastbay.edu> wrote:
> Hello
>
> The files were copied and the image is there but it shows up as a
> deleted image in my image repository.
>
> I can see the files on our NFS share so it was created.
>
> I went ahead and manually renamed each one i updated the php side with
> the correct name and loaded up the one that was created as deleted.
> The image was created and changed to a deleted Image. I went ahead and
> un deleted the image.
>
> I went ahead and loaded up the image that I had renamed created with
> the system. Here are the results
>
> I was able to get it back into the system. I then went to create a new
> No Apps CentOS 5.5 image off of it.
>
> Here is the error log
>
> |27805|3631:3367|reload| getstate() = on
> 2010-07-09 12:34:10|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
> command executed on vclesx04, returning (0, "getstate() = on")
> 2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(852)|rechecking
> state of vm vmguest-5
> /virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx
> 2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(857)|vm
> vmguest-5 reports on
> 2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(868)|sshd is
> NOT active on vmguest-5 yet
> 2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(897)|DEBUG
> output for vmguest-5 Jul 9 12:34:02 vclnfs01 dhcpd: DHCPREQUEST for
> 10.10.10.234 from 00:50:56:2a:3b:08 via eth0
> 2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(897)|DEBUG
> output for vmguest-5 Jul 9 12:34:02 vclnfs01 dhcpd: DHCPACK on
> 10.10.10.234 to 00:50:56:2a:3b:08 via eth0
> 2010-07-09 12:34:11|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-09 12:34:11
> 2010-07-09 12:34:16|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-09 12:34:16
> 2010-07-09 12:34:20|27805|3631:3367|reload|vmware.pm:load(848)|vmguest-5
> ROUND 1 checks loop 9 of 40
> 2010-07-09 12:34:20|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vclesx04:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vclesx04 'vmware-cmd
> /virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx
> getstate' 2>&1
> 2010-07-09 12:34:21|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| getstate() = on
> 2010-07-09 12:34:21|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
> command executed on vclesx04, returning (0, "getstate() = on")
> 2010-07-09 12:34:21|27805|3631:3367|reload|vmware.pm:load(852)|rechecking
> state of vm vmguest-5
> /virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx
> 2010-07-09 12:34:21|27805|3631:3367|reload|vmware.pm:load(857)|vm
> vmguest-5 reports on
> 2010-07-09 12:34:21|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-09 12:34:21
> Use of uninitialized value in pattern match (m//) at
>        /usr/local/vcl/bin/../lib/VCL/utils.pm line 2745 (#1)
>
> |27805|3631:3367|reload| ---- WARNING ----
> |27805|3631:3367|reload| 2010-07-09
> 12:34:22|27805|3631:3367|reload|vcld:warning_handler(636)|Use of
> uninitialized value in pattern match (m//) at
> /usr/local/vcl/bin/../lib/VCL/utils.pm line 2745.
> |27805|3631:3367|reload| ( 0) utils.pm, notify (line: 737)
> |27805|3631:3367|reload| (-1) vcld, warning_handler (line: 636)
> |27805|3631:3367|reload| (-2) utils.pm, _sshd_status (line: 2745)
> |27805|3631:3367|reload| (-3) vmware.pm, load (line: 859)
> |27805|3631:3367|reload| (-4) new.pm, reload_image (line: 665)
> |27805|3631:3367|reload| (-5) new.pm, process (line: 266)
> |27805|3631:3367|reload| (-6) vcld, make_new_child (line: 594)
>
>
> |27805|3631:3367|reload| ---- WARNING ----
> |27805|3631:3367|reload| 2010-07-09
> 12:34:22|27805|3631:3367|reload|vcld:warning_handler(636)|Use of
> uninitialized value in pattern match (m//) at
> /usr/local/vcl/bin/../lib/VCL/utils.pm line 2745.
> |27805|3631:3367|reload| ( 0) utils.pm, notify (line: 737)
> |27805|3631:3367|reload| (-1) vcld, warning_handler (line: 636)
> |27805|3631:3367|reload| (-2) utils.pm, _sshd_status (line: 2745)
> |27805|3631:3367|reload| (-3) vmware.pm, load (line: 859)
> |27805|3631:3367|reload| (-4) new.pm, reload_image (line: 665)
> |27805|3631:3367|reload| (-5) new.pm, process (line: 266)
> |27805|3631:3367|reload| (-6) vcld, make_new_child (line: 594)
>
> 2010-07-09 12:34:22|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vmguest-5:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 'uname -s' 2>&1
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| Linux
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-5, returning (0, "Linux")
> 2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(861)|vmguest-5
> now has active sshd running, maybe we missed the READY flag setting
> STAGE5 flag
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, vmround2, waiting for ssh to become active
> 2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(994)|READY
> flag set for /virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx,
> proceeding
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vmguest-5:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 'uname -s' 2>&1
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| Linux
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-5, returning (0, "Linux")
> 2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(1003)|vmguest-5
> now has active sshd running, ok to proceed to sync ssh keys
> 2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(1037)|removing
> vmguest-5 ssh public key from /root/.ssh/known_hosts
> 2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(1037)|removing
> vmguest-5 ssh public key from /root/.ssh/known_hosts
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, info, starting post configurations on node
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, dynamicDHCPaddress, collecting dynamic IP address for node
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:getdynamicaddress(1605)|PrivateIP
> address for vmguest-5 collected 31 to
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vmguest-5:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 '/sbin/ifconfig |grep inet' 2>&1
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| inet addr:10.10.10.234 Bcast:10.10.10.255
> Mask:255.255.255.0
> |27805|3631:3367|reload| inet6 addr: fe80::250:56ff:fe2a:3b08/64 Scope:Link
> |27805|3631:3367|reload| inet addr:137.145.153.181
> Bcast:137.145.153.255 Mask:255.255.255.0
> |27805|3631:3367|reload| inet6 addr: fe80::250:56ff:fe2a:3b09/64 Scope:Link
> |27805|3631:3367|reload| inet addr:127.0.0.1 Mask:255.0.0.0
> |27805|3631:3367|reload| inet6 addr: ::1/128 Scope:Host
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-5, returning (0, "inet addr:10.10.10.234
> Bcast:1...")
> 2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:getdynamicaddress(1652)|dynamic
> IP address for vmguest-5 collected: 137.145.153.181
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:update_computer_address(7067)|computer
> 9 IP address 137.145.153.181 updated in database
> 2010-07-09 12:34:24|27805|3631:3367|reload|vmware.pm:load(1072)|succesfully
> updated IPaddress of node vmguest-5
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, vmwareready, preformed post config on node
> 2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(666)|vmwarelinux-CentOSNoApps89-v0
> was successfully reloaded on vmguest-5
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, loadimagecomplete, vmwarelinux-CentOSNoApps89-v0 was
> successfully reloaded on vmguest-5
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:update_currentimage(6897)|updating
> computer 9: image=89, imagerevision=138
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:update_currentimage(6927)|updated
> currentimageid and imagerevision id for computer id 9
> 2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(677)|updated
> computer table for vmguest-5: currentimageid=89
> 2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(687)|VCL::Module::OS::Linux->post_load()
> subroutine exists
> 2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(690)|calling
> VCL::Module::OS::Linux->post_load() subroutine
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, info, calling VCL::Module::OS::Linux->post_load()
> subroutine
> 2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:post_load(178)|initiating
> Linux post_load: vmwarelinux-CentOSNoApps89-v0 on vmguest-5
> 2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:changepasswd(756)|password
> for vmguest-5 is TA6fxNtNNhG3imH
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vmguest-5:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 'cat /etc/shadow |grep -v root >>
> /tmp/shadow.vmguest-5' 2>&1
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| none
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6272)|SSH
> command executed on vmguest-5, command:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 'cat /etc/shadow |grep -v root >>
> /tmp/shadow.vmguest-5' 2>&1
> |27805|3631:3367|reload| returning (1, "none")
> 2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:changepasswd(771)|collected
> /etc/shadow file from vmguest-5
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_scp_command(6403)|attempt
> 1/3: executing SCP command: /usr/bin/scp -B -i /etc/vcl/vcl.key -P 22
> -p -r /tmp/shadow.vmguest-5 vmguest-5:/etc/shadow 2>&1
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_scp_command(6453)|scp
> successful: attempt 1/3, exit status: 0, output:
> |27805|3631:3367|reload| Warning: the RSA host key for 'vmguest-5'
> differs from the key for the IP address '10.10.10.234'
> |27805|3631:3367|reload| Offending key for IP in /root/.ssh/known_hosts:346
> |27805|3631:3367|reload| Matching host key in /root/.ssh/known_hosts:1247
> 2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:changepasswd(773)|copied
> updated /etc/shadow file to vmguest-5
> 2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vmguest-5:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 'chmod 600 /etc/shadow' 2>&1
> 2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| none
> 2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-5, returning (0, "none")
> 2010-07-09 12:34:25|27805|3631:3367|reload|Linux.pm:changepasswd(775)|updated
> permissions to 600 on /etc/shadow file on vmguest-5
> 2010-07-09 12:34:25|27805|3631:3367|reload|Linux.pm:post_load(181)|successfully
> changed root password on vmguest-5
> 2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vmguest-5:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 '/etc/init.d/ext_sshd stop' 2>&1
> 2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| Stopping ext_sshd: [FAILED]
> 2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6272)|SSH
> command executed on vmguest-5, command:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 '/etc/init.d/ext_sshd stop' 2>&1
> |27805|3631:3367|reload| returning (1, "Stopping ext_sshd: [FAILED]")
> 2010-07-09 12:34:25|27805|3631:3367|reload|Linux.pm:post_load(192)|ext
> sshd stopped on vmguest-5
> 2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
> SSH command on vmguest-5:
> |27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
> 22 -x vmguest-5 'sed -ie "/^AllowUsers .*/d"
> /etc/ssh/external_sshd_config' 2>&1
> 2010-07-09 12:34:26|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-09 12:34:26
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |27805|3631:3367|reload| none
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-5, returning (0, "none")
> 2010-07-09 12:34:28|27805|3631:3367|reload|Linux.pm:post_load(200)|cleared
> AllowUsers directive from external_sshd_config
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:reload_image(693)|successfully
> performed OS post-load tasks for vmwarelinux-CentOSNoApps89-v0 on
> vmguest-5
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, info, performed OS post-load tasks for
> vmwarelinux-CentOSNoApps89-v0 on vmguest-5
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:reload_image(714)|node
> ready: successfully reloaded vmguest-5 with
> vmwarelinux-CentOSNoApps89-v0
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, nodeready, vmguest-5 was reloaded with
> vmwarelinux-CentOSNoApps89-v0
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:reload_image(717)|returning 1
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(266)|vmguest-5
> is loaded with vmwarelinux-CentOSNoApps89-v0
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:update_computer_state(2228)|computer
> 9 state updated to: available
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(417)|vmguest-5
> state set to 'available'
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:update_request_state(2186)|request
> 3631 state updated to: complete, laststate to: reload
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(426)|request
> state set to 'complete'/'reload'
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
> computer=9, info, vmguest-5 successfully set to available with
> vmwarelinux-CentOSNoApps89-v0
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(439)|inserted
> computerloadlog entry: vmguest-5 successfully set to available with
> vmwarelinux-CentOSNoApps89-v0
> 2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(446)|exiting
> 2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(905)|destructor
> called, ref($self)=VCL::new
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:delete_computerloadlog_reservation(7551)|removing
> computerloadlog entries matching loadstate = begin
> 2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:delete_computerloadlog_reservation(7598)|deleted
> rows from computerloadlog for reservation id=3367
> 2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(912)|removed
> computerloadlog rows with loadstate=begin for reservation
> 2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(924)|number
> of database handles state process created: 1
> 2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(933)|process
> has a database handle stored in $ENV{dbh}, attempting disconnect
> 2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(935)|$ENV{dbh}:
> database disconnect successful
> 2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(949)|VCL::new
> process 27805 exiting
> 2010-07-09 12:34:28|5125|vcld:REAPER(744)|VCL process exited for
> reservation 3367
> 2010-07-09 12:34:28|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-09 12:34:28
> 2010-07-09 12:34:28|5125|3631:3367|complete|vcld:main(250)|request deleted
>
>
> BTW
>
> I just renamed the original file  to vmwarelinux-Centos5.582-v0
> changed the vmx files and everything php ect. So now both my Cent OS
> images still work but both still can't create correctly.
>
> Thanks
>
>
>
>
> On Fri, Jul 9, 2010 at 5:44 AM, Aaron Peeler <aa...@ncsu.edu> wrote:
>> Hi Alex,
>>
>> I think it might have to do with the original image name.
>>
>> Looking the vmware.pm module it seems there is too tight of a restriction on
>> the inserted name.
>>
>> There is a variable called $oldname which gets set to the regex of if finds
>> in the repository
>>
>> if (open(LISTFILES, "ls -1 $VMWAREREPOSITORY/$image_name 2>&1 |")) {
>>                                        my @list = <LISTFILES>;
>>                                        close(LISTFILES);
>>                                        my $numfiles = @list;
>>                                        #figure out old name
>>                                        foreach my $a (@list) {
>>                                                chomp($a);
>>                                                if ($a =~
>> /([0-9a-z_]*)-([_0-9a-zA-Z]*)-(v[0-9]*)\.vmdk/) {
>>                                                        #print "old name
>> $1-$2-$3\n";
>>                                                        $oldname =
>> "$1-$2-$3";
>>                                                        notify($ERRORS{'OK'},
>> 0, "found previous name= $oldname");
>>                                                }
>>                                        }
>>
>>
>> Since the original name is  something like vmwareCentos5.582-v0-s001.vmdk
>>
>> $oldname never gets set.
>>
>> But it looks like it did copy the vmdk files over to
>>  /install/vmware_images/vmwarelinux-CentOS88-v0/
>>
>> Can you confirm the files are in the repostitory?
>>
>> If so you can manually rename the files listed in
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0.vmdk
>> to correctly match.
>>
>> We've got a new set vmware provisioning modules coming out in the next
>> release. But I'll put in jira bug report for this module anyway.
>>
>> Aaron
>>
>>
>>
>>
>>
>> On 7/8/10 6:08 PM, Alexander Patterson wrote:
>>>
>>> Hello All,
>>>
>>> I'm having an issue with my Centos 5.5. I have built it just as
>>> instructed in the boot camp.
>>>
>>> I'm having an issue with the Image Creation. I can load up the image
>>> and use it just fine. I'm having a problem creating an image off of
>>> it.
>>> I did turn of sysprep when I was asked, but anyways here is the error log.
>>>
>>> This was build on the Vmware server and has the correct naming convention.
>>>
>>> Creating New Image
>>> Add Image
>>> Add the following image?
>>>
>>> Name:   CentOS
>>> Owner:  admin@Local
>>>
>>> Image Description:
>>> CENTOS
>>>
>>> Usage Notes:
>>> CENTOS
>>>
>>> Revision Comments:
>>> CENTOS
>>>
>>> Advanced Options:
>>> Minimum RAM (MB):       1024
>>> Minimum Num of Processors:      1
>>> Minimum Processor Speed (MHz):  2000
>>> Minimum Network Speed (Mbps):   100
>>> Maximum Concurrent Usage:
>>> Available for checkout:         Yes
>>> Check for logged in user:       Yes
>>> User group allowed to log in:   Any
>>> Use sysprep:    No
>>>
>>> I get the Server reponded "Connectiong closed"
>>>
>>> Showing that the imaging process has kicked me out and is working.
>>>
>>> 2010-07-08 15:05:46|5125|vcld:main(165)|lastcheckin time updated for
>>> management node 1: 2010-07-08 15:05:46
>>> 2010-07-08
>>> 15:05:49|4356|3617:3353|image|utils.pm:run_scp_command(6453)|scp
>>> successful: attempt 1/3, exit status: 0, output: none
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1257)|copied
>>> 11 vmdk files imagesize= 1794
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1265)|begin
>>> rename local disk image files to newname
>>> Use of uninitialized value in concatenation (.) or string at
>>>         /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm
>>> line 1282 (#1)
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s001.vmdk to vmwarelinux-CentOS88-v0-s001.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s001.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s001.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s002.vmdk to vmwarelinux-CentOS88-v0-s002.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s002.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s002.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s003.vmdk to vmwarelinux-CentOS88-v0-s003.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s003.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s003.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s004.vmdk to vmwarelinux-CentOS88-v0-s004.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s004.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s004.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s005.vmdk to vmwarelinux-CentOS88-v0-s005.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s005.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s005.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s006.vmdk to vmwarelinux-CentOS88-v0-s006.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s006.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s006.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s007.vmdk to vmwarelinux-CentOS88-v0-s007.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s007.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s007.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s008.vmdk to vmwarelinux-CentOS88-v0-s008.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s008.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s008.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>>> vmwareCentos5.582-v0-s009.vmdk to vmwarelinux-CentOS88-v0-s009.vmdk
>>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>>> vmwareCentos5.582-v0-s009.vmdk
>>>
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s009.vmdk
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1296.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1296)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>>> uninitialized value in concatenation (.) or string at
>>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1322.
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1322)
>>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:05:51|5125|vcld:main(165)|lastcheckin time updated for
>>> management node 1: 2010-07-08 15:05:51
>>> 2010-07-08 15:05:56|5125|vcld:main(165)|lastcheckin time updated for
>>> management node 1: 2010-07-08 15:05:56
>>> No recipient addresses found in header
>>> 2010-07-08 15:05:59|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>>> -- Sending mail To: , PROBLEM -- vmware.pm
>>>
>>> |4356|3617:3353|image| ---- CRITICAL ----
>>> |4356|3617:3353|image| 2010-07-08
>>> 15:05:50|4356|3617:3353|image|vmware.pm:capture(1322)|could not read
>>> /install/vmware_images/vmwarelinux-CentOS88-v0/.vmdk Inappropriate
>>> ioctl for device
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) vmware.pm, capture (line: 1322)
>>> |4356|3617:3353|image| (-2) image.pm, process (line: 162)
>>> |4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-4) vcld, main (line: 341)
>>>
>>>
>>> |4356|3617:3353|image| ---- WARNING ----
>>> |4356|3617:3353|image| 2010-07-08
>>>
>>> 15:05:59|4356|3617:3353|image|image.pm:process(166)|vmwarelinux-CentOS88-v0
>>> image failed to be captured by provisioning module
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) image.pm, process (line: 166)
>>> |4356|3617:3353|image| (-2) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-3) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:06:01|5125|vcld:main(165)|lastcheckin time updated for
>>> management node 1: 2010-07-08 15:06:01
>>> 2010-07-08 15:06:06|5125|vcld:main(165)|lastcheckin time updated for
>>> management node 1: 2010-07-08 15:06:06
>>> No recipient addresses found in header
>>> 2010-07-08 15:06:06|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>>> -- Sending mail To: , PROBLEM -- image.pm
>>>
>>> |4356|3617:3353|image| ---- CRITICAL ----
>>> |4356|3617:3353|image| 2010-07-08
>>>
>>> 15:05:59|4356|3617:3353|image|image.pm:reservation_failed(390)|vmwarelinux-CentOS88-v0
>>> image creation failed
>>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>>> |4356|3617:3353|image| (-1) image.pm, reservation_failed (line: 390)
>>> |4356|3617:3353|image| (-2) image.pm, process (line: 167)
>>> |4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
>>> |4356|3617:3353|image| (-4) vcld, main (line: 341)
>>>
>>> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>>> -- Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation
>>> CentOS
>>> No recipient addresses found in header
>>> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>>> -- Sending mail To: , VCL -- NOTICE FAILED Image Creation CentOS
>>> 2010-07-08
>>> 15:06:08|4356|3617:3353|image|utils.pm:update_request_state(2186)|request
>>> 3617 state updated to: maintenance, laststate to: image
>>> 2010-07-08
>>> 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(442)|request
>>> state set to maintenance, laststate to image
>>> 2010-07-08
>>> 15:06:08|4356|3617:3353|image|utils.pm:update_computer_state(2228)|computer
>>> 61 state updated to: maintenance
>>> 2010-07-08
>>> 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(450)|vmguest-57
>>> state set to maintenance
>>> 2010-07-08
>>> 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(457)|exiting
>>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(905)|destructor
>>> called, ref($self)=VCL::image
>>> 2010-07-08
>>> 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7551)|removing
>>> computerloadlog entries matching loadstate = begin
>>> 2010-07-08
>>> 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7598)|deleted
>>> rows from computerloadlog for reservation id=3353
>>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(912)|removed
>>> computerloadlog rows with loadstate=begin for reservation
>>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(924)|number
>>> of database handles state process created: 1
>>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(933)|process
>>> has a database handle stored in $ENV{dbh}, attempting disconnect
>>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(935)|$ENV{dbh}:
>>> database disconnect successful
>>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(949)|VCL::image
>>> process 4356 exiting
>>>
>>>
>>>
>>>
>>
>>
>> --
>>
>> Aaron Peeler
>> Program Manager
>> Virtual Computing Lab
>> NC State University
>> aaron_peeler@ncsu.edu
>> 919-513-4571
>>
>>
>
>
>
> --
> Thanks,
> Alex  Patterson
> User Support Services
> Operating System Analyst
> California State University, East Bay
>



-- 
Thanks,
Alex  Patterson
User Support Services
Operating System Analyst
California State University, East Bay

Re: CentOS 5.5 Image creation fail

Posted by Alexander Patterson <al...@csueastbay.edu>.
Hello

The files were copied and the image is there but it shows up as a
deleted image in my image repository.

I can see the files on our NFS share so it was created.

I went ahead and manually renamed each one i updated the php side with
the correct name and loaded up the one that was created as deleted.
The image was created and changed to a deleted Image. I went ahead and
un deleted the image.

I went ahead and loaded up the image that I had renamed created with
the system. Here are the results

I was able to get it back into the system. I then went to create a new
No Apps CentOS 5.5 image off of it.

Here is the error log

|27805|3631:3367|reload| getstate() = on
2010-07-09 12:34:10|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
command executed on vclesx04, returning (0, "getstate() = on")
2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(852)|rechecking
state of vm vmguest-5
/virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx
2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(857)|vm
vmguest-5 reports on
2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(868)|sshd is
NOT active on vmguest-5 yet
2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(897)|DEBUG
output for vmguest-5 Jul 9 12:34:02 vclnfs01 dhcpd: DHCPREQUEST for
10.10.10.234 from 00:50:56:2a:3b:08 via eth0
2010-07-09 12:34:10|27805|3631:3367|reload|vmware.pm:load(897)|DEBUG
output for vmguest-5 Jul 9 12:34:02 vclnfs01 dhcpd: DHCPACK on
10.10.10.234 to 00:50:56:2a:3b:08 via eth0
2010-07-09 12:34:11|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-09 12:34:11
2010-07-09 12:34:16|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-09 12:34:16
2010-07-09 12:34:20|27805|3631:3367|reload|vmware.pm:load(848)|vmguest-5
ROUND 1 checks loop 9 of 40
2010-07-09 12:34:20|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vclesx04:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vclesx04 'vmware-cmd
/virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx
getstate' 2>&1
2010-07-09 12:34:21|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| getstate() = on
2010-07-09 12:34:21|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
command executed on vclesx04, returning (0, "getstate() = on")
2010-07-09 12:34:21|27805|3631:3367|reload|vmware.pm:load(852)|rechecking
state of vm vmguest-5
/virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx
2010-07-09 12:34:21|27805|3631:3367|reload|vmware.pm:load(857)|vm
vmguest-5 reports on
2010-07-09 12:34:21|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-09 12:34:21
Use of uninitialized value in pattern match (m//) at
        /usr/local/vcl/bin/../lib/VCL/utils.pm line 2745 (#1)

|27805|3631:3367|reload| ---- WARNING ----
|27805|3631:3367|reload| 2010-07-09
12:34:22|27805|3631:3367|reload|vcld:warning_handler(636)|Use of
uninitialized value in pattern match (m//) at
/usr/local/vcl/bin/../lib/VCL/utils.pm line 2745.
|27805|3631:3367|reload| ( 0) utils.pm, notify (line: 737)
|27805|3631:3367|reload| (-1) vcld, warning_handler (line: 636)
|27805|3631:3367|reload| (-2) utils.pm, _sshd_status (line: 2745)
|27805|3631:3367|reload| (-3) vmware.pm, load (line: 859)
|27805|3631:3367|reload| (-4) new.pm, reload_image (line: 665)
|27805|3631:3367|reload| (-5) new.pm, process (line: 266)
|27805|3631:3367|reload| (-6) vcld, make_new_child (line: 594)


|27805|3631:3367|reload| ---- WARNING ----
|27805|3631:3367|reload| 2010-07-09
12:34:22|27805|3631:3367|reload|vcld:warning_handler(636)|Use of
uninitialized value in pattern match (m//) at
/usr/local/vcl/bin/../lib/VCL/utils.pm line 2745.
|27805|3631:3367|reload| ( 0) utils.pm, notify (line: 737)
|27805|3631:3367|reload| (-1) vcld, warning_handler (line: 636)
|27805|3631:3367|reload| (-2) utils.pm, _sshd_status (line: 2745)
|27805|3631:3367|reload| (-3) vmware.pm, load (line: 859)
|27805|3631:3367|reload| (-4) new.pm, reload_image (line: 665)
|27805|3631:3367|reload| (-5) new.pm, process (line: 266)
|27805|3631:3367|reload| (-6) vcld, make_new_child (line: 594)

2010-07-09 12:34:22|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-5:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 'uname -s' 2>&1
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| Linux
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-5, returning (0, "Linux")
2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(861)|vmguest-5
now has active sshd running, maybe we missed the READY flag setting
STAGE5 flag
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, vmround2, waiting for ssh to become active
2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(994)|READY
flag set for /virtualmachines/vmwarelinux-CentOSNoApps89-v0vmguest-5/vmwarelinux-CentOSNoApps89-v0vmguest-5.vmx,
proceeding
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-5:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 'uname -s' 2>&1
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| Linux
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-5, returning (0, "Linux")
2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(1003)|vmguest-5
now has active sshd running, ok to proceed to sync ssh keys
2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(1037)|removing
vmguest-5 ssh public key from /root/.ssh/known_hosts
2010-07-09 12:34:23|27805|3631:3367|reload|vmware.pm:load(1037)|removing
vmguest-5 ssh public key from /root/.ssh/known_hosts
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, info, starting post configurations on node
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, dynamicDHCPaddress, collecting dynamic IP address for node
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:getdynamicaddress(1605)|PrivateIP
address for vmguest-5 collected 31 to
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-5:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 '/sbin/ifconfig |grep inet' 2>&1
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| inet addr:10.10.10.234 Bcast:10.10.10.255
Mask:255.255.255.0
|27805|3631:3367|reload| inet6 addr: fe80::250:56ff:fe2a:3b08/64 Scope:Link
|27805|3631:3367|reload| inet addr:137.145.153.181
Bcast:137.145.153.255 Mask:255.255.255.0
|27805|3631:3367|reload| inet6 addr: fe80::250:56ff:fe2a:3b09/64 Scope:Link
|27805|3631:3367|reload| inet addr:127.0.0.1 Mask:255.0.0.0
|27805|3631:3367|reload| inet6 addr: ::1/128 Scope:Host
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-5, returning (0, "inet addr:10.10.10.234
Bcast:1...")
2010-07-09 12:34:23|27805|3631:3367|reload|utils.pm:getdynamicaddress(1652)|dynamic
IP address for vmguest-5 collected: 137.145.153.181
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:update_computer_address(7067)|computer
9 IP address 137.145.153.181 updated in database
2010-07-09 12:34:24|27805|3631:3367|reload|vmware.pm:load(1072)|succesfully
updated IPaddress of node vmguest-5
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, vmwareready, preformed post config on node
2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(666)|vmwarelinux-CentOSNoApps89-v0
was successfully reloaded on vmguest-5
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, loadimagecomplete, vmwarelinux-CentOSNoApps89-v0 was
successfully reloaded on vmguest-5
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:update_currentimage(6897)|updating
computer 9: image=89, imagerevision=138
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:update_currentimage(6927)|updated
currentimageid and imagerevision id for computer id 9
2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(677)|updated
computer table for vmguest-5: currentimageid=89
2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(687)|VCL::Module::OS::Linux->post_load()
subroutine exists
2010-07-09 12:34:24|27805|3631:3367|reload|new.pm:reload_image(690)|calling
VCL::Module::OS::Linux->post_load() subroutine
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, info, calling VCL::Module::OS::Linux->post_load()
subroutine
2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:post_load(178)|initiating
Linux post_load: vmwarelinux-CentOSNoApps89-v0 on vmguest-5
2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:changepasswd(756)|password
for vmguest-5 is TA6fxNtNNhG3imH
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-5:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 'cat /etc/shadow |grep -v root >>
/tmp/shadow.vmguest-5' 2>&1
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| none
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6272)|SSH
command executed on vmguest-5, command:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 'cat /etc/shadow |grep -v root >>
/tmp/shadow.vmguest-5' 2>&1
|27805|3631:3367|reload| returning (1, "none")
2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:changepasswd(771)|collected
/etc/shadow file from vmguest-5
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_scp_command(6403)|attempt
1/3: executing SCP command: /usr/bin/scp -B -i /etc/vcl/vcl.key -P 22
-p -r /tmp/shadow.vmguest-5 vmguest-5:/etc/shadow 2>&1
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_scp_command(6453)|scp
successful: attempt 1/3, exit status: 0, output:
|27805|3631:3367|reload| Warning: the RSA host key for 'vmguest-5'
differs from the key for the IP address '10.10.10.234'
|27805|3631:3367|reload| Offending key for IP in /root/.ssh/known_hosts:346
|27805|3631:3367|reload| Matching host key in /root/.ssh/known_hosts:1247
2010-07-09 12:34:24|27805|3631:3367|reload|Linux.pm:changepasswd(773)|copied
updated /etc/shadow file to vmguest-5
2010-07-09 12:34:24|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-5:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 'chmod 600 /etc/shadow' 2>&1
2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| none
2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-5, returning (0, "none")
2010-07-09 12:34:25|27805|3631:3367|reload|Linux.pm:changepasswd(775)|updated
permissions to 600 on /etc/shadow file on vmguest-5
2010-07-09 12:34:25|27805|3631:3367|reload|Linux.pm:post_load(181)|successfully
changed root password on vmguest-5
2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-5:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 '/etc/init.d/ext_sshd stop' 2>&1
2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| Stopping ext_sshd: [FAILED]
2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6272)|SSH
command executed on vmguest-5, command:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 '/etc/init.d/ext_sshd stop' 2>&1
|27805|3631:3367|reload| returning (1, "Stopping ext_sshd: [FAILED]")
2010-07-09 12:34:25|27805|3631:3367|reload|Linux.pm:post_load(192)|ext
sshd stopped on vmguest-5
2010-07-09 12:34:25|27805|3631:3367|reload|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-5:
|27805|3631:3367|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p
22 -x vmguest-5 'sed -ie "/^AllowUsers .*/d"
/etc/ssh/external_sshd_config' 2>&1
2010-07-09 12:34:26|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-09 12:34:26
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|27805|3631:3367|reload| none
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-5, returning (0, "none")
2010-07-09 12:34:28|27805|3631:3367|reload|Linux.pm:post_load(200)|cleared
AllowUsers directive from external_sshd_config
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:reload_image(693)|successfully
performed OS post-load tasks for vmwarelinux-CentOSNoApps89-v0 on
vmguest-5
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, info, performed OS post-load tasks for
vmwarelinux-CentOSNoApps89-v0 on vmguest-5
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:reload_image(714)|node
ready: successfully reloaded vmguest-5 with
vmwarelinux-CentOSNoApps89-v0
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, nodeready, vmguest-5 was reloaded with
vmwarelinux-CentOSNoApps89-v0
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:reload_image(717)|returning 1
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(266)|vmguest-5
is loaded with vmwarelinux-CentOSNoApps89-v0
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:update_computer_state(2228)|computer
9 state updated to: available
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(417)|vmguest-5
state set to 'available'
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:update_request_state(2186)|request
3631 state updated to: complete, laststate to: reload
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(426)|request
state set to 'complete'/'reload'
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:insertloadlog(4710)|inserted
computer=9, info, vmguest-5 successfully set to available with
vmwarelinux-CentOSNoApps89-v0
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(439)|inserted
computerloadlog entry: vmguest-5 successfully set to available with
vmwarelinux-CentOSNoApps89-v0
2010-07-09 12:34:28|27805|3631:3367|reload|new.pm:process(446)|exiting
2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(905)|destructor
called, ref($self)=VCL::new
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:delete_computerloadlog_reservation(7551)|removing
computerloadlog entries matching loadstate = begin
2010-07-09 12:34:28|27805|3631:3367|reload|utils.pm:delete_computerloadlog_reservation(7598)|deleted
rows from computerloadlog for reservation id=3367
2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(912)|removed
computerloadlog rows with loadstate=begin for reservation
2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(924)|number
of database handles state process created: 1
2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(933)|process
has a database handle stored in $ENV{dbh}, attempting disconnect
2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(935)|$ENV{dbh}:
database disconnect successful
2010-07-09 12:34:28|27805|3631:3367|reload|State.pm:DESTROY(949)|VCL::new
process 27805 exiting
2010-07-09 12:34:28|5125|vcld:REAPER(744)|VCL process exited for
reservation 3367
2010-07-09 12:34:28|5125|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-07-09 12:34:28
2010-07-09 12:34:28|5125|3631:3367|complete|vcld:main(250)|request deleted


BTW

I just renamed the original file  to vmwarelinux-Centos5.582-v0
changed the vmx files and everything php ect. So now both my Cent OS
images still work but both still can't create correctly.

Thanks




On Fri, Jul 9, 2010 at 5:44 AM, Aaron Peeler <aa...@ncsu.edu> wrote:
> Hi Alex,
>
> I think it might have to do with the original image name.
>
> Looking the vmware.pm module it seems there is too tight of a restriction on
> the inserted name.
>
> There is a variable called $oldname which gets set to the regex of if finds
> in the repository
>
> if (open(LISTFILES, "ls -1 $VMWAREREPOSITORY/$image_name 2>&1 |")) {
>                                        my @list = <LISTFILES>;
>                                        close(LISTFILES);
>                                        my $numfiles = @list;
>                                        #figure out old name
>                                        foreach my $a (@list) {
>                                                chomp($a);
>                                                if ($a =~
> /([0-9a-z_]*)-([_0-9a-zA-Z]*)-(v[0-9]*)\.vmdk/) {
>                                                        #print "old name
> $1-$2-$3\n";
>                                                        $oldname =
> "$1-$2-$3";
>                                                        notify($ERRORS{'OK'},
> 0, "found previous name= $oldname");
>                                                }
>                                        }
>
>
> Since the original name is  something like vmwareCentos5.582-v0-s001.vmdk
>
> $oldname never gets set.
>
> But it looks like it did copy the vmdk files over to
>  /install/vmware_images/vmwarelinux-CentOS88-v0/
>
> Can you confirm the files are in the repostitory?
>
> If so you can manually rename the files listed in
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0.vmdk
> to correctly match.
>
> We've got a new set vmware provisioning modules coming out in the next
> release. But I'll put in jira bug report for this module anyway.
>
> Aaron
>
>
>
>
>
> On 7/8/10 6:08 PM, Alexander Patterson wrote:
>>
>> Hello All,
>>
>> I'm having an issue with my Centos 5.5. I have built it just as
>> instructed in the boot camp.
>>
>> I'm having an issue with the Image Creation. I can load up the image
>> and use it just fine. I'm having a problem creating an image off of
>> it.
>> I did turn of sysprep when I was asked, but anyways here is the error log.
>>
>> This was build on the Vmware server and has the correct naming convention.
>>
>> Creating New Image
>> Add Image
>> Add the following image?
>>
>> Name:   CentOS
>> Owner:  admin@Local
>>
>> Image Description:
>> CENTOS
>>
>> Usage Notes:
>> CENTOS
>>
>> Revision Comments:
>> CENTOS
>>
>> Advanced Options:
>> Minimum RAM (MB):       1024
>> Minimum Num of Processors:      1
>> Minimum Processor Speed (MHz):  2000
>> Minimum Network Speed (Mbps):   100
>> Maximum Concurrent Usage:
>> Available for checkout:         Yes
>> Check for logged in user:       Yes
>> User group allowed to log in:   Any
>> Use sysprep:    No
>>
>> I get the Server reponded "Connectiong closed"
>>
>> Showing that the imaging process has kicked me out and is working.
>>
>> 2010-07-08 15:05:46|5125|vcld:main(165)|lastcheckin time updated for
>> management node 1: 2010-07-08 15:05:46
>> 2010-07-08
>> 15:05:49|4356|3617:3353|image|utils.pm:run_scp_command(6453)|scp
>> successful: attempt 1/3, exit status: 0, output: none
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1257)|copied
>> 11 vmdk files imagesize= 1794
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1265)|begin
>> rename local disk image files to newname
>> Use of uninitialized value in concatenation (.) or string at
>>         /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm
>> line 1282 (#1)
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s001.vmdk to vmwarelinux-CentOS88-v0-s001.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s001.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s001.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s002.vmdk to vmwarelinux-CentOS88-v0-s002.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s002.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s002.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s003.vmdk to vmwarelinux-CentOS88-v0-s003.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s003.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s003.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s004.vmdk to vmwarelinux-CentOS88-v0-s004.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s004.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s004.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s005.vmdk to vmwarelinux-CentOS88-v0-s005.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s005.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s005.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s006.vmdk to vmwarelinux-CentOS88-v0-s006.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s006.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s006.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s007.vmdk to vmwarelinux-CentOS88-v0-s007.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s007.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s007.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s008.vmdk to vmwarelinux-CentOS88-v0-s008.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s008.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s008.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
>> vmwareCentos5.582-v0-s009.vmdk to vmwarelinux-CentOS88-v0-s009.vmdk
>> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
>> vmwareCentos5.582-v0-s009.vmdk
>>
>> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s009.vmdk
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1296.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1296)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
>> uninitialized value in concatenation (.) or string at
>> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1322.
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
>> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1322)
>> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>>
>> 2010-07-08 15:05:51|5125|vcld:main(165)|lastcheckin time updated for
>> management node 1: 2010-07-08 15:05:51
>> 2010-07-08 15:05:56|5125|vcld:main(165)|lastcheckin time updated for
>> management node 1: 2010-07-08 15:05:56
>> No recipient addresses found in header
>> 2010-07-08 15:05:59|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>> -- Sending mail To: , PROBLEM -- vmware.pm
>>
>> |4356|3617:3353|image| ---- CRITICAL ----
>> |4356|3617:3353|image| 2010-07-08
>> 15:05:50|4356|3617:3353|image|vmware.pm:capture(1322)|could not read
>> /install/vmware_images/vmwarelinux-CentOS88-v0/.vmdk Inappropriate
>> ioctl for device
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) vmware.pm, capture (line: 1322)
>> |4356|3617:3353|image| (-2) image.pm, process (line: 162)
>> |4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-4) vcld, main (line: 341)
>>
>>
>> |4356|3617:3353|image| ---- WARNING ----
>> |4356|3617:3353|image| 2010-07-08
>>
>> 15:05:59|4356|3617:3353|image|image.pm:process(166)|vmwarelinux-CentOS88-v0
>> image failed to be captured by provisioning module
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) image.pm, process (line: 166)
>> |4356|3617:3353|image| (-2) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-3) vcld, main (line: 341)
>>
>> 2010-07-08 15:06:01|5125|vcld:main(165)|lastcheckin time updated for
>> management node 1: 2010-07-08 15:06:01
>> 2010-07-08 15:06:06|5125|vcld:main(165)|lastcheckin time updated for
>> management node 1: 2010-07-08 15:06:06
>> No recipient addresses found in header
>> 2010-07-08 15:06:06|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>> -- Sending mail To: , PROBLEM -- image.pm
>>
>> |4356|3617:3353|image| ---- CRITICAL ----
>> |4356|3617:3353|image| 2010-07-08
>>
>> 15:05:59|4356|3617:3353|image|image.pm:reservation_failed(390)|vmwarelinux-CentOS88-v0
>> image creation failed
>> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
>> |4356|3617:3353|image| (-1) image.pm, reservation_failed (line: 390)
>> |4356|3617:3353|image| (-2) image.pm, process (line: 167)
>> |4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
>> |4356|3617:3353|image| (-4) vcld, main (line: 341)
>>
>> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>> -- Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation
>> CentOS
>> No recipient addresses found in header
>> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
>> -- Sending mail To: , VCL -- NOTICE FAILED Image Creation CentOS
>> 2010-07-08
>> 15:06:08|4356|3617:3353|image|utils.pm:update_request_state(2186)|request
>> 3617 state updated to: maintenance, laststate to: image
>> 2010-07-08
>> 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(442)|request
>> state set to maintenance, laststate to image
>> 2010-07-08
>> 15:06:08|4356|3617:3353|image|utils.pm:update_computer_state(2228)|computer
>> 61 state updated to: maintenance
>> 2010-07-08
>> 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(450)|vmguest-57
>> state set to maintenance
>> 2010-07-08
>> 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(457)|exiting
>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(905)|destructor
>> called, ref($self)=VCL::image
>> 2010-07-08
>> 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7551)|removing
>> computerloadlog entries matching loadstate = begin
>> 2010-07-08
>> 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7598)|deleted
>> rows from computerloadlog for reservation id=3353
>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(912)|removed
>> computerloadlog rows with loadstate=begin for reservation
>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(924)|number
>> of database handles state process created: 1
>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(933)|process
>> has a database handle stored in $ENV{dbh}, attempting disconnect
>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(935)|$ENV{dbh}:
>> database disconnect successful
>> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(949)|VCL::image
>> process 4356 exiting
>>
>>
>>
>>
>
>
> --
>
> Aaron Peeler
> Program Manager
> Virtual Computing Lab
> NC State University
> aaron_peeler@ncsu.edu
> 919-513-4571
>
>



-- 
Thanks,
Alex  Patterson
User Support Services
Operating System Analyst
California State University, East Bay

Re: CentOS 5.5 Image creation fail

Posted by Aaron Peeler <aa...@ncsu.edu>.
Hi Alex,

I think it might have to do with the original image name.

Looking the vmware.pm module it seems there is too tight of a 
restriction on the inserted name.

There is a variable called $oldname which gets set to the regex of if 
finds in the repository

if (open(LISTFILES, "ls -1 $VMWAREREPOSITORY/$image_name 2>&1 |")) {
                                         my @list = <LISTFILES>;
                                         close(LISTFILES);
                                         my $numfiles = @list;
                                         #figure out old name
                                         foreach my $a (@list) {
                                                 chomp($a);
                                                 if ($a =~ 
/([0-9a-z_]*)-([_0-9a-zA-Z]*)-(v[0-9]*)\.vmdk/) {
                                                         #print "old 
name $1-$2-$3\n";
                                                         $oldname = 
"$1-$2-$3";
                                                         
notify($ERRORS{'OK'}, 0, "found previous name= $oldname");
                                                 }
                                         }


Since the original name is  something like vmwareCentos5.582-v0-s001.vmdk

$oldname never gets set.

But it looks like it did copy the vmdk files over to  
/install/vmware_images/vmwarelinux-CentOS88-v0/

Can you confirm the files are in the repostitory?

If so you can manually rename the files listed in 
/install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0.vmdk 
to correctly match.

We've got a new set vmware provisioning modules coming out in the next 
release. But I'll put in jira bug report for this module anyway.

Aaron





On 7/8/10 6:08 PM, Alexander Patterson wrote:
> Hello All,
>
> I'm having an issue with my Centos 5.5. I have built it just as
> instructed in the boot camp.
>
> I'm having an issue with the Image Creation. I can load up the image
> and use it just fine. I'm having a problem creating an image off of
> it.
> I did turn of sysprep when I was asked, but anyways here is the error log.
>
> This was build on the Vmware server and has the correct naming convention.
>
> Creating New Image
> Add Image
> Add the following image?
>
> Name: 	CentOS
> Owner: 	admin@Local
>
> Image Description:
> CENTOS
>
> Usage Notes:
> CENTOS
>
> Revision Comments:
> CENTOS
>
> Advanced Options:
> Minimum RAM (MB): 	1024
> Minimum Num of Processors: 	1
> Minimum Processor Speed (MHz): 	2000
> Minimum Network Speed (Mbps): 	100
> Maximum Concurrent Usage: 	
> Available for checkout: 	Yes
> Check for logged in user: 	Yes
> User group allowed to log in: 	Any
> Use sysprep: 	No
>
> I get the Server reponded "Connectiong closed"
>
> Showing that the imaging process has kicked me out and is working.
>
> 2010-07-08 15:05:46|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-08 15:05:46
> 2010-07-08 15:05:49|4356|3617:3353|image|utils.pm:run_scp_command(6453)|scp
> successful: attempt 1/3, exit status: 0, output: none
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1257)|copied
> 11 vmdk files imagesize= 1794
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1265)|begin
> rename local disk image files to newname
> Use of uninitialized value in concatenation (.) or string at
>          /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm
> line 1282 (#1)
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s001.vmdk to vmwarelinux-CentOS88-v0-s001.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s001.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s001.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s002.vmdk to vmwarelinux-CentOS88-v0-s002.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s002.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s002.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s003.vmdk to vmwarelinux-CentOS88-v0-s003.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s003.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s003.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s004.vmdk to vmwarelinux-CentOS88-v0-s004.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s004.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s004.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s005.vmdk to vmwarelinux-CentOS88-v0-s005.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s005.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s005.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s006.vmdk to vmwarelinux-CentOS88-v0-s006.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s006.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s006.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s007.vmdk to vmwarelinux-CentOS88-v0-s007.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s007.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s007.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s008.vmdk to vmwarelinux-CentOS88-v0-s008.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s008.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s008.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1283)|moving
> vmwareCentos5.582-v0-s009.vmdk to vmwarelinux-CentOS88-v0-s009.vmdk
> 2010-07-08 15:05:50|4356|3617:3353|image|vmware.pm:capture(1292)|moved
> vmwareCentos5.582-v0-s009.vmdk
> /install/vmware_images/vmwarelinux-CentOS88-v0/vmwarelinux-CentOS88-v0-s009.vmdk
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1282.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1282)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1296.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1296)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vcld:warning_handler(636)|Use of
> uninitialized value in concatenation (.) or string at
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 1322.
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vcld, warning_handler (line: 636)
> |4356|3617:3353|image| (-2) vmware.pm, capture (line: 1322)
> |4356|3617:3353|image| (-3) image.pm, process (line: 162)
> |4356|3617:3353|image| (-4) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-5) vcld, main (line: 341)
>
> 2010-07-08 15:05:51|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-08 15:05:51
> 2010-07-08 15:05:56|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-08 15:05:56
> No recipient addresses found in header
> 2010-07-08 15:05:59|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
> -- Sending mail To: , PROBLEM -- vmware.pm
>
> |4356|3617:3353|image| ---- CRITICAL ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:50|4356|3617:3353|image|vmware.pm:capture(1322)|could not read
> /install/vmware_images/vmwarelinux-CentOS88-v0/.vmdk Inappropriate
> ioctl for device
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) vmware.pm, capture (line: 1322)
> |4356|3617:3353|image| (-2) image.pm, process (line: 162)
> |4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-4) vcld, main (line: 341)
>
>
> |4356|3617:3353|image| ---- WARNING ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:59|4356|3617:3353|image|image.pm:process(166)|vmwarelinux-CentOS88-v0
> image failed to be captured by provisioning module
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) image.pm, process (line: 166)
> |4356|3617:3353|image| (-2) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-3) vcld, main (line: 341)
>
> 2010-07-08 15:06:01|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-08 15:06:01
> 2010-07-08 15:06:06|5125|vcld:main(165)|lastcheckin time updated for
> management node 1: 2010-07-08 15:06:06
> No recipient addresses found in header
> 2010-07-08 15:06:06|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
> -- Sending mail To: , PROBLEM -- image.pm
>
> |4356|3617:3353|image| ---- CRITICAL ----
> |4356|3617:3353|image| 2010-07-08
> 15:05:59|4356|3617:3353|image|image.pm:reservation_failed(390)|vmwarelinux-CentOS88-v0
> image creation failed
> |4356|3617:3353|image| ( 0) utils.pm, notify (line: 737)
> |4356|3617:3353|image| (-1) image.pm, reservation_failed (line: 390)
> |4356|3617:3353|image| (-2) image.pm, process (line: 167)
> |4356|3617:3353|image| (-3) vcld, make_new_child (line: 594)
> |4356|3617:3353|image| (-4) vcld, main (line: 341)
>
> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
> -- Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation
> CentOS
> No recipient addresses found in header
> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:mail(1348)|SUCCESS
> -- Sending mail To: , VCL -- NOTICE FAILED Image Creation CentOS
> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:update_request_state(2186)|request
> 3617 state updated to: maintenance, laststate to: image
> 2010-07-08 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(442)|request
> state set to maintenance, laststate to image
> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:update_computer_state(2228)|computer
> 61 state updated to: maintenance
> 2010-07-08 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(450)|vmguest-57
> state set to maintenance
> 2010-07-08 15:06:08|4356|3617:3353|image|image.pm:reservation_failed(457)|exiting
> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(905)|destructor
> called, ref($self)=VCL::image
> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7551)|removing
> computerloadlog entries matching loadstate = begin
> 2010-07-08 15:06:08|4356|3617:3353|image|utils.pm:delete_computerloadlog_reservation(7598)|deleted
> rows from computerloadlog for reservation id=3353
> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(912)|removed
> computerloadlog rows with loadstate=begin for reservation
> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(924)|number
> of database handles state process created: 1
> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(933)|process
> has a database handle stored in $ENV{dbh}, attempting disconnect
> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(935)|$ENV{dbh}:
> database disconnect successful
> 2010-07-08 15:06:08|4356|3617:3353|image|State.pm:DESTROY(949)|VCL::image
> process 4356 exiting
>
>
>
>    


-- 

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_peeler@ncsu.edu
919-513-4571