cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amogh Vasekar (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-6896) Dynamically added OS Type throws NoSuchElement Exception on Xen
Date Thu, 12 Jun 2014 23:33:02 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amogh Vasekar reassigned CLOUDSTACK-6896:
-----------------------------------------

    Assignee: Amogh Vasekar  (was: Santhosh Kumar Edukulla)

> Dynamically added OS Type throws NoSuchElement Exception on Xen
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6896
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6896
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Hypervisor Controller
>    Affects Versions: 4.4.0
>         Environment: Managment Server: 4.4.0
> Host: XenServer Hypervisor 6.2
>            Reporter: Pavan Kumar Bandarupally
>            Assignee: Amogh Vasekar
>            Priority: Critical
>             Fix For: 4.4.0
>
>         Attachments: management-server.log
>
>
> A dynamically added OS is used as OS type for an ISO registered in cloudstack. An instance
deployed using that ISO doesn't get created throwing an exception.
> MS Exception trace excerpt:
> ===================== 
> 2014-06-12 02:03:45,707 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-281:ctx-c47880f2)
Seq 1-5437252125119752015: Executing request
> 2014-06-12 02:03:45,720 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-281:ctx-c47880f2)
1. The VM i-2-8-VM is in Starting state.
> 2014-06-12 02:03:45,723 WARN  [c.c.h.x.r.XenServer620Resource] (DirectAgent-281:ctx-c47880f2)
XenServer 6.2.0 DOES NOT support Guest OS type centospavan
> 2014-06-12 02:03:45,726 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-281:ctx-c47880f2)
Cannot find template : null on XS version: com.cloud.hypervisor.xen.resource.XenServer620Resource
> 2014-06-12 02:03:45,727 WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-281:ctx-c47880f2)
Catch Exception: class java.util.NoSuchElementException due to java.util.NoSuchElementException
> java.util.NoSuchElementException
>         at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:396)
>         at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:405)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:1359)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1787)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:504)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:293)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-06-12 02:03:45,729 WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-281:ctx-c47880f2)
Unable to start i-2-8-VM due to
> java.util.NoSuchElementException
>         at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:396)
>         at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:405)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTemplate(CitrixResourceBase.java:1359)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1787)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:504)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:293)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-06-12 02:03:45,731 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-281:ctx-c47880f2)
The VM is in stopped state, detected problem during startup : i-2-8-VM



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message