VMware Cloud Community
rb51
Enthusiast
Enthusiast

vCenter Service Health

Hi all

New, fresh install of vCenter 5.5U3d (build 3721164) on Windows Server 2008 R2, SQL Exp 2008

Using default network ports

Internal CA signed certs installed and verified as working. However I've got the following issue:

Service Health Tab shows 2x services with status Alert:

VMware vSphere Profile-driven Storage Service - unable to retrieve health data from http://localhost:31010/sps/health.xml

VMware vCenter Storage Monitoring Service - unable to retrieve health data from http://localhost/sms/health.xml

vCenter server, webservices and profile-driven services running under the same domain service account

extract from vws.log

[2016-05-17 16:18:01,502 Thread-27  ERROR com.vmware.vim.health.impl.XmlUtil] Error retrieving health from url: http://localhost:31010/sps/health.xml

java.net.ConnectException: Connection refused: connect

  at java.net.DualStackPlainSocketImpl.connect0(Native Method)

  at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

  at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

  at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

  at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

  at java.net.PlainSocketImpl.connect(Unknown Source)

  at java.net.SocksSocketImpl.connect(Unknown Source)

  at java.net.Socket.connect(Unknown Source)

  at java.net.Socket.connect(Unknown Source)

  at sun.net.NetworkClient.doConnect(Unknown Source)

  at sun.net.www.http.HttpClient.openServer(Unknown Source)

  at sun.net.www.http.HttpClient.openServer(Unknown Source)

  at sun.net.www.http.HttpClient.<init>(Unknown Source)

  at sun.net.www.http.HttpClient.New(Unknown Source)

  at sun.net.www.http.HttpClient.New(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)

  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

  at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)

  at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

  at org.apache.xerces.jaxp.validation.StreamValidatorHelper.validate(Unknown Source)

  at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)

  at javax.xml.validation.Validator.validate(Unknown Source)

  at com.vmware.vim.health.impl.XmlUtil.getDocumentFromUrl(XmlUtil.java:96)

  at com.vmware.vim.health.impl.ComponentSpec.retrieveHealthFromUrl(ComponentSpec.java:300)

  at com.vmware.vim.health.impl.ComponentSpec.retrieveHealth(ComponentSpec.java:266)

  at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealthFromUrl(HealthPollerImpl.java:119)

  at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:104)

  at com.vmware.vim.health.impl.HealthPollerImpl.computeHealth(HealthPollerImpl.java:203)

  at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:102)

  at com.vmware.vim.health.impl.HealthPollerImpl.pollHealth(HealthPollerImpl.java:85)

  at com.vmware.vim.health.impl.HealthPollerImpl.access$100(HealthPollerImpl.java:28)

  at com.vmware.vim.health.impl.HealthPollerImpl$PollerThread.run(HealthPollerImpl.java:55)

  at java.lang.Thread.run(Unknown Source)

[2016-05-17 16:18:01,503 Thread-27  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sps from http://localhost:31010/sps/health.xml

[2016-05-17 16:18:01,503 Thread-27  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sps from any of its health URLs

[2016-05-17 16:18:03,513 Thread-27  ERROR com.vmware.vim.health.impl.XmlUtil] Error retrieving health from url: http://localhost/sms/health.xml

java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/sms/health.xml

  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

  at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)

  at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

  at org.apache.xerces.jaxp.validation.StreamValidatorHelper.validate(Unknown Source)

  at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)

  at javax.xml.validation.Validator.validate(Unknown Source)

  at com.vmware.vim.health.impl.XmlUtil.getDocumentFromUrl(XmlUtil.java:96)

  at com.vmware.vim.health.impl.ComponentSpec.retrieveHealthFromUrl(ComponentSpec.java:300)

  at com.vmware.vim.health.impl.ComponentSpec.retrieveHealth(ComponentSpec.java:266)

  at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealthFromUrl(HealthPollerImpl.java:119)

  at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:104)

  at com.vmware.vim.health.impl.HealthPollerImpl.computeHealth(HealthPollerImpl.java:203)

  at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:102)

  at com.vmware.vim.health.impl.HealthPollerImpl.pollHealth(HealthPollerImpl.java:85)

  at com.vmware.vim.health.impl.HealthPollerImpl.access$100(HealthPollerImpl.java:28)

  at com.vmware.vim.health.impl.HealthPollerImpl$PollerThread.run(HealthPollerImpl.java:55)

  at java.lang.Thread.run(Unknown Source)

