[
https://issues.apache.org/jira/browse/DTACLOUD-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038805#comment-13038805
]
wes hayutin commented on DTACLOUD-43:
-------------------------------------
RHEVM powershell trace
</Objects>
17:15:34,504 INFO [STDOUT] </output> 1
17:15:34,504 ERROR [[Resteasy]] Servlet.service() for servlet Resteasy threw
exception
org.jboss.resteasy.spi.UnhandledException:
com.redhat.rhevm.api.powershell.util.PowerShellException: Command '$templ =
get-template -templateid "3b3b6
403-2941-4001-9468-758b587f1aab";$v = add-vm -name "test02" -templateobject
$templ -hostclusterid "5" -vmtype Server -memorysize 512 -numofsockets 1 -
numofcpuspersocket 1 -async;$v;$tasks = get-lastcommandtasks ; if ($tasks) {
$tasks ; get-tasksstatus -commandtaskidlist $tasks } ; $v | foreach { $d
= $_.creationdate; $d; $d = [system.datetime]::specifykind($d,
[system.datetimeKind]::utc); [string]::format("{0}:{1}:{2}:{3}:{4}:{5}",
$d.year, $d.mo
nth, $d.day, $d.hour,$d.minute, $d.second); if ($_.runningonhost -ne '-1')
{ $h = get-host $_.runningonhost; $nics = $h.getnetworkadapters(); $
nets = get-networks -clusterid $h.hostclusterid; foreach ($net in $nets) {
if ($net.isdisplay) { $display_net = $net.name; break; }
} if (!$display_net) { $display_net = "rhevm"; } $display_nic = $nics[0];
foreach ($nic in $nics) { if ($nic.network -eq $display_net) {
$display_nic = $nic; } } $display_nic;}}' exited with status=1
at
org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:329)
at
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:305)
at
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:198)
at
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:174)
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:518)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.redhat.rhevm.api.powershell.util.PowerShellException: Command
'$templ = get-template -templateid "3b3b6403-2941-4001-9468-758b587f1aab"
;$v = add-vm -name "test02" -templateobject $templ -hostclusterid "5" -vmtype
Server -memorysize 512 -numofsockets 1 -numofcpuspersocket 1 -async;$v;$
tasks = get-lastcommandtasks ; if ($tasks) { $tasks ; get-tasksstatus
-commandtaskidlist $tasks } ; $v | foreach { $d = $_.creationdate; $d; $d = [sys
tem.datetime]::specifykind($d, [system.datetimeKind]::utc);
[string]::format("{0}:{1}:{2}:{3}:{4}:{5}", $d.year, $d.month, $d.day,
$d.hour,$d.minute,
$d.second); if ($_.runningonhost -ne '-1') { $h = get-host
$_.runningonhost; $nics = $h.getnetworkadapters(); $nets = get-networks
-clusterid $
h.hostclusterid; foreach ($net in $nets) { if ($net.isdisplay) {
$display_net = $net.name; break; } } if (!$display_net) { $disp
lay_net = "rhevm"; } $display_nic = $nics[0]; foreach ($nic in $nics) {
if ($nic.network -eq $display_net) { $display_nic = $nic; } }
$display_nic;}}' exited with status=1
at
com.redhat.rhevm.api.powershell.util.PowerShellCmd.handleExitStatus(PowerShellCmd.java:253)
at
com.redhat.rhevm.api.powershell.util.PowerShellCmd.complete(PowerShellCmd.java:248)
at
com.redhat.rhevm.api.powershell.util.PowerShellCmd.runCommand(PowerShellCmd.java:279)
at
com.redhat.rhevm.api.powershell.resource.PowerShellVmResource.runAndParse(PowerShellVmResource.java:78)
at
com.redhat.rhevm.api.powershell.resource.PowerShellVmResource.runAndParseSingle(PowerShellVmResource.java:82)
at
com.redhat.rhevm.api.powershell.resource.PowerShellVmsResource.runAndParseSingle(PowerShellVmsResource.java:103)
at
com.redhat.rhevm.api.powershell.resource.PowerShellVmsResource.add(PowerShellVmsResource.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252)
at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:217)
at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:206)
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:503)
... 26 more
> Image Create fails w/ RHEVM driver
> ----------------------------------
>
> Key: DTACLOUD-43
> URL: https://issues.apache.org/jira/browse/DTACLOUD-43
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Environment: RHEVM, powershell,
> Reporter: wes hayutin
> Assignee: David Lutterkort
>
> Using the same RHEVM environment used for the cloud engine sprint demo on
> 5/20/11.
> prereq.. RHEVM env w/ template, storage, etc.
> 1. Setup deltacloud 0.3.0 rhevm driver
> 2. log into rhevm deltacloud driver web ui, navigate to images
> 3. choose a built template
> 4. click launch
> 5. Fill out form w/ 5gb hardisk, 1cpu, submit
> 500 error.. Deltacloud Trace
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira