I am running vCenter 5.0 b455964 with ESXi 5.0 b469512.
When I go to the Storage Providers tab under Administration, I get the below error:
The server fault 'ServiceNotInitialized' had no message.
Call "SmsStorageManager.QueryProvider" for object "storageManager" on Server "elab055081.lss.emc.com" failed.
Looking in the SMS logs, I see the following:
2011-12-16 16:37:16,312 [Thread-18] DEBUG com.vmware.vim.sms.StorageManagerImpl - [loadProviders] Loading previously registered providers from XDB
2011-12-16 16:37:16,359 [Thread-18] INFO com.vmware.vim.clientutil.InventoryClientUtil - Using key: b68aea7a-ec5b-43bf-b06e-ed17bd4fedcc/VIMWEBSVC
2011-12-16 16:37:37,421 [Thread-18] ERROR com.vmware.vim.sms.qs.QsProxyStrategy - Initialize QS connection failed
java.util.concurrent.ExecutionException: com.vmware.vim.binding.vmodl.fault.HostCommunication:
inherited from com.vmware.vim.binding.vmodl.fault.HostCommunication: An error occurred while communicating with the remote host.
at com.vmware.vim.vmomi.core.impl.BlockingFuture.get(BlockingFuture.java:70)
at com.vmware.vim.clientutil.InventoryClientUtil.acquireSessionTicket(InventoryClientUtil.java:124)
at com.vmware.vim.clientutil.InventoryClientUtil.getAuthDataForDataService(InventoryClientUtil.java:92)
at com.vmware.vim.sms.qs.QsAuthenticationProvider.getAuthDataForQueryService(QsAuthenticationProvider.java:25)
at com.vmware.vim.sms.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:73)
at com.vmware.vim.sms.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:70)
at com.vmware.vim.sms.util.RetryTaskExecutor.execute(RetryTaskExecutor.java:26)
at com.vmware.vim.sms.qs.QsProxyStrategy.createClient(QsProxyStrategy.java:88)
at com.vmware.vim.sms.qs.QsProxyStrategy.<init>(QsProxyStrategy.java:50)
at com.vmware.vim.sms.qs.QsProxyStrategy.getInstance(QsProxyStrategy.java:57)
at com.vmware.vim.sms.qs.client.impl.QsClientImpl.<init>(QsClientImpl.java:33)
at com.vmware.vim.sms.qs.data.QueryMapper.<init>(QueryMapper.java:84)
at com.vmware.vim.sms.qs.data.QueryMapper.getInstance(QueryMapper.java:92)
at com.vmware.vim.sms.StorageManagerImpl.loadProviders(StorageManagerImpl.java:173)
at com.vmware.vim.sms.StorageManagerImpl.access$200(StorageManagerImpl.java:47)
at com.vmware.vim.sms.StorageManagerImpl$ProviderLoader.run(StorageManagerImpl.java:128)
Caused by: com.vmware.vim.binding.vmodl.fault.HostCommunication:
inherited from com.vmware.vim.binding.vmodl.fault.HostCommunication: An error occurred while communicating with the remote host.
at sun.reflect.GeneratedConstructorAccessor210.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:143)
at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:26)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:33)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:135)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:98)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:84)
at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:37)
at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:97)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:243)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:202)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:105)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2011-12-16 16:37:37,421 [Thread-18] ERROR com.vmware.vim.sms.StorageManagerImpl - Exception while loading providers from xDB!
com.vmware.vim.sms.fault.QsConnectionException: java.util.concurrent.ExecutionException: com.vmware.vim.binding.vmodl.fault.HostCommunication:
inherited from com.vmware.vim.binding.vmodl.fault.HostCommunication: An error occurred while communicating with the remote host.
at com.vmware.vim.sms.qs.QsProxyStrategy.createClient(QsProxyStrategy.java:92)
at com.vmware.vim.sms.qs.QsProxyStrategy.<init>(QsProxyStrategy.java:50)
at com.vmware.vim.sms.qs.QsProxyStrategy.getInstance(QsProxyStrategy.java:57)
at com.vmware.vim.sms.qs.client.impl.QsClientImpl.<init>(QsClientImpl.java:33)
at com.vmware.vim.sms.qs.data.QueryMapper.<init>(QueryMapper.java:84)
at com.vmware.vim.sms.qs.data.QueryMapper.getInstance(QueryMapper.java:92)
at com.vmware.vim.sms.StorageManagerImpl.loadProviders(StorageManagerImpl.java:173)
at com.vmware.vim.sms.StorageManagerImpl.access$200(StorageManagerImpl.java:47)
at com.vmware.vim.sms.StorageManagerImpl$ProviderLoader.run(StorageManagerImpl.java:128)
Caused by: java.util.concurrent.ExecutionException: com.vmware.vim.binding.vmodl.fault.HostCommunication:
inherited from com.vmware.vim.binding.vmodl.fault.HostCommunication: An error occurred while communicating with the remote host.
at com.vmware.vim.vmomi.core.impl.BlockingFuture.get(BlockingFuture.java:70)
at com.vmware.vim.clientutil.InventoryClientUtil.acquireSessionTicket(InventoryClientUtil.java:124)
at com.vmware.vim.clientutil.InventoryClientUtil.getAuthDataForDataService(InventoryClientUtil.java:92)
at com.vmware.vim.sms.qs.QsAuthenticationProvider.getAuthDataForQueryService(QsAuthenticationProvider.java:25)
at com.vmware.vim.sms.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:73)
at com.vmware.vim.sms.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:70)
at com.vmware.vim.sms.util.RetryTaskExecutor.execute(RetryTaskExecutor.java:26)
at com.vmware.vim.sms.qs.QsProxyStrategy.createClient(QsProxyStrategy.java:88)
... 8 more
Caused by: com.vmware.vim.binding.vmodl.fault.HostCommunication:
inherited from com.vmware.vim.binding.vmodl.fault.HostCommunication: An error occurred while communicating with the remote host.
at sun.reflect.GeneratedConstructorAccessor210.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:143)
at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:26)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:33)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:135)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:98)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:84)
at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:37)
at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:97)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:243)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:202)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:105)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I see that there is an error communicating with something, but I am unsure as to what it is. I had previously registered a Provider with this VC, and I believe that I had removed it as well. I am wondering if it is trying to connect with this Provider again, but it is either being rejected or the Provider is unavailable. The main issue is that I can't determine if the host that SMS is trying to connect to is a provider or not. How can I determine this? Is the "host" that it is trying to connect to the XDB server? Isn't this located on the vCenter Server itself?
If it turns out to be a stale entry in the XDB, is there any way to remove it or re-initialize the XDB?