You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by David DeMizio <dd...@ncf.edu> on 2014/01/06 22:59:43 UTC

image capture revision

Hello,

Any idea what could cause the below message? I had a imaging reservation
and proceeded to end reservation-> capture image-> new revision. It was at
the point where it was cloning the vm and it failed.(clone kept running
in VMware but vcld process ended) Is there a timeout value I need to
increase or could it have been just a network hiccup. Thank You

|29329|573:573|image| error:
|29329|573:573|image| SOAP request error - possibly a protocol issue:
Status read failed: Connection reset by peer at
/usr/local/share/perl5/Net/HTTP/Methods.pm
line 265.
|29329|573:573|image| ( 0) vSphere_SDK.pm, copy_virtual_disk (line: 908)
|29329|573:573|image| (-1) VMware.pm, copy_vmdk (line: 5824)
|29329|573:573|image| (-2) VMware.pm, capture (line: 744)
|29329|573:573|image| (-3) image.pm, process (line: 162)
|29329|573:573|image| (-4) vcld, make_new_child (line: 571)
|29329|573:573|image| (-5) vcld, main (line: 350)
|29329|573:573|image| ---- WARNING ----
|29329|573:573|image| 2014-01-06 16:45:12|29329|573:573|image|VMware
.pm:copy_vmdk(5840)|failed to copy vmdk using API's copy_virtual_disk
subroutine
David DeMizio
*Academic Systems Coordinator*
Office of Information Technology
New College of Florida
Phone: 941-487-4222 | Fax: 941-487-4356
www.ncf.edu

Re: image capture revision

Posted by David DeMizio <dd...@ncf.edu>.
Hello,

So I was able to get it to boot by moving the reference file from the one
folder and moving it to where it copied the vmdk file (different folder) .
I'd still like to know why the image capture is failing and the two folders
are being created with one folder containing the vmdk and the other
containing the reference file. Thank You. Any help is appreciated. Have a
good day.


David DeMizio
*Academic Systems Coordinator*
Office of Information Technology
New College of Florida
Phone: 941-487-4222 | Fax: 941-487-4356
www.ncf.edu


On Tue, Jan 7, 2014 at 4:03 PM, David DeMizio <dd...@ncf.edu> wrote:

