VMware {code} Community
tokyo_steven
Contributor
Contributor

Can't open VMDK file with VDDK 6.5, always returns 18000

I see there was another post also returning 18000 but it didn't seem to resolve my problem. I cannot seem to get the VDDK to open a disk when using the latest version 6.5. Can anyone help?

 

2016-12-05T16:34:59.654+08:00| vthread-4| I125: 2016-12-05T16:34:59.654+08:00 PREF Optional preferences file not found at C:\Users\heaven\AppData\Roaming\VMware\config.ini. Using default values.
2016-12-05T16:34:59.654+08:00| vthread-4| I125: 2016-12-05T16:34:59.654+08:00 UUID: SMBIOS UUID is reported as '00 28 2d f6 5e a9 e1 81-2b 4b 10 bf 48 26 b7 82'.
2016-12-05T16:34:59.654+08:00| vthread-4| I125: 2016-12-05T16:34:59.654+08:00 FILE: FileLockDynaLink: Further process validation tools are: available
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 lib/ssl: OpenSSL using FIPS_drbg for RAND
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 lib/ssl: protocol list tls1.2
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2016-12-05T16:34:59.657+08:00| vthread-4| I125: 2016-12-05T16:34:59.657+08:00 FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2016-12-05T16:34:59.658+08:00| vthread-4| W115: 2016-12-05T16:34:59.658+08:00 Ignoring windows message posted to non-UI thread. hwnd 463178 msg 15 wp 00000000 lp 00000000
2016-12-05T16:34:59.718+08:00| vthread-4| W115: 2016-12-05T16:34:59.718+08:00 Ignoring windows message posted to non-UI thread. hwnd 463178 msg 675 wp 00000000 lp 00000000
2016-12-05T16:34:59.719+08:00| vthread-4| E110: 2016-12-05T16:34:59.719+08:00 VixDiskLibVim: Error 18000 (listener error GVmomiFaultInvalidResponse).
2016-12-05T16:34:59.719+08:00| vthread-4| W115: 2016-12-05T16:34:59.719+08:00 VixDiskLibVim: Login failure. Callback error 18000 at 2444.
2016-12-05T16:34:59.719+08:00| vthread-4| E110: 2016-12-05T16:34:59.719+08:00 VixDiskLibVim: Failed to find the VM. Error 18000 at 2516.
2016-12-05T16:34:59.720+08:00| vthread-4| I125: 2016-12-05T16:34:59.720+08:00 VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.
2016-12-05T16:34:59.720+08:00| vthread-4| E110: VixDiskLib: Error occurred when obtaining NFC ticket for [datastore1] Windows7X64/Windows7X64_0.vmdk. Error 18000 (Cannot connect to the host) (fault (null), type GVmomiFaultInvalidResponse, reason: (none given), translated to 18000) at 2173.
2016-12-05T16:34:59.720+08:00| vthread-4| E110: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [datastore1] Windows7X64/Windows7X64_0.vmdk. Error 18000 (Cannot connect to the host) at 4964.
2016-12-05T16:34:59.720+08:00| vthread-4| E110: VixDiskLib: VixDiskLib_Open: Cannot open disk [datastore1] Windows7X64/Windows7X64_0.vmdk. Error 18000 (Cannot connect to the host) at 5002.
2016-12-05T16:40:05.381+08:00| vthread-4| I125: VixDiskLib: VixDiskLib_Disconnect: Disconnect.
2016-12-05T16:40:05.381+08:00| vthread-4| I125: VixDiskLib: VixDiskLib_Exit: Unmatched Init calls so far: 1.
2016-12-05T16:40:05.381+08:00| vthread-4| I125: 2016-12-05T16:40:05.381+08:00 VixDiskLibVim: VixDiskLibVim_Exit: Clean up.

0 Kudos
1 Reply
RManickam
Contributor
Contributor

Hi tokyo_steven, !

Host ThumbPrint is mandatory from VDDK 6.0 to connect to the ESXi/vCenter using VDDK.

You will need to pass the thumbprint to  VixDiskLib_ConnectEx call and you will need to assign it like below.

VixDiskLibConnectParams.thumbPrint = "xx:xx:xx:xx:xx......";

If you have not passed thumbprint to VixDiskLib_ConnectEx call VDDK will always throw error in OPEN only.

And while seeing your log . Noticed that  you are trying to debug with low log level 1. But to debug you will need to increase your log level to Debug mode. Then only you can get the proper logs to debug the problem easily.

/manick

0 Kudos