Community
 
 
 

CloudPlatform 4.x

284 abonnés
 
Avatar
Gert Jensen

Unable to create instances

Hello,

After the upgrade i am having trouble creating instances.
I am getting.
Failed to increment resource count of type primary_storage for account id.

when i tail -f management-server.log i get
2013-10-13 11:08:42,084 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-56:null) Vm cpu utilization 7.735
2013-10-13 11:08:42,103 WARN [xen.resource.CitrixResourceBase] (DirectAgent-56: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:2731)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2631)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:493)
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:679)
2013-10-13 11:08:42,106 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-56:null) Seq 2-1599930409: Response Received:

?
I think i says that there is missing a disk of some sort.. ?

I am not too sure about my secondary storage, how can i check that cloudstack can see this..

anybody ?

Kind regards
Gert

Edited by: Gert Jensen on 13-10-2013 11:10


6 commentaires
0

Vous devez vous connecter pour laisser un commentaire.

 
 

Previous 6 commentaires

Avatar
Gert Jensen

Hello.

Does anybody know if it is safe to delete the xenserver template i uploaded before i began.. ?
When i click on it i do not get the same options as the other templates.

Is is in state READY though..

Kind regards
Gert


Actions pour les commentaires Permalien
Avatar
Pankaj Paliwal
Avatar

> {quote:title=grj@ms-team.dk wrote:}{quote}
> Hello,
>
> After the upgrade i am having trouble creating instances.
> I am getting.
> Failed to increment resource count of type primary_storage for account id.
>
> when i tail -f management-server.log i get
> 2013-10-13 11:08:42,084 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-56:null) Vm cpu utilization 7.735
> 2013-10-13 11:08:42,103 WARN [xen.resource.CitrixResourceBase] (DirectAgent-56: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:2731)
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2631)
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:493)
> 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:679)
> 2013-10-13 11:08:42,106 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-56:null) Seq 2-1599930409: Response Received:
>
>
> ?
> I think i says that there is missing a disk of some sort.. ?
>
> I am not too sure about my secondary storage, how can i check that cloudstack can see this..
>
> anybody ?
>
> Kind regards
> Gert
>
> Edited by: Gert Jensen on 13-10-2013 11:10

The error may not be related to VM deployment. Can you share the complete logs?


Somesh Naidu CITRIX EMPLOYEES
Actions pour les commentaires Permalien
Avatar
Pankaj Paliwal
Avatar

> {quote:title=grj@ms-team.dk wrote:}{quote}
> Hello.
>
> Does anybody know if it is safe to delete the xenserver template i uploaded before i began.. ?
> When i click on it i do not get the same options as the other templates.
>
> Is is in state READY though..
>
> Kind regards
> Gert

Your query isn't clear but if you are asking if it is okay to delete a xenserver based template that is in Ready state in cloudstack, then yes it should be fine.


Somesh Naidu CITRIX EMPLOYEES
Actions pour les commentaires Permalien
Avatar
Gert Jensen

Hello Somesh Naidu,

I have allso opened a ticket at Citrix for This.

Attached is the complease log.

I will try to delete the Xenserver Template to see id it is that..

Kind regards
Gert

Attached Files


Actions pour les commentaires Permalien
Avatar
Gert Jensen

When i try to delete the template is sayes.
The DomR template cannot be deleted.

Kind regards
Gert Jensen


Actions pour les commentaires Permalien
Avatar
Gert Jensen

It is an error in 4.2 it is corrected in 4.2.1


Actions pour les commentaires Permalien

Top Contributors