itbasecamp
Contributor
Contributor

Collection Failed - Help!

Hello All,

I have checked the other posts regarding failed collections, but cant find anythign that appears related.

We are a VSSP partner and use vCloud Usage Meter to report RAM usage.

We are having issues were the usage meter will Test OK, but fails to collect hourly reports.

I have upgraded to UM 2.3.2 - but the propblem persists.

I have attempted to raise a ticket with Vmware support but was told that vCloud was not listed under our VSSPcontract!?

This is the first time I have attempted to contact VMware - if someone can provide a link / internal contact number it would be appreciated.

Here is the error I am seeing in the um.log file

*snip*

A collection from X.X.X.X, begun at 2012-07-17 14:53:00, failed at 2012-07-17 14:53:10.

Usage Meter will wait 300 seconds and retry up to 2 more times.

java.sql.BatchUpdateException: Batch entry 0 insert into "Sample" ("id", "vmId", "collectionId", "vmMemSize", "vmBillingMemory") values (nextval('"s_Sample_id"'),'41','2311','2024','1012') was aborted.  Call getNextException to see the cause.

org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2569)

org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1796)

org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407)

org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2708)

org.squeryl.Table._batchedUpdateOrInsert(Table.scala:146)

org.squeryl.Table.insert(Table.scala:91)

com.vmware.cloud.usgmtr.collect.ResultsSaver$$anonfun$3$$anonfun$2.apply$mcV$sp(ResultsSaver.scala:50)

com.vmware.cloud.usgmtr.db.Helpers$class.trySql(Helpers.scala:12)

com.vmware.cloud.usgmtr.collect.ResultsSaver$.trySql(ResultsSaver.scala:12)

com.vmware.cloud.usgmtr.collect.ResultsSaver$$anonfun$3.apply(ResultsSaver.scala:49)

com.vmware.cloud.usgmtr.collect.ResultsSaver$$anonfun$3.apply(ResultsSaver.scala:31)

org.squeryl.dsl.QueryDsl$class._using(QueryDsl.scala:46)

org.squeryl.dsl.QueryDsl$class._executeTransactionWithin(QueryDsl.scala:114)

org.squeryl.dsl.QueryDsl$class.transaction(QueryDsl.scala:84)

org.squeryl.PrimitiveTypeMode$.transaction(PrimitiveTypeMode.scala:40)

com.vmware.cloud.usgmtr.collect.ResultsSaver$.save(ResultsSaver.scala:31)

com.vmware.cloud.usgmtr.collect.Collector$.collectAndSaveSamples(Collector.scala:107)

com.vmware.cloud.usgmtr.collect.Collector$$anonfun$collectAll$2$$anonfun$apply$1.apply$mcV$sp(Collector.scala:44)

com.vmware.cloud.usgmtr.collect.Collector$$anonfun$collectAll$2$$anonfun$apply$1.apply(Collector.scala:43)

com.vmware.cloud.usgmtr.collect.Collector$$anonfun$collectAll$2$$anonfun$apply$1.apply(Collector.scala:43)

org.squeryl.dsl.QueryDsl$class._using(QueryDsl.scala:46)

org.squeryl.dsl.QueryDsl$class._executeTransactionWithin(QueryDsl.scala:114)

org.squeryl.dsl.QueryDsl$class.transaction(QueryDsl.scala:78)

org.squeryl.PrimitiveTypeMode$.transaction(PrimitiveTypeMode.scala:40)

com.vmware.cloud.usgmtr.collect.Collector$$anonfun$collectAll$2.apply(Collector.scala:42)

com.vmware.cloud.usgmtr.collect.Collector$$anonfun$collectAll$2.apply(Collector.scala:42)

com.vmware.cloud.usgmtr.commons.Parallelizer$$anonfun$2$$anon$1.call(Parallelizer.scala:18)

java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

java.util.concurrent.FutureTask.run(FutureTask.java:138)

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

java.lang.Thread.run(Thread.java:662)

*snip*

Any thoughts would be appreciated.

Regards,

Labels (2)
0 Kudos
1 Reply
dbriccetti
Hot Shot
Hot Shot

Hi. I’m sorry to hear about the trouble. I am one of the team developing Usage Meter. There are people who get help with GSS solving Usage Meter problems. Someone else can help you make the right connections. But for now, you can send your /var/log/usgmtr/um.log to me, if you like: dbriccetti@vmware.com.

0 Kudos