vCenter has frequent failed Sync volume tasks when using Cloud Native Storage (CNS)
search cancel

vCenter has frequent failed Sync volume tasks when using Cloud Native Storage (CNS)

book

Article ID: 454639

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service VMware vCenter Server

Issue/Introduction

  • Confirmed that the issue is not a match of similar KB CNS tasks in vCenter Server frequently fail with the error, A specified parameter is not correct.
  • The datastore shared across vCenter Server instances.
  • In the journalctl log, the following log repeatedly occurs.

    [vim.event.TaskEvent] [info] [com.vmware.cns] [] [***] [Task: Retrieve a virtual storage object]
    [vim.event.TaskEvent] [info] [com.vmware.cns] [] [***] [Task: Sync volume]

  • In the vpxd log, failed lock vmdk file log repeatedly occurs.
    yyyy-mm-ddThh:mm:ss.nnn error vpxd ERROR VStorageObjectManager – vim.vslm.vcenter.VStorageObjectManager.retrieveVStorageObjectMetadata: :vmodl.fault.SystemError
    --> Result:
    --> (vmodl.fault.SystemError) {
    --> faultCause = (vmodl.MethodFault) null,
    --> faultMessage = <unset>,
    -> reason = "Failed to lock the file: api = D

 

 

Cause

vSphere Container Storage Plug-in does not support datastores shared across vCenter instances.

See vSphere Functionality Supported by vSphere Container Storage Plug-in

Resolution

Detach LUNs so that there are no shared datastores across multiple vCenters and carefully review the Pre-unmount checklist in the following KB

Detach a LUN device from ESXi hosts