Backup Tool will fail to push required files using VMware Tools API as the VMware Tools installed on the VM is returning status as 500.
Sample of log on third party backup tool NetBackup:
<timestamp> [<PID>.<PID>] <2> curlUpload: http status code: 500
<timestamp> [<PID>.<PID>] <16> curlUpload: NB_curl_easy_getinfo() returned status as 500
<timestamp> [<PID>.<PID>] <16> curlUpload: response body: <error> <errorCode>22</errorCode> <errorInfo>The file name is not valid</errorInfo> </error>
<timestamp> [<PID>.<PID>] <16> uploadFileToVMwareVM: Failed to stream the contents of file to destination vm
<timestamp> [<PID>.<PID>] <16> bpVMutil: Failed to upload recovery tool on destination VM VM_NAME with error 130. Make sure there is sufficient space or permissions available at the staging location.
<timestamp> [<PID>.<PID>] <2> virtlogcallback: bpvmutil_vmcerror_to_monitor: FTL - Failed to upload recovery tool on destination VM VM_NAME with error 130. Make sure there is sufficient space or permissions available at the staging location.: SYM_VMC_SOAP_FILE_DOES_NOT_EXIST_FAULT
Attempt to push files using PowerCLI Copy-VMGuestFile will also fail with error 500 (Internal Server Error) since it uses the same VMware Tools API.
"Response code does not indicate success: 500 (Internal Server Error)."
"CategoryInfo : NotSpecified: (:) [Copy-VMGuestFile], ViError"
"FullyQualifiederrorId : Client20_vmGuestServiceImp]_UploadFileToGuest_UploadError, VMware .VimAutomation.ViCore.Cmdlets . Commands .CopyVMGuestFile"
Considerations:
vSphere all versions
Third Party tool to push files into the guest OS
Mismatch of Guest OS defined on the VM and the Guest OS installed.
For instance, a VM is defined as Windows but it got Linux installed.
Change the guest OS version to the correct one as per the documentation: Change the Configured Guest Operating System