Storage providers do not populate in vCenter, cannot change storage policies on VM's
search cancel

Storage providers do not populate in vCenter, cannot change storage policies on VM's


Article ID: 326589


Updated On:


VMware vSAN


  • When attempting to change the default storage policy for a VSAN datastore, you see a message similar to:
 "Namespace not found for datastore"
  • Changing or applying a storage policy to a VM/vdisk fails.
  • Storage providers do not populate in vCenter. You see an error message similar to:
    "storage service not initialized" 
  • After restarting the vmware-sps service on the VCSA, the service health shows green, but in /var/log/vmware/sps/sps.log you see a message similar to:
2018-05-14T15:23:37.978Z [Thread-9] ERROR opId=sps-Main-308140-889 com.vmware.vim.sms.StorageManagerImpl - ProviderLoader
intialization failed!
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@7b63e86 rejected from
java.util.concurrent.ThreadPoolExecutor@3d0dd4d1[Running, pool size = 500, active threads = 500, queued tasks = 2, completed tasks > = 1041]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(
at java.util.concurrent.ThreadPoolExecutor.reject(
at java.util.concurrent.ThreadPoolExecutor.execute(
at java.util.concurrent.AbstractExecutorService.submit(
at com.vmware.vim.sms.task.TaskManagerImpl.scheduleJob(
at com.vmware.vim.sms.task.BatchTaskManagerImpl.processQueuedTasks(
at com.vmware.vim.sms.StorageManagerImpl.loadPostProcess(
at com.vmware.vim.sms.StorageManagerImpl.access$600(
at com.vmware.vim.sms.StorageManagerImpl$ProviderLoader.loadVasaProviders(
at com.vmware.vim.sms.StorageManagerImpl$

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment


VMware vSAN 6.x


During the initialization of storage providers, we queue up jobs that were held during the provider loading phase. After all the storage providers have finished loading, and just before we change the health status of the service to initialized state, we do some post processing where we execute all the queued jobs. By default, we have an upper limit of 500 jobs we can process. If more than that need processing we hit this issue.


To resolve this issue:
  1. Edit /usr/lib/vmware-vpx/sps/conf/
  2. Change the paramter
  1. Restart sps service:
service-control --stop vmware-sps
service-control --start vmware-sps