[2016-05-17 16:18:03,513 Thread-27  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sms from http://localhost/sms/health.xml

[2016-05-17 16:18:03,513 Thread-27  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sms from any of its health URLs

[2016-05-17 16:18:10,752 Thread-21  INFO  com.vmware.vim.clientutil.InventoryClientUtil] Using key: 776509a0-1098-4a90-86d6-bf927ca141c7/VIMWEBSVC

[2016-05-17 16:18:10,799 Thread-21  ERROR com.vmware.vim.cimmonitor.qs.provider.impl.QsHelperImpl] Execution exception occurred while creating a provider client

java.util.concurrent.ExecutionException: com.vmware.vim.binding.vmodl.fault.NotSupported:

inherited from com.vmware.vim.binding.vmodl.fault.NotSupported: The operation is not supported on the object.

  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.cimmonitor.qs.provider.impl.QsHelperImpl.createProviderClient(QsHelperImpl.java:429)

  at com.vmware.vim.cimmonitor.qs.provider.impl.QsHelperImpl.access$000(QsHelperImpl.java:63)

  at com.vmware.vim.cimmonitor.qs.provider.impl.QsHelperImpl$1.run(QsHelperImpl.java:296)

  at java.lang.Thread.run(Unknown Source)

Caused by: com.vmware.vim.binding.vmodl.fault.NotSupported:

inherited from com.vmware.vim.binding.vmodl.fault.NotSupported: The operation is not supported on the object.

  at sun.reflect.GeneratedConstructorAccessor203.newInstance(Unknown Source)

  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

  at java.lang.reflect.Constructor.newInstance(Unknown Source)

  at java.lang.Class.newInstance(Unknown Source)

  at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:171)

  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:245)

  at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:203)

  at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

  ... 1 more

[2016-05-17 16:18:10,800 Thread-21  ERROR com.vmware.vim.cimmonitor.qs.provider.impl.QsHelperImpl] Refreshing provider client failed, retrying

com.vmware.vim.cimmonitor.qs.exception.ProviderConfigException: Execution exception occurred while creating a provider client

  at com.vmware.vim.cimmonitor.qs.provider.impl.QsHelperImpl.createProviderClient(QsHelperImpl.java:433)

  at com.vmware.vim.cimmonitor.qs.provider.impl.QsHelperImpl.access$000(QsHelperImpl.java:63)

  at com.vmware.vim.cimmonitor.qs.provider.impl.QsHelperImpl$1.run(QsHelperImpl.java:296)

  at java.lang.Thread.run(Unknown Source)

Caused by: java.util.concurrent.ExecutionException: com.vmware.vim.binding.vmodl.fault.NotSupported:

inherited from com.vmware.vim.binding.vmodl.fault.NotSupported: The operation is not supported on the object.

  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.cimmonitor.qs.provider.impl.QsHelperImpl.createProviderClient(QsHelperImpl.java:429)

  ... 3 more

Caused by: com.vmware.vim.binding.vmodl.fault.NotSupported:

inherited from com.vmware.vim.binding.vmodl.fault.NotSupported: The operation is not supported on the object.

  at sun.reflect.GeneratedConstructorAccessor203.newInstance(Unknown Source)

  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

  at java.lang.reflect.Constructor.newInstance(Unknown Source)

  at java.lang.Class.newInstance(Unknown Source)

  at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:171)

  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:245)

  at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:203)

  at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

  ... 1 more

Hope someone can assist.

thanks rzg

0 Kudos
4 Replies
mribeiro01
Contributor
Contributor

Hi rb51

I had a similar problem and i used the kb 2007834

Check the kb VMware KB: VMware vCenter Server 5.x Storage Monitoring and Profile Driven Storage Service fails wit...

Try the procedure this kb. Maybe resolve the problem.

*Please, don't forget the awarding points for "helpful" and/or "correct" answers.

*Por favor, não esqueça de atribuir os pontos se a resposta foi útil ou resolveu o problema.*

Thank you/Obrigado

0 Kudos
rb51
Enthusiast
Enthusiast

Hi Ribeiro

Thanks for replying to my thread.

The installation is using default ports, i.e., http/80

Did you change it to, e.g., port/81 and modified the sps and sms files?

cheers

0 Kudos
rb51
Enthusiast
Enthusiast

Spoke to VMware support and issue was probably the new certs not being correctly registered.

We created a new Inventory Service database and re-registered it.

Now all looking good.

0 Kudos
mribeiro01
Contributor
Contributor

Happy to have solved the problem.



Cheers


*Please, don't forget the awarding points for "helpful" and/or "correct" answers.

*Por favor, não esqueça de atribuir os pontos se a resposta foi útil ou resolveu o problema.*

Thank you/Obrigado

0 Kudos