2 Replies Latest reply on Sep 17, 2019 1:58 AM by keerthyt

    VixDiskLib_OpenEx : Fails with fault InvalidRequest, type VmodlVmomiFaultInvalidRequest, reason: (none given), translated to 1)

    keerthyt Lurker

      VDDK version used : VMware VixDiskLib (6.7) Release build-8535999

      ESX : VMware ESX, version=6.5.0, build=8294253, option=Release

       

      The VixDiskLib_OpenEx fails to open the disk to read the changes.

      Logs show the following:

       

      VixDiskLibVim: VixDiskLibVimFreeInternalVCAboutInfo: Free Internal VC AboutInfo.

      VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [Datastore] VM/VM_2.vmdk. Error 1 (Unknown error) at 5439.

      VixDiskLib: VixDiskLib_Close: Invalid disk handle. Error 1000 (The handle is not a valid VIX object) at 5666.

      VixDiskLibVim: Login failure. Callback error 1 at 3580.

      VixDiskLibVim: Failed to find the VM. Error 1 at 3735.

      VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket..

      VixDiskLib: Error occurred when obtaining NFC ticket for [Datastore] VM/VM_2.vmdk. Error 1 (Unknown error) (fault InvalidRequest, type VmodlVmomiFaultInvalidRequest, reason: (none given), translated to 1) at 2480.

      VixDiskLib: VixDiskLib_Open: Cannot open disk [Datastore] VM/VM_2.vmdk. Error 1 (Unknown error) at 5483.

      VixDiskLibVim: VixDiskLibVim_FreeFileName: Free file name

      Call failed for Open. Error Code: VIX_E_FAIL. Error Message: Unknown error.

       

      Also, observed that the ESX shows logs like below in continuous intervals:

      hostd[10D81B70] [Originator@6876 sub=Snmpsvc] VmConfigListener: vm state change received, queueing reload request

      hostd[117C2B70] [Originator@6876 sub=Libs] OBJLIB-LIB: ObjLib_GetNameSpaceObjectUniqueIdFromPath : failed backend does not store object unique id in path

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx': One of the parameters supplied is invalid.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmxf': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.nvram': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmsd': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM-flat.vmdk': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM-000001-delta.vmdk': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM_1-flat.vmdk': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM_1-000001-delta.vmdk': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM_2-flat.vmdk': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM_2-000001-delta.vmdk': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM-39db1f06.vswp': Success.

      hostd[117C2B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/VM.vmx] File - failed to get objectId, '/vmfs/volumes/53983346-01dc9606-2a8d-a0d3c1f6c830/VM/vmx-VM-970661638-1.vswp': Success.

       

      With respect to the API calls, the logs found are following:

       

      hostd[11781B70] [Originator@6876 sub=PropertyProvider opID=142b2cc6-d9-5843 user=vpxuser:DOM\USER] RecordOp ASSIGN: info, haTask-57-vim.VirtualMachine.queryChangedDiskAreas-175788303. Applied change to temp map.

      hostd[10F81B70] [Originator@6876 sub=PropertyProvider opID=6b754e60-a4-5844 user=vpxuser:DOM\USER] RecordOp ASSIGN: info, haTask-57-vim.VirtualMachine.queryChangedDiskAreas-175788304. Applied change to temp map.

       

      We are unable to understand the reason for failure. Please help resolve the issue.

       

      Thanks in advance.