You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Nikita Gubenko <ni...@gmail.com> on 2013/04/03 15:35:19 UTC

CS4 with XCP1.6 host

Hello
I'm trying to set cloudstack with XCP 1.6 host and can't start system VMs.
They are trying to start over and over again but get

2013-04-03 17:31:00,894 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-123:null) Catch Exception: class
java.util.NoSuchElementException due to java.util.NoSuchElementException
java.util.NoSuchElementException
        at
java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:392)
        at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:991)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1300)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
        at
com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:52)
        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)

At XCP host I see weird entries in log
Apr  3 17:31:25 cl1 xapi: [debug|cl1|79180 UNIX /var/xapi/xapi|event.next
D:d52669e39266|dispatcher] Server_helpers.exec exception_handler: Got
exception SESSION_INVALID: [ OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc
]
Apr  3 17:31:25 cl1 xapi: [debug|cl1|85310 UNIX
/var/xapi/xapi|session_check D:04f6a0c5a8d1|dispatcher] Server_helpers.exec
exception_handler: Got exception SESSION_INVALID: [
OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc ]
Apr  3 17:31:30 cl1 xapi: [debug|cl1|85343 UNIX
/var/xapi/xapi|VDI.get_by_uuid D:557eae029b09|dispatcher]
Server_helpers.exec exception_handler: Got exception UUID_INVALID: [ VDI;
d5f5ad17-ac1b-463d-a9d3-e6f94675a7f7 ]
Apr  3 17:32:30 cl1 xapi: [debug|cl1|85526 UNIX
/var/xapi/xapi|VDI.get_by_uuid D:e57dbbf0b9de|dispatcher]
Server_helpers.exec exception_handler: Got exception UUID_INVALID: [ VDI;
b4791ecf-eef1-485f-837e-152de4af29bc ]

I've already tried 4.0.1 & 4.1.0. Here is some part of the log file
http://37.140.192.213:81/management-server.txt

Is it a bug or something wrong with my setup?
Thanks

-- 
Best Regards, Nikita Gubenko

Re: CS4 with XCP1.6 host

Posted by Nikita Gubenko <ni...@gmail.com>.
The host was added successfully, this is not the "sanity check" problem


On Fri, Apr 5, 2013 at 9:54 PM, Ben Doherty <be...@orbital.net> wrote:

> I didn't think CS4 supported xcp 1.6 but 4.1 will when released? I think
> you can hack the backend to tell cs 4 that 1.6 is supported in some sanity
> check.
>
> On Friday, 5 April 2013, Nguyen Anh Tu wrote:
>
> > I got the same problem. Anyone can help?
> >
> >
> > 2013/4/3 Nikita Gubenko <nikita.gubenko@gmail.com <javascript:;>>
> >
> > > Hello
> > > I'm trying to set cloudstack with XCP 1.6 host and can't start system
> > VMs.
> > > They are trying to start over and over again but get
> > >
> > > 2013-04-03 17:31:00,894 WARN  [xen.resource.CitrixResourceBase]
> > > (DirectAgent-123:null) Catch Exception: class
> > > java.util.NoSuchElementException due to
> java.util.NoSuchElementException
> > > java.util.NoSuchElementException
> > >         at
> > >
> > >
> >
> java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:392)
> > >         at
> > java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)
> > >         at
> > >
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:991)
> > >         at
> > >
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1300)
> > >         at
> > >
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
> > >         at
> > >
> > >
> >
> com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:52)
> > >         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)
> > >
> > > At XCP host I see weird entries in log
> > > Apr  3 17:31:25 cl1 xapi: [debug|cl1|79180 UNIX
> /var/xapi/xapi|event.next
> > > D:d52669e39266|dispatcher] Server_helpers.exec exception_handler: Got
> > > exception SESSION_INVALID: [
> > OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc
> > > ]
> > > Apr  3 17:31:25 cl1 xapi: [debug|cl1|85310 UNIX
> > > /var/xapi/xapi|session_check D:04f6a0c5a8d1|dispatcher]
> > Server_helpers.exec
> > > exception_handler: Got exception SESSION_INVALID: [
> > > OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc ]
> > > Apr  3 17:31:30 cl1 xapi: [debug|cl1|85343 UNIX
> > > /var/xapi/xapi|VDI.get_by_uuid D:557eae029b09|dispatcher]
> > > Server_helpers.exec exception_handler: Got exception UUID_INVALID: [
> VDI;
> > > d5f5ad17-ac1b-463d-a9d3-e6f94675a7f7 ]
> > > Apr  3 17:32:30 cl1 xapi: [debug|cl1|85526 UNIX
> > > /var/xapi/xapi|VDI.get_by_uuid D:e57dbbf0b9de|dispatcher]
> > > Server_helpers.exec exception_handler: Got exception UUID_INVALID: [
> VDI;
> > > b4791ecf-eef1-485f-837e-152de4af29bc ]
> > >
> > > I've already tried 4.0.1 & 4.1.0. Here is some part of the log file
> > > http://37.140.192.213:81/management-server.txt
> > >
> > > Is it a bug or something wrong with my setup?
> > > Thanks
> > >
> > > --
> > > Best Regards, Nikita Gubenko
> > >
> >
> >
> >
> > --
> >
> > N.g.U.y.e.N.A.n.H.t.U
> >
>



