Skip to main content
NetApp Knowledgebase

How to remove the VASA provider from vCenter

Views:
160
Visibility:
Public
Votes:
0
Category:
element-plug-in-for-vcenter-server
Specialty:
solidfire
Last Updated:

Applies to

  • HCI Compute Hypervisor and Plug-in 
  • SolidFire Host Plugins 

Description

In some cases, you cannot remove the VASA provider from vCenter and the following error occurs:
The "Unregister storage provider" operation failed for the entity with the following error message: A problem was encountered while unregistering the provider

1086852-1.png

While checking the sps.log file which is located in /storage/log/vmware/vmware-sps on the vCenter appliance, the following error is seen:

2019-01-16T08:58:33.085Z [pool-14-thread-4] ERROR opId=sps-Main-560153-170 com.vmware.vim.sms.provider.ProviderCache - Error while removing an entry for the provider in the providerCache -
java.lang.NullPointerException
        at com.vmware.vim.sms.provider.vasa.VasaProviderImpl.flushEventQueue(VasaProviderImpl.java:1562)
        at com.vmware.vim.sms.provider.failover.ProviderFailoverEngine.removeOldActiveProvider(ProviderFailoverEngine.java:296)
        at com.vmware.vim.sms.provider.failover.ProviderFailoverEngine.failover(ProviderFailoverEngine.java:117)
        at com.vmware.vim.sms.provider.failover.ProviderFailoverEngine.failover(ProviderFailoverEngine.java:73)
        at com.vmware.vim.sms.provider.failover.ProviderFailoverHandler.removeProvider(ProviderFailoverHandler.java:119)
        at com.vmware.vim.sms.provider.ProviderCache.removeEntry(ProviderCache.java:359)
        at com.vmware.vim.sms.provider.ProviderFactory.removeVasaProvider(ProviderFactory.java:422)
        at com.vmware.vim.sms.provider.ProviderFactory.removeProvider(ProviderFactory.java:336)
        at com.vmware.vim.sms.StorageManagerImpl.unregisterProviderInt(StorageManagerImpl.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.vmware.vim.sms.task.JobHandler.run(JobHandler.java:70)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support