Hi,
I try to convert a Linux (Ubuntu 14.04) host to p2v but I have a little problem to make it work.
Here the custom setting I made on the host:
- Edit /etc/sudoers and add my user like this => username ALL=(ALL) NOPASSWD: ALL
Here the setting I made on my Windows 7 who start the Vmware Converter Standalone 5.5.3:
- Edit converter-agent.xml and converter-worker.xml
- Change the "useSudo" flag from "false" to "true" (in each file)
- Restart the Vmware Converter Standalone Services.
Here a part of the log where is the error:
2015-02-06T11:04:01.138+01:00 [18608 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint ea:96:52:3a:3b:b9:c5:21:93:4b:8c:17:4b:66:a2:8d myuser@ip.ip.ip.ip sudo uname -m" received error code (1) with result: sudo: pas de tty présent et pas de programme askpass spécifié
-->
2015-02-06T11:04:01.138+01:00 [18608 error 'Default'] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later
2015-02-06T11:04:01.138+01:00 [18608 error 'Default'] [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: pas de tty présent et pas de programme askpass spécifié
-->
2015-02-06T11:04:01.138+01:00 [18608 error 'Default'] Sysinfo Query with sudo failed with error [Converter Agent SysinfoQuery] could not determine if the source system was 32 or 64 bit; return code: 1; result: sudo: pas de tty présent et pas de programme askpass spécifié
-->
2015-02-06T11:04:01.138+01:00 [18608 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds
2015-02-06T11:04:12.601+01:00 [18468 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.
How can I make it work ?
Thanks