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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5
    • 2.6
    • vcld (backend)
    • 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

            Unassigned Unassigned
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: