Community
 
 
 

CloudPlatform 4.x

284 followers
 
Avatar
Timothy Lothering

Error while collecting disk stats from : You gave an invalid object reference

Hi,
 
I am getting the below error numerous times in a minute, and as a result, it has grown my management-server.log to over 500MB.
 
Landscape:
 
1. CCP 4.2.1-4
2. Citrix XenServer 6.2.0 with SP1
 
CCP is functioning 100%, I am able to complete all tasks without errors. All my Hosts are working as I have been able to provision VMs to all of them.
 
2014-04-25 14:29:06,480 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-81:null) Error while collecting disk stats from : 
You gave an invalid object reference.  The object may have recently been deleted.  The class parameter gives the type of reference given, and the handle parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:209)
at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VBDMetrics.getIoReadKbs(VBDMetrics.java:210)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVmStats(CitrixResourceBase.java:2775)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2675)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:495)
at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
 
Any advice?
 
Regards
 
Timothy
 

 


3 comments
0

Please sign in to leave a comment.

 
 

Previous 3 comments

Avatar
Administrator
Avatar

Error while collecting disk stats from : You gave an invalid object reference

Don't know if this is still an issue, but it looks like CCP is asking XAPI for information about a VDI that no longer exists. I would assume that this would have timed out at some point, but if not it might be worth restarting the CCP java processes on your management server(s).

 

--Mike


Michael Little MEMBERS 29 April 2014 - 16:50 PM
Comment actions Permalink
Avatar
Timothy Lothering

Thanks Mike,

 

I have tried restarting the CCP management servers (full restart) as well as the XenServer Hosts. I still get this issue. I can only think of possibly removing and re-adding the hosts to CCP?

 

Your thoughts?

 

Regards,

 

Timothy


Comment actions Permalink
Avatar
Administrator
Avatar

I would be very careful about removing and re-adding the hosts. I don't know that it is still required, but I still re-install the hypervisor before re-adding them. This use to be a documented requirement, back in the 3.x days, and I haven't check the docs recently.

 

Before going to that extreme, I would try to figure out which VDI exists in the CCP DB, marked as still active, that doesn't exist on any of your SRs. Then you can mark the DB entry as removed and the errors should stop.

 

--Mike


Michael Little MEMBERS 30 April 2014 - 00:23 AM
Comment actions Permalink

Top Contributors