-- 
Best Regards, Nikita Gubenko

Re: CS4 with XCP1.6 host

Posted by Ben Doherty <be...@orbital.net>.
I didn't think CS4 supported xcp 1.6 but 4.1 will when released? I think
you can hack the backend to tell cs 4 that 1.6 is supported in some sanity
check.

On Friday, 5 April 2013, Nguyen Anh Tu wrote:

> I got the same problem. Anyone can help?
>
>
> 2013/4/3 Nikita Gubenko <nikita.gubenko@gmail.com <javascript:;>>
>
> > Hello
> > I'm trying to set cloudstack with XCP 1.6 host and can't start system
> VMs.
> > They are trying to start over and over again but get
> >
> > 2013-04-03 17:31:00,894 WARN  [xen.resource.CitrixResourceBase]
> > (DirectAgent-123:null) Catch Exception: class
> > java.util.NoSuchElementException due to java.util.NoSuchElementException
> > java.util.NoSuchElementException
> >         at
> >
> >
> java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:392)
> >         at
> java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:991)
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1300)
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:52)
> >         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)
> >
> > At XCP host I see weird entries in log
> > Apr  3 17:31:25 cl1 xapi: [debug|cl1|79180 UNIX /var/xapi/xapi|event.next
> > D:d52669e39266|dispatcher] Server_helpers.exec exception_handler: Got
> > exception SESSION_INVALID: [
> OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc
> > ]
> > Apr  3 17:31:25 cl1 xapi: [debug|cl1|85310 UNIX
> > /var/xapi/xapi|session_check D:04f6a0c5a8d1|dispatcher]
> Server_helpers.exec
> > exception_handler: Got exception SESSION_INVALID: [
> > OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc ]
> > Apr  3 17:31:30 cl1 xapi: [debug|cl1|85343 UNIX
> > /var/xapi/xapi|VDI.get_by_uuid D:557eae029b09|dispatcher]
> > Server_helpers.exec exception_handler: Got exception UUID_INVALID: [ VDI;
> > d5f5ad17-ac1b-463d-a9d3-e6f94675a7f7 ]
> > Apr  3 17:32:30 cl1 xapi: [debug|cl1|85526 UNIX
> > /var/xapi/xapi|VDI.get_by_uuid D:e57dbbf0b9de|dispatcher]
> > Server_helpers.exec exception_handler: Got exception UUID_INVALID: [ VDI;
> > b4791ecf-eef1-485f-837e-152de4af29bc ]
> >
> > I've already tried 4.0.1 & 4.1.0. Here is some part of the log file
> > http://37.140.192.213:81/management-server.txt
> >
> > Is it a bug or something wrong with my setup?
> > Thanks
> >
> > --
> > Best Regards, Nikita Gubenko
> >
>
>
>
> --
>
> N.g.U.y.e.N.A.n.H.t.U
>

Re: CS4 with XCP1.6 host

Posted by Nguyen Anh Tu <ng...@gmail.com>.
I got the same problem. Anyone can help?


2013/4/3 Nikita Gubenko <ni...@gmail.com>

> Hello
> I'm trying to set cloudstack with XCP 1.6 host and can't start system VMs.
> They are trying to start over and over again but get
>
> 2013-04-03 17:31:00,894 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-123:null) Catch Exception: class
> java.util.NoSuchElementException due to java.util.NoSuchElementException
> java.util.NoSuchElementException
>         at
>
> java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:392)
>         at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)
>         at
>
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:991)
>         at
>
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1300)
>         at
>
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
>         at
>
> com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:52)
>         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)
>
> At XCP host I see weird entries in log
> Apr  3 17:31:25 cl1 xapi: [debug|cl1|79180 UNIX /var/xapi/xapi|event.next
> D:d52669e39266|dispatcher] Server_helpers.exec exception_handler: Got
> exception SESSION_INVALID: [ OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc
> ]
> Apr  3 17:31:25 cl1 xapi: [debug|cl1|85310 UNIX
> /var/xapi/xapi|session_check D:04f6a0c5a8d1|dispatcher] Server_helpers.exec
> exception_handler: Got exception SESSION_INVALID: [
> OpaqueRef:a7d7273f-e2bb-67cf-9f45-b04ec9a675bc ]
> Apr  3 17:31:30 cl1 xapi: [debug|cl1|85343 UNIX
> /var/xapi/xapi|VDI.get_by_uuid D:557eae029b09|dispatcher]
> Server_helpers.exec exception_handler: Got exception UUID_INVALID: [ VDI;
> d5f5ad17-ac1b-463d-a9d3-e6f94675a7f7 ]
> Apr  3 17:32:30 cl1 xapi: [debug|cl1|85526 UNIX
> /var/xapi/xapi|VDI.get_by_uuid D:e57dbbf0b9de|dispatcher]
> Server_helpers.exec exception_handler: Got exception UUID_INVALID: [ VDI;
> b4791ecf-eef1-485f-837e-152de4af29bc ]
>
> I've already tried 4.0.1 & 4.1.0. Here is some part of the log file
> http://37.140.192.213:81/management-server.txt
>
> Is it a bug or something wrong with my setup?
> Thanks
>
> --
> Best Regards, Nikita Gubenko
>



-- 

N.g.U.y.e.N.A.n.H.t.U