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:  ad...@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: r...@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_pee...@ncsu.edu
919-513-4571

Reply via email to