Type Reason Age From Message---- ------ --- ---- -------Normal ExternalProvisioning 2m47s (x4643 over 19h) persistentvolume-controller Waiting for a volume to be created either by the external provisioner 'csi.vsphere.vmware.com' or manually by the system administrator.Normal Provisioning 2m3s (x317 over 19h) csi.vsphere.vmware.com_422acce External provisioner is provisioning volume for claim
DatabaseError during disk creation:YYYY-MM-DDTHH:MM:SSZ info vpxd[3563332] [Originator@6876 sub=MoVStorageObjectMgr opID=####] Creating disk pvc-#### on datastore = vim.Datastore:datastore-####YYYY-MM-DDTHH:MM:SSZ error vpxd[3563332] [Originator@6876 sub=Default opID=####] [VpxLRO] -- ERROR task-1337985 -- VStorageObjectManager -- vim.vslm.vcenter.VStorageObjectManager.createDisk: :vim.fault.DatabaseError--> Result:--> (vim.fault.DatabaseError) {--> msg = "Database temporarily unavailable or has network problems."--> }YYYY-MM-DDTHH:MM:SSZ In(166) Hostd[...] Transfer to exception error code: 601, message: Unable to obtain a tick for: kAttempts = 32YYYY-MM-DDTHH:MM:SSZ Wa(164) Hostd[...] Vslm Failure: VslmCreateDisk failed ... with type vim.fault.DatabaseErrorYYYY-MM-DDTHH:MM:SSZ In(182) vmkernel: cpu0:#### opID=####)DLX: 2670: vol '<redacted>', lock ... Read Lock(s) held on a file ... YYYY-MM-DDTHH:MM:SSZ In(182) vmkernel: cpu0:#### opID=####)Fil3: 5174: Lock failed on file: <redacted>.vmdk[root@achesxixx:/vmfs/volumes/<datastore_id>/catalog/vclock]mv vclock-12310 vclock-12310amv: can't rename 'vclock-12310': No such file or directoryThe vClock file could not be renamed or updated due to an underlying filesystem issue, which prevented VSLM from completing the disk creation process.
Recreate the vClock file and perform a datastore reconciliation using below steps:
kubectl -n vmware-system-csi scale deployment vsphere-csi-controller --replicas=0/etc/init.d/hostd stopcd /vmfs/volumes/<datastore>/mv catalog catalog_backupcd /vmfs/volumes/<datastore>/catalog/vclocktouch vclock-12310https://<ESXi_host_FQDN_or_IP>/mob/?moid=ha-vstorage-object-manager&method=reconcileDatastoreInventoryPath: MOB > content > vStorageObjectManager > HostReconcileDatastoreInventory_Taskkubectl -n vmware-system-csi scale deployment vsphere-csi-controller --replicas=3