> ok..I think that SOAP error might have been an IP conflict, however, I
> can't seem to capture a base image. Yesterday before I started the image
> revision capture I made a clone of the vm in case the capture failed.
> Today I'm trying to use the clone to create a base image and I am not
> having any luck. I think the issue is that in my vcl_master datastore in
> VMware I have the vmdk file with no reference file . The reference file
> is in another folder. I'm seeing the error below in the vcld.log. The end
> result is that Windows keeps trying to boot but I get blue screen of death.
> The images that I have successfully captured contain both the vmdk and
> reference file in same folder. Why is it not finding or copying the
> reference file to the wrong folder. I get image capture was success but
> it's really not because files are not in the right location. Thank You
>
> 2014-01-07 14:41:04|6257|602:602|image|vSphere_SDK.pm:delete_file(1609)|deleted
> file: [vcl_master]
> vmwarewin7-SocialScience26-v0/vmwarewin7-SocialScience26-v0.vmxf
> 2014-01-07 14:41:04|6257|602:602|image|vSphere_SDK.pm:copy_virtual_disk(930)|copied
> virtual disk on VM host Jabba.network.ncf.edu: '[ACE-VMFS-1] SSRL/SSRL.vmdk'
> --> '[vcl_master]
> vmwarewin7-SocialSciencesResearchLab26-v0/vmwarewin7-SocialSciencesResearchLab26-v0.vmdk'
> 2014-01-07 14:41:04|6257|602:602|image|VMware.pm:copy_vmdk(5825)|copied
> vmdk using API's copy_virtual_disk subroutine
> 2014-01-07 14:41:04|6257|602:602|image|utils.pm:update_image_name(6308)|updated
> image.name and imagerevision.imagename in database to
> 'vmwarewin7-SocialScience26-v0' for image ID: 26, imagerevision ID: 27
> 2014-01-07 14:41:04|6257|602:602|image|DataStructure.pm:_automethod(847)|data
> structure updated, hash path: $self->request_data->{reservation}{602}{
> imagerevision}{imagename}, data identifier: image_name, data:
> |6257|602:602|image| : "vmwarewin7-SocialScience26-v0"
> 2014-01-07 14:41:04|6257|602:602|image|VMware.pm:copy_vmdk(5835)|updated
> image name to vmwarewin7-SocialScience26-v0
> 2014-01-07 14:41:04|6257|602:602|image|vSphere_SDK.pm:_get_file_info(2520)|searching
> for matching file paths: base directory path: '[ACE-VMFS-1] SSRL', search
> pattern: 'vmwarewin7-SocialSciencesResearchLab26-v0.vmx.reference'
> 2014-01-07 14:41:06|2804|vcld:main(167)|lastcheckin time updated for
> management node 1: 2014-01-07 14:41:06
> 2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:_get_file_info(2575)|retrieved
> info for 0 matching files:
> |6257|602:602|image| : {}
> 2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:find_files(2120)|matching
> file count: 0
> 2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:file_exists(1992)|file
> does not exist: [ACE-VMFS-1] SSRL
> /vmwarewin7-SocialSciencesResearchLab26-v0.vmx.reference
> 2014-01-07 14:41:06|6257|602:602|image|VMware.pm:copy_vmdk(6089)|reference
> vmx file not copied to vmdk directory because it does not exist: '/vmfs
> /volumes/ACE-VMFS-1/SSRL/vmwarewin7-SocialSciencesResearchLab26-v0.vmx
> .reference'
> 2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:_get_file_info(2520)|searching
> for matching file paths: base directory path: '[vcl_master]
> vmwarewin7-SocialSciencesResearchLab26-v0', search pattern:
> 'vmwarewin7-SocialSciencesResearchLab26-v0*.vmdk'
>
> David DeMizio
> *Academic Systems Coordinator*
> Office of Information Technology
> New College of Florida
> Phone: 941-487-4222 | Fax: 941-487-4356
> www.ncf.edu
>
>
> On Mon, Jan 6, 2014 at 4:59 PM, David DeMizio <dd...@ncf.edu> wrote:
>
>> Hello,
>>
>> Any idea what could cause the below message? I had a imaging reservation
>> and proceeded to end reservation-> capture image-> new revision. It was at
>> the point where it was cloning the vm and it failed.(clone kept running
>> in VMware but vcld process ended) Is there a timeout value I need to
>> increase or could it have been just a network hiccup. Thank You
>>
>> |29329|573:573|image| error:
>> |29329|573:573|image| SOAP request error - possibly a protocol issue:
>> Status read failed: Connection reset by peer at /usr/local/share/perl5/Net/HTTP/Methods.pm
>> line 265.
>> |29329|573:573|image| ( 0) vSphere_SDK.pm, copy_virtual_disk (line: 908)
>> |29329|573:573|image| (-1) VMware.pm, copy_vmdk (line: 5824)
>> |29329|573:573|image| (-2) VMware.pm, capture (line: 744)
>> |29329|573:573|image| (-3) image.pm, process (line: 162)
>> |29329|573:573|image| (-4) vcld, make_new_child (line: 571)
>> |29329|573:573|image| (-5) vcld, main (line: 350)
>> |29329|573:573|image| ---- WARNING ----
>> |29329|573:573|image| 2014-01-06 16:45:12|29329|573:573|image|VMware
>> .pm:copy_vmdk(5840)|failed to copy vmdk using API's copy_virtual_disk
>> subroutine
>> David DeMizio
>> *Academic Systems Coordinator*
>> Office of Information Technology
>> New College of Florida
>> Phone: 941-487-4222 | Fax: 941-487-4356
>> www.ncf.edu
>>
>
>

Re: image capture revision

Posted by David DeMizio <dd...@ncf.edu>.
ok..I think that SOAP error might have been an IP conflict, however, I
can't seem to capture a base image. Yesterday before I started the image
revision capture I made a clone of the vm in case the capture failed. Today
I'm trying to use the clone to create a base image and I am not having any
luck. I think the issue is that in my vcl_master datastore in VMware I have
the vmdk file with no reference file . The reference file is in another
folder. I'm seeing the error below in the vcld.log. The end result is that
Windows keeps trying to boot but I get blue screen of death. The images
that I have successfully captured contain both the vmdk and reference file
in same folder. Why is it not finding or copying the reference file to the
wrong folder. I get image capture was success but it's really not because
files are not in the right location. Thank You

