Andy Kurth created VCL-1078:
-------------------------------
Summary: Undefined subroutine error because vSphere_SDK.pm does
not implement append_text_file
Key: VCL-1078
URL: https://issues.apache.org/jira/browse/VCL-1078
Project: VCL
Issue Type: Bug
Components: vcld (backend)
Affects Versions: 2.5
Reporter: Andy Kurth
Reported by Junaid Ali: [http://markmail.org/message/xefxgs76dco43cwx]
VMware.pm::capture is calling $self->vmhost_os->append_text_file. When SSH
isn't available, $self->vmhost_os is an instance of vSphere_SDK.pm. This module
does not implement an append_text_file subroutine.
It may not be possible or worthwhile to implement such a subroutine in
vSphere_SDK.pm as I think the file would need to be retrieved, appended, then
copied back. Instead, a $self->vmhost_os->can('append_text_file') should be
added to the caller.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)