PVC is created but not bound
search cancel

PVC is created but not bound

book

Article ID: 377500

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

In TCA, a PVC is created but not bound.

Using the vsphere-csi addon and CNS Cloud Native Storage plugin is not provisioning to the vSAN datastore.

Error:

VSLM task failed

CnsFault error: VSLM task failed

Environment

2.2

Resolution

Rebuild the FCD catalog.

  • Identify one host in the cluster for the vSAN datastore, which we are rebuilding the FCD catalog.
    cd /vmfs/volumes/<vSAN_datastore>/
  • SSH into that host and stop the hostd process.
    /etc/init.d/hostd stop
  • Move the existing FCD catalog to the backup folder [or delete].
    mv catalog catalog_backup
  • Start Hostd
    /etc/init.d/hostd start
  • Go to host MOB and invoke the ReconcileDatastoreInventory_Task with the datastore ID for the vSAN Datastore.

 

For ESXi:

Enable the MOB:
The Managed Object Browser is disabled by default in vSphere 6.x

To reconcile the managed virtual disk inventory from a Web browser, use the VMware Managed Object Browser to invoke a Web Services method.

HostReconcileDatastoreInventory_Task
HostScheduleReconcileDatastoreInventory

Example:

  • Connect to https://server/mob and click Content.
  • Click the link associated with the property rootFolder, then click the link associated with the property childEntity.
  • Click one of the links associated with the property dataStore. Select the datastore that holds the missing managed virtual disk.
  • Select and copy the value of the Managed Object ID at the top of the window. For example,
    datastore1.
  • Click the Home tab to return to the Service Instance, then click Content.
  • Click vStorageObjectManager.
  • Click ReconcileDatastoreInventory_Task.
    A pop-up window opens to show the method.
  • In the Value element, replace MOID with the managed object reference of the data store that holds the missing managed virtual disk.
  • Click Invoke Method.
  • Click the link in the value field.
    This action opens the Task object that tracks the progress of the reconciliation operation.
  • Click info.
    If the value of the state field is "success", the reconciliation is done.

Additional Information