When deploying or managing services (such as CCI or Tanzu Kubernetes Grid) in a Supervisor Cluster, the following symptoms occur:
vmodl.fault.SystemError or Failed to fetch content for the provided profiles.
SdrsPlacement: exception while filtering datastores by SPBM profile [UUID]: N5Vmomi5Fault11SystemError9ExceptionE(Fault cause: vmodl.fault.SystemError)SOAP request returned HTTP failure; code: 500(Internal Server Error); fault: (vmodl.fault.InvalidArgument) { key = "com.vmware.pbm.pbmFault.locale", message = "Failed to fetch content for the provided profiles." }
com.vmware.pbm.util.PBMUtils - No providers found for some of the input profile ids: Profile not found. Id: [UUID]VMware vSphere Kubernetes Service
This issue occurs when a vSphere Storage Policy is manually deleted from the vCenter Server UI while it is still associated with a StorageClass in the Supervisor Cluster.
Currently, there is no service within the Workload Control Plane (WCP) that monitors vCenter for storage policy deletions. Consequently, if a policy is removed from vCenter, the corresponding StorageClass and its reference in the Supervisor's internal metadata persist. When the system attempts to schedule pods using that storage class, the Storage Policy Based Management (SPBM) service fails to find the underlying profile ID in the vCenter Database (VCDB), leading to a system error.
Deleting a storage policy from the vSphere UI that is currently in use by a Supervisor Cluster is unsupported and creates a stale configuration that is difficult to remediate. The below workaround might help if the policy is already deleted.
kubectl get sckubectl delete storageclass <storage-class-name>
service-control --restart wcpservice-control --restart vmware-sps
Note: If the issue persists after these steps, the stale profile ID may still be cached in the Supervisor's internal state. In such cases, contact Broadcom Support for further assistance.