Problem copying vmware files from a datastore to a management node using the 
vSphere API
----------------------------------------------------------------------------------------

                 Key: VCL-471
                 URL: https://issues.apache.org/jira/browse/VCL-471
             Project: VCL
          Issue Type: Bug
          Components: vcld (backend)
    Affects Versions: 2.2.1
         Environment: VMware esx4 using the vSphere API
            Reporter: Aaron Coburn
            Priority: Minor
             Fix For: 2.2.1


In the copy_file_from subroutine in 
VCL/Module/Provisioning/VMware/vSphere_SDK.pm, the $destination_directory_path 
value (i.e. on the management node) is set by calling the 
_get_parent_directory_normal_path(). That subroutine, however, is for handling 
paths in the VMware datastore, and the $destination_directory_path is 
presumably always on the management node, so what is probably meant is simply:

(on line 1402)
my $destination_directory_path = basename($destination_file_path) || return;



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to