2014-01-07 14:41:04|6257|602:602|image|vSphere_SDK.pm:delete_file(1609)|deleted
file: [vcl_master]
vmwarewin7-SocialScience26-v0/vmwarewin7-SocialScience26-v0.vmxf
2014-01-07 14:41:04|6257|602:602|image|vSphere_SDK.pm:copy_virtual_disk(930)|copied
virtual disk on VM host Jabba.network.ncf.edu: '[ACE-VMFS-1] SSRL/SSRL.vmdk'
--> '[vcl_master]
vmwarewin7-SocialSciencesResearchLab26-v0/vmwarewin7-SocialSciencesResearchLab26-v0.vmdk'
2014-01-07 14:41:04|6257|602:602|image|VMware.pm:copy_vmdk(5825)|copied
vmdkusing
API's copy_virtual_disk subroutine
2014-01-07 14:41:04|6257|602:602|image|utils.pm:update_image_name(6308)|updated
image.name and imagerevision.imagename in database to
'vmwarewin7-SocialScience26-v0' for image ID: 26, imagerevision ID: 27
2014-01-07 14:41:04|6257|602:602|image|DataStructure.pm:_automethod(847)|data
structure updated, hash path: $self->request_data->{reservation}{602}{
imagerevision}{imagename}, data identifier: image_name, data:
|6257|602:602|image| : "vmwarewin7-SocialScience26-v0"
2014-01-07 14:41:04|6257|602:602|image|VMware.pm:copy_vmdk(5835)|updated
image name to vmwarewin7-SocialScience26-v0
2014-01-07 14:41:04|6257|602:602|image|vSphere_SDK.pm:_get_file_info(2520)|searching
for matching file paths: base directory path: '[ACE-VMFS-1] SSRL', search
pattern: 'vmwarewin7-SocialSciencesResearchLab26-v0.vmx.reference'
2014-01-07 14:41:06|2804|vcld:main(167)|lastcheckin time updated for
management node 1: 2014-01-07 14:41:06
2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:_get_file_info(2575)|retrieved
info for 0 matching files:
|6257|602:602|image| : {}
2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:find_files(2120)|matching
file count: 0
2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:file_exists(1992)|file
does not exist: [ACE-VMFS-1] SSRL/vmwarewin7-SocialSciencesResearchLab26-v0.
vmx.reference
2014-01-07 14:41:06|6257|602:602|image|VMware.pm:copy_vmdk(6089)|reference
vmx file not copied to vmdk directory because it does not exist: '/vmfs
/volumes/ACE-VMFS-1/SSRL/vmwarewin7-SocialSciencesResearchLab26-v0.vmx
.reference'
2014-01-07 14:41:06|6257|602:602|image|vSphere_SDK.pm:_get_file_info(2520)|searching
for matching file paths: base directory path: '[vcl_master]
vmwarewin7-SocialSciencesResearchLab26-v0', search pattern:
'vmwarewin7-SocialSciencesResearchLab26-v0*.vmdk'

David DeMizio
*Academic Systems Coordinator*
Office of Information Technology
New College of Florida
Phone: 941-487-4222 | Fax: 941-487-4356
www.ncf.edu


On Mon, Jan 6, 2014 at 4:59 PM, David DeMizio <dd...@ncf.edu> wrote:

> Hello,
>
> Any idea what could cause the below message? I had a imaging reservation
> and proceeded to end reservation-> capture image-> new revision. It was at
> the point where it was cloning the vm and it failed.(clone kept running
> in VMware but vcld process ended) Is there a timeout value I need to
> increase or could it have been just a network hiccup. Thank You
>
> |29329|573:573|image| error:
> |29329|573:573|image| SOAP request error - possibly a protocol issue:
> Status read failed: Connection reset by peer at /usr/local/share/perl5/Net/HTTP/Methods.pm
> line 265.
> |29329|573:573|image| ( 0) vSphere_SDK.pm, copy_virtual_disk (line: 908)
> |29329|573:573|image| (-1) VMware.pm, copy_vmdk (line: 5824)
> |29329|573:573|image| (-2) VMware.pm, capture (line: 744)
> |29329|573:573|image| (-3) image.pm, process (line: 162)
> |29329|573:573|image| (-4) vcld, make_new_child (line: 571)
> |29329|573:573|image| (-5) vcld, main (line: 350)
> |29329|573:573|image| ---- WARNING ----
> |29329|573:573|image| 2014-01-06 16:45:12|29329|573:573|image|VMware
> .pm:copy_vmdk(5840)|failed to copy vmdk using API's copy_virtual_disk
> subroutine
> David DeMizio
> *Academic Systems Coordinator*
> Office of Information Technology
> New College of Florida
> Phone: 941-487-4222 | Fax: 941-487-4356
> www.ncf.edu
>

