Skip to main content
NetApp Knowledge Base

How to remove the VASA provider from vCenter

Views:
1,098
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)

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.