Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D648B6C70 for ; Tue, 24 May 2011 21:27:32 +0000 (UTC) Received: (qmail 87701 invoked by uid 500); 24 May 2011 21:27:32 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 87683 invoked by uid 500); 24 May 2011 21:27:32 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 87675 invoked by uid 99); 24 May 2011 21:27:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 21:27:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 21:27:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5AE93DCF10 for ; Tue, 24 May 2011 21:26:48 +0000 (UTC) Date: Tue, 24 May 2011 21:26:48 +0000 (UTC) From: "wes hayutin (JIRA)" To: deltacloud-dev@incubator.apache.org Message-ID: <43234036.40558.1306272408369.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1765058386.40553.1306272407475.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DTACLOUD-43) Image Create fails w/ RHEVM driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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 17:15:34,504 INFO [STDOUT] 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