Re: image capture revision

Posted by David DeMizio <dd...@ncf.edu>.
Hello,

I can't figure our why I'm getting the SOAP request error. I do see a
warning above that. Any suggestions?

|30409|601:601|image| adapter type: VirtualLsiLogicController
|30409|601:601|image| source disk type: VirtualDiskFlatVer2BackingInfo
|30409|601:601|image| source capacity: 107,374,182,400 bytes -
104,857,600.0 KB - 102,400.0 MB - 100.00 GB
|30409|601:601|image| source space used: 44,744,835,072 bytes -
43,696,128.0 KB - 42,672.0 MB - 41.67 GB
|30409|601:601|image| source VM name: source_vmwarewin7-Social25-v0
|30409|601:601|image| clone VM name: vmwarewin7-SocialScience25-v0
|30409|601:601|image| source VM directory path: [ACE-VMFS-2]
source_vmwarewin7-Social25-v0
|30409|601:601|image| clone VM directory path: [vcl_master]
vmwarewin7-SocialScience25-v0
2014-01-07 13:39:46|30409|601:601|image|vSphere_SDK.pm:(eval)(873)|created
temporary source VM which will be cloned: source_vmwarewin7-Social25-v0
2014-01-07 13:39:46|30409|601:601|image|vSphere_SDK.pm:(eval)(881)|cloning
VM: source_vmwarewin7-Social25-v0 --> vmwarewin7-SocialScience25-v0
|30409|601:601|image| ---- WARNING ----
|30409|601:601|image| 2014-01-07
13:42:37|30409|601:601|image|vSphere_SDK.pm:copy_virtual_disk(908)|failed
to copy vmdk on VM host Jabba.network.ncf.edu: '[ACE-VMFS-2]
SSRL_CLONE/SSRL_CLONE.vmdk' --> '[vcl_master]
vmwarewin7-SocialSciencesResearchLab25-v0/vmwarewin7-SocialSciencesResearchLab25-v0.vmdk'
|30409|601:601|image| error:
|30409|601:601|image| SOAP request error - possibly a protocol issue:
Status read failed: Connection reset by peer at
/usr/local/share/perl5/Net/HTTP/Methods.pm line 265.
|30409|601:601|image| ( 0) vSphere_SDK.pm, copy_virtual_disk (line: 908)
|30409|601:601|image| (-1) VMware.pm, copy_vmdk (line: 5824)
|30409|601:601|image| (-2) VMware.pm, capture (line: 744)
|30409|601:601|image| (-3) image.pm, process (line: 162)
|30409|601:601|image| (-4) vcld, make_new_child (line: 571)
|30409|601:601|image| (-5) vcld, main (line: 350)
|30409|601:601|image| ---- WARNING ----
|30409|601:601|image| 2014-01-07
13:42:37|30409|601:601|image|VMware.pm:copy_vmdk(5840)|failed to copy vmdk
using API's copy_virtual_disk subroutine
|30409|601:601|image| ( 0) VMware.pm, copy_vmdk (line: 5840)
|30409|601:601|image| (-1) VMware.pm, capture (line: 744)
|30409|601:601|image| (-2) image.pm, process (line: 162)
|30409|601:601|image| (-3) vcld, make_new_child (line: 571)
|30409|601:601|image| (-4) vcld, main (line: 350)
|30409|601:601|image| ---- WARNING ----
|30409|601:601|image| 2014-01-07
13:42:37|30409|601:601|image|VMware.pm:capture(745)|failed to copy the vmdk
files after the VM was powered off:
'/vmfs/volumes/ACE-VMFS-2/SSRL_CLONE/SSRL_CLONE.vmdk' -->
'/vmfs/volumes/vcl_master/vmwarewin7-SocialSciencesResearchLab25-v0/vmwarewin7-SocialSciencesResearchLab25-v0.vmdk'
|30409|601:601|image| ( 0) VMware.pm, capture (line: 745)
|30409|601:601|image| (-1) image.pm, process (line: 162)
|30409|601:601|image| (-2) vcld, make_new_child (line: 571)
|30409|601:601|image| (-3) vcld, main (line: 350)
|30409|601:601|image| ---- WARNING ----
|30409|601:601|image| 2014-01-07
13:42:37|30409|601:601|image|image.pm:process(166)|vmwarewin7-SocialSciencesResearchLab25-v0
image failed to be captured by provisioning module
|30409|601:601|image| ( 0) image.pm, process (line: 166)
|30409|601:601|image| (-1) vcld, make_new_child (line: 571)
|30409|601:601|image| (-2) vcld, main (line: 350)
2014-01-07 13:42:37|30409|601:601|image|utils.pm:get_management_node_info(5457)|retrieving
current management node info for 'vcl.network.ncf.edu' from database,
cached data is stale: 226 seconds old
2014-01-07 13:42:37|30409|601:601|image|utils.pm:get_management_node_info(5604)|retrieved
management node info: 'vcl.network.ncf.edu' (vcl)
2014-01-07
13:42:37|30409|601:601|image|DataStructure.pm:get_computer_private_ip_address(1617)|returning
private IP address previously retrieved: 10.10.12.43
2014-01-07 13:42:37|30409|601:601|image|utils.pm:is_inblockrequest(5761)|zero
rows were returned from database select
2014-01-07
13:42:37|30409|601:601|image|DataStructure.pm:get_image_affiliation_name(2121)|image
owner id: 1
2014-01-07
13:42:37|30409|601:601|image|DataStructure.pm:retrieve_user_data(1412)|attempting
to retrieve and store data for user: user.id = '1'
2014-01-07
13:42:37|30409|601:601|image|DataStructure.pm:retrieve_user_data(1475)|data
has been retrieved for user: admin (id: 1)
2014-01-07 13:42:37|30409|601:601|image|utils.pm:mail(1266)|SUCCESS --
Sending mail To: ddemizio@ncf.edu, PROBLEM -- vcl|601:601|image|image.pm
|vcl-n-003>Jabba.network.ncf.edu
|vmwarewin7-SocialSciencesResearchLab25-v0|admin
|30409|601:601|image| ---- CRITICAL ----
|30409|601:601|image| 2014-01-07
13:42:37|30409|601:601|image|image.pm:reservation_failed(387)|vmwarewin7-SocialSciencesResearchLab25-v0
image creation failed
|30409|601:601|image| ( 0) image.pm, reservation_failed (line: 387)
|30409|601:601|image| (-1) image.pm, process (line: 167)
|30409|601:601|image| (-2) vcld, make_new_child (line: 571)
|30409|601:601|image| (-3) vcld, main (line: 350)


