Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-1078

Undefined subroutine error because vSphere_SDK.pm does not implement append_text_file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.2
    • Component/s: vcld (backend)
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arkurth Andrew Kurth
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: