vStorage object manager list is not returning FCD after reverting VM snapshot
search cancel

vStorage object manager list is not returning FCD after reverting VM snapshot

book

Article ID: 319920

calendar_today

Updated On:

Products

VMware vSAN VMware vSphere ESXi

Issue/Introduction

  • An improved virtual disk attached to virtual machine with subsequent virtual machine snapshots will be reported as not found by Improved virtual disk API's, when the virtual machine is reverted to a point prior to which the improved virtual disk was attached.
  • You see this issue when doing below operations:
    • Create VM 
    • Take VM snapshot1.
    • Create improved virtual disk disk1 and attached to VM. 
    • Take VM snapshot2. 
    • Revert VM back to snapshot1

Environment

VMware vSAN 6.7.x

Cause

In a virtual machine revert operation, if virtual machine is reverting back to a state when improved virtual disk was not yet attached to the virtual machine, the improved virtual disk will be reported as not found after virtual machine snapshot revert due to cache inconsistency.

Resolution

Call reconcileDatastoreInventoryTask API from vCenter Server or hostReconcileDatastoreInventoryTask API from ESX after virtual machine revert operation to update cache.