David DeMizio
*Academic Systems Coordinator*
Office of Information Technology
New College of Florida
Phone: 941-487-4222 | Fax: 941-487-4356
www.ncf.edu


On Mon, Jan 6, 2014 at 4:59 PM, David DeMizio <dd...@ncf.edu> wrote:

> Hello,
>
> Any idea what could cause the below message? I had a imaging reservation
> and proceeded to end reservation-> capture image-> new revision. It was at
> the point where it was cloning the vm and it failed.(clone kept running
> in VMware but vcld process ended) Is there a timeout value I need to
> increase or could it have been just a network hiccup. Thank You
>
> |29329|573:573|image| error:
> |29329|573:573|image| SOAP request error - possibly a protocol issue:
> Status read failed: Connection reset by peer at /usr/local/share/perl5/Net/HTTP/Methods.pm
> line 265.
> |29329|573:573|image| ( 0) vSphere_SDK.pm, copy_virtual_disk (line: 908)
> |29329|573:573|image| (-1) VMware.pm, copy_vmdk (line: 5824)
> |29329|573:573|image| (-2) VMware.pm, capture (line: 744)
> |29329|573:573|image| (-3) image.pm, process (line: 162)
> |29329|573:573|image| (-4) vcld, make_new_child (line: 571)
> |29329|573:573|image| (-5) vcld, main (line: 350)
> |29329|573:573|image| ---- WARNING ----
> |29329|573:573|image| 2014-01-06 16:45:12|29329|573:573|image|VMware
> .pm:copy_vmdk(5840)|failed to copy vmdk using API's copy_virtual_disk
> subroutine
> David DeMizio
> *Academic Systems Coordinator*
> Office of Information Technology
> New College of Florida
> Phone: 941-487-4222 | Fax: 941-487-4356
> www.ncf.edu
>