schecter494
Contributor
Contributor

Chargeback manager datastore collector

hi,

     i have some problem with vcenter chargeback manager.

      installed chargeback manager and add vcenter server. its looks like fine but default datacollector " Storage Synchronization" failed.

     here is the error log, searched 2 days but i cant find anything. where is the problem ?

Caused by: javax.xml.stream.XMLStreamException: java.io.UnsupportedEncodingException: PLAIN
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:217)
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:189)
at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:279)
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:157)
at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:95)
at org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory.createXMLStreamReader(WrappingXMLInputFactory.java:116)
at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:95)
at org.apache.axiom.om.util.StAXUtils$1.run(StAXUtils.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:198)
at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:190)
at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:684)
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:215)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
... 11 more

     thank you            

0 Kudos
6 Replies
deepak_ashwath
VMware Employee
VMware Employee

Storage Synchronization job FAILS in the Chargeback Manager datacollector... what could be the reason,, please guide if anyone is aware of this issue

0 Kudos
IamTHEvilONE
Immortal
Immortal

Can you provide the Chargeback Server and vCenter DataCollector logs?

Also, what is the exact build number of Chargeback and the version of vCenter to which the Data Collector is attached to?

0 Kudos
schecter494
Contributor
Contributor

hi,

     first of all thank you for reply. vcenter charge back version is 2.0.1 and the build number : 643764 and also vcenter server version is 5.0.0 and build number 455964

     i am attaching data collector log.

     thnak you.

0 Kudos
IamTHEvilONE
Immortal
Immortal

So, based on the versions of vCenter and the issues described ... can you check to see if there is a high memory consumption on the vCenter server?

If possible, can you restart the vCenter server and see if the storage sync completes at least 1 time?

0 Kudos
schecter494
Contributor
Contributor

vcenter server have a 8gb ram and memory consumption below %40.

restarted vcenter server but no changes. storage sync fails again.

0 Kudos
HemanthPannem
VMware Employee
VMware Employee

I see the following exception in the logs. It seems its coming while collecting profiles. Could you restart 'VMware vSphere Profile-Driven Storage service' and check?

Regards,

Hemanth

:: 2012-07-04 09:39:29,968 ERROR storage.StorageSyncJob 0008: java.io.UnsupportedEncodingException: PLAIN

org.apache.axis2.AxisFault: java.io.UnsupportedEncodingException: PLAIN

at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)

at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)

at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)

at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)

at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

at com.vmware.vc.sps.InternalSpsServiceStub.queryCapability(Unknown Source)

at com.vmware.vim.vcenter.datacollector.job.storage.StorageCapabilityInfoCollector.collectCbStorageCapabilities(StorageCapabilityInfoCollector.java:69)

at com.vmware.vim.vcenter.datacollector.job.storage.StorageCapabilityInfoCollector.collect(StorageCapabilityInfoCollector.java:51)

at com.vmware.vim.vcenter.datacollector.job.storage.Accumulator.collectAndStore(Accumulator.java:92)

at com.vmware.vim.vcenter.datacollector.job.storage.Accumulator.accumulate(Accumulator.java:67)

at com.vmware.vim.vcenter.datacollector.job.storage.StorageSyncJob.run(StorageSyncJob.java:58)

Caused by: javax.xml.stream.XMLStreamException: java.io.UnsupportedEncodingException: PLAIN

at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:217)

at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.(InputStreamReader.java:83)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader(XMLEntityManager.java:2424)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:843)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1267)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:281)

at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:204)

... 25 more

0 Kudos