version : vmware convertor 5.0
guest OS : centos 5.4
H/W : Dell PE2950
P2V 를 하려고 source view 를 진행하는데.. 정보를 못불러 온다.
로그를 빼서 확인결과
vmware-converter-worker.log 에서 아래와 같은 로그를 보인다
Section for VMware vCenter Converter Standalone, pid=1816, version=5.0.0, build=build-470252, option=Release 2012-08-03T13:07:00.618+09:00 [01684 info 'Default'] Initialized channel manager 2012-08-03T13:07:00.618+09:00 [01684 info 'Default'] Current working directory: C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone 2012-08-03T13:07:00.649+09:00 [01684 info 'Default'] Trying converter_agent 2012-08-03T13:07:00.665+09:00 [01684 info 'Default'] Trying converter_worker 2012-08-03T13:07:00.711+09:00 [01684 info 'Default'] Trying ufa_agent 2012-08-03T13:07:00.711+09:00 [01684 info 'Ufa'] Initializing SSL context 2012-08-03T13:07:01.757+09:00 [01684 info 'Default'] Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 20000000 2012-08-03T13:07:01.757+09:00 [01684 info 'Ufa'] Plugin initialized 2012-08-03T13:07:01.757+09:00 [01684 info 'Ufa'] SOAP pipe name: \\.\pipe\vmware-converter-worker-soap 2012-08-03T13:07:01.757+09:00 [01684 info 'Ufa.HTTPService'] Using default for nonChunkingAgents: 'VMware VI Client|VMware-client|VMware-client/3.*' 2012-08-03T13:07:01.757+09:00 [01684 info 'Ufa.HTTPService'] Using default for agentsNeedingContentLength: 'VMware-client' 2012-08-03T13:07:01.757+09:00 [01684 info 'Ufa.HTTPService'] Max buffered response size is 104857600 bytes 2012-08-03T13:07:01.757+09:00 [01684 info 'Ufa'] enableChunkedResponses: true 2012-08-03T13:07:01.772+09:00 [01684 info 'Ufa.HTTPService'] Http Service started: [class Vmacore::Ssl::SSLServerSocketImpl:0298C178] 2012-08-03T13:07:01.772+09:00 [01684 info 'Ufa'] Soap (over Named Pipe) started on pipe \\.\pipe\vmware-converter-worker-soap. enableRemoteAccess = false, nonRootAccess = false, useSSL = true 2012-08-03T13:07:01.772+09:00 [01684 info 'Ufa'] Plugin started 2012-08-03T13:07:01.772+09:00 [01684 info 'Default'] [,0] DiskLibProvider init - OK 2012-08-03T13:07:01.772+09:00 [01684 info 'Default'] [,0] Mntapi_Init Asked - 1.0 Served - 1.0 was successful,TempDirectory: C:\Windows\TEMP\vmware-temp\vmware-SYSTEM. 2012-08-03T13:07:01.772+09:00 [01684 info 'Default'] [serviceWin32,413] vmware-converter-worker service started 2012-08-03T13:13:12.335+09:00 [01684 info 'Default'] Impersonating user Administrator in session 12345678-d0c7-f47e-3078-189c153ce00d 2012-08-03T13:13:19.622+09:00 [01768 info 'Default'] Could not find the session object cache, will create a new one 2012-08-03T13:13:19.622+09:00 [01768 info 'Default'] Obtaining query results for host xxx.xxx.xxx.xxx 2012-08-03T13:13:20.135+09:00 [01768 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 <emptyThumbprint> root@xxx.xxx.xxx.xxx uname -m" received error code (249) with result: 1f:f2:3c:49:c5:a1:1f:fb:29:7b:4d:a4:ca:03:64:3b --> 2012-08-03T13:13:20.135+09:00 [01768 error 'Default'] [Converter Agent SysinfoQuery] ssh connection to host xxx.xxx.xxx.xxx failed because the host thumbprint was different: client: <emptyThumbprint>, host: 1f:f2:3c:49:c5:a1:1f:fb:29:7b:4d:a4:ca:03:64:3b 2012-08-03T13:13:20.135+09:00 [01768 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] ssh connection to host xxx.xxx.xxx.xxx failed because the host thumbprint was different: client: <emptyThumbprint>, host: 1f:f2:3c:49:c5:a1:1f:fb:29:7b:4d:a4:ca:03:64:3b 2012-08-03T13:13:20.135+09:00 [01768 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds 2012-08-03T13:13:21.937+09:00 [07148 info 'Default'] Obtaining query results for host xxx.xxx.xxx.xxx 2012-08-03T13:13:24.702+09:00 [07148 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 1f:f2:3c:49:c5:a1:1f:fb:29:7b:4d:a4:ca:03:64:3b root@xxx.xxx.xxx.xxx cd /tmp/.vmware-sysinfo-foshpgkhcmlndzzq/; ./vmware-sysinfo-lin32.sh" received error code (126) with result: bash: ./vmware-sysinfo-lin32.sh: /bin/sh: bad interpreter: 허가 거부됨 --> 2012-08-03T13:13:24.702+09:00 [07148 error 'Default'] [Converter Agent SysinfoQuery] received an error code (126) from the ssh client that will be handled later 2012-08-03T13:13:24.702+09:00 [07148 error 'Default'] [Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 126; result: bash: ./vmware-sysinfo-lin32.sh: /bin/sh: bad interpreter: 허가 거부됨 --> 2012-08-03T13:13:24.702+09:00 [07148 error 'Default'] [Converter Agent SysinfoQuery] Query(): Caught exception, cleaning up before bailing out ([Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 126; result: bash: ./vmware-sysinfo-lin32.sh: /bin/sh: bad interpreter: 허가 거부됨 --> ) 2012-08-03T13:13:25.336+09:00 [07148 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 1f:f2:3c:49:c5:a1:1f:fb:29:7b:4d:a4:ca:03:64:3b root@xxx.xxx.xxx.xxx cat /tmp/.vmware-sysinfo-foshpgkhcmlndzzq/vmware-sysinfo.log" received error code (1) with result: cat: /tmp/.vmware-sysinfo-foshpgkhcmlndzzq/vmware-sysinfo.log: 그런 파일이나 디렉토리가 없음 --> 2012-08-03T13:13:25.336+09:00 [07148 error 'Default'] [Converter Agent SysinfoQuery] received an error code (1) from the ssh client that will be handled later 2012-08-03T13:13:25.336+09:00 [07148 error 'Default'] Converter Agent SysinfoQuery failed to grab log file; return code: 1; result: cat: /tmp/.vmware-sysinfo-foshpgkhcmlndzzq/vmware-sysinfo.log: 그런 파일이나 디렉토리가 없음 --> 2012-08-03T13:13:25.560+09:00 [07148 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] execution of vmware-sysinfo failed; return code: 126; result: bash: ./vmware-sysinfo-lin32.sh: /bin/sh: bad interpreter: 허가 거부됨 --> 2012-08-03T13:13:25.560+09:00 [07148 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds 2012-08-03T13:13:50.059+09:00 [01768 info 'Default'] [Converter.Worker.DiagnosticManagerImpl] Generating LogBundle.
|
원인은 Physical server 의 /tmp 파티션의 마운트 옵션이 문제가 되었다.
보안을 위해서 loop,noexec,nosuid,rw 옵션으로 마운트를 해서 사용하고 있던 서버였는데, 이걸 defaults 옵션으로 마운트 해주니 잘 된다.