Hello,Please see the other thread entitled "[VCL image update issue] Cannot update and save an existing base image in VCL". You need to update 3 files: vSphere_SDK.pm, VMware.pm, and DataStructure.pm.
Regards, Andy On Mon, Aug 18, 2014 at 1:50 PM, X.W. Liu <[email protected]> wrote: > Hi, > > We have updated the file with " > http://svn.apache.org/repos/asf/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm" > recently, but* the image update processes (no matter what types of > images, Windows7, Ubuntu or CentOS) will hang forever at the last line of > the following attached vcld log*. It seems like something wrong with the > function *get_vmhost_profile_folder_path.* Could some one please help > with some suggestion or hint? It is an issue that has trapped us for a long > time. I can provide more logs if necessary. Thank you! > > > 2014-08-17 > 00:03:03|32004|123:123|image|vSphere_SDK.pm:copy_virtual_disk(662)|attempting > to copy virtual disk on VM host vcl-vcenter-1: '[vmware_vms_1] > vm0-30_3-v1/vmwareubuntu-Ubuntu12base3-v1-000001.vmdk' --> > '[vmware_images_1] > vmwareubuntu-VivienTestUbuntuClone10-v0/vmwareubuntu-VivienTestUbuntuClone10-v0.vmdk' > |32004|123:123|image| source adapter type: lsiLogic > |32004|123:123|image| destination adapter type: lsiLogic > |32004|123:123|image| source disk type: VirtualDiskSparseVer2BackingInfo > |32004|123:123|image| destination disk type: sparse2Gb > |32004|123:123|image| source capacity: 53,687,091,200 bytes - 52,428,800.0 > KB - 51,200.0 MB - 50.00 GB > |32004|123:123|image| source space used: 303,038,464 bytes - 295,936.0 KB > - 289.0 MB - 0.28 GB > 2014-08-17 > 00:03:05|32004|123:123|image|vSphere_SDK.pm:delete_file(1585)|attempting to > delete file: [vmware_images_1] vmwareubuntu-VivienTestUbuntuClone10-v0 > 2014-08-17 > 00:03:07|32004|123:123|image|vSphere_SDK.pm:delete_file(1598)|deleted file: > [vmware_images_1] vmwareubuntu-VivienTestUbuntuClone10-v0 > 2014-08-17 > 00:03:07|32004|123:123|image|vSphere_SDK.pm:copy_virtual_disk(688)|*unable > to copy vmdk using CopyVirtualDisk function, VM host vcl-vcenter-1 does not > implement the CopyVirtualDisk function* > *|32004|123:123|image| ---- WARNING ----* > *|32004|123:123|image| 2014-08-17 > 00:03:07|32004|123:123|image|DataStructure.pm:_automethod(760)|unsupported > subroutine name: get_vmhost_profile_folder_path* > *|32004|123:123|image| ( 0) DataStructure.pm, _automethod (line: 760)* > *|32004|123:123|image| (-1) Autoload.pm, __ANON__ (line: 80)* > *|32004|123:123|image| (-2) vSphere_SDK.pm, _get_vm_folder_view (line: > 2896)* > *|32004|123:123|image| (-3) vSphere_SDK.pm, copy_virtual_disk (line: 712)* > *|32004|123:123|image| (-4) VMware.pm, copy_vmdk (line: 5824)* > *|32004|123:123|image| (-5) VMware.pm, capture (line: 744)* > 2014-08-17 > 00:03:07|32004|123:123|image|vSphere_SDK.pm:_get_vm_folder_view(2919)|ignoring > non-VM folder: /VCL-DC/host > 2014-08-17 > 00:03:07|32004|123:123|image|vSphere_SDK.pm:_get_vm_folder_view(2919)|ignoring > non-VM folder: /VCL-DC/network > 2014-08-17 > 00:03:07|32004|123:123|image|vSphere_SDK.pm:_get_vm_folder_view(2919)|ignoring > non-VM folder: /VCL-DC/datastore > 2014-08-17 > 00:03:07|32004|123:123|image|vSphere_SDK.pm:_get_vm_folder_view(2928)|VM > folder path is not configured in the VM profile, returning 1st VM folder > found: /VCL-DC/Discovered virtual machine > 2014-08-17 > 00:03:07|32004|123:123|image|utils.pm:delete_computerloadlog_reservation(6396)|removing > computerloadlog entries matching loadstate = begin > 2014-08-17 > 00:03:07|32004|123:123|image|utils.pm:delete_computerloadlog_reservation(6443)|deleted > rows from computerloadlog for reservation id=123 > 2014-08-17 00:03:07|32004|123:123|image|State.pm:DESTROY(929)|VCL::image > process duration: 92 seconds > > > *Thanks & Best Regards* > *Vivien* > >
