Physical to Virtual (P2V) conversion fails with error "Unable to query the live Linux source machine"
search cancel

Physical to Virtual (P2V) conversion fails with error "Unable to query the live Linux source machine"

book

Article ID: 388943

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Performing P2V conversion of Linux machine fails with the error: 
    • Unable to query the live Linux source machine
  • vmware-converter-worker.log has the following traces,

2025-01-30T14:11:57.484+05:30 info vmware-converter-worker[12664] [Originator@6876 sub=Default] Converter::Util::SysCommandWrapper::LogResult: Command stderr:
--> -- Keyboard-interactive authentication prompts from server: ------------------
--> -- End of keyboard-interactive prompts from server ---------------------------
--> cat: /tmp/.vmware-sysinfo-eehorggnwhyommbg/vmware-sysinfo.log: No such file or directory
-->
2025-01-30T14:11:57.484+05:30 error vmware-converter-worker[12664] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin-pass-and-key <ConverterPrivateKeyEnd> -P 22 -thumbprint 6x:xx:xx:xx:xx:xx username@<source machine IP> cat /tmp/.vmware-sysinfo-e
ehorggnwhyommbg/vmware-sysinfo.log" received error code (1) with result: -- Keyboard-interactive authentication prompts from server: ------------------
--> -- End of keyboard-interactive prompts from server ---------------------------
--> cat: /tmp/.vmware-sysinfo-eehorggnwhyommbg/vmware-sysinfo.log: No such file or directory
-->
2025-01-30T14:11:57.485+05:30 error vmware-converter-worker[12664] [Originator@6876 sub=Default] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2025-01-30T14:11:57.485+05:30 warning vmware-converter-worker[12664] [Originator@6876 sub=Default] Converter Agent SysinfoQuery failed to grab log file; return code: 1; result: -- Keyboard-interactive authentication prompts from server: ------------------
--> -- End of keyboard-interactive prompts from server ---------------------------
--> cat: /tmp/.vmware-sysinfo-eehorggnwhyommbg/vmware-sysinfo.log: No such file or directory
-->
2025-01-30T14:11:57.733+05:30 error vmware-converter-worker[12664] [Originator@6876 sub=Default] Sysinfo Query with sudo failed with error [Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 1; result: -- Keyboard-interactive authentication prompts from server: ------------------
--> -- End of keyboard-interactive prompts from server ---------------------------
--> sudo: unable to execute /tmp/.vmware-sysinfo-eehorggnwhyommbg/vmware-sysinfo.sh: Permission denied

Environment

vCenter Converter Standalone 6.6

Cause

  • The issue is caused by the /tmp directory on the source Linux machine being mounted without executable permissions, resulting in the failure of the vmware-sysinfo.sh script to execute.

Resolution

  • Ensure the /tmp directory of the source Linux machine to have executable permission
  • Retry the P2V conversion