Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3382D10D23 for ; Thu, 5 Jun 2014 22:22:02 +0000 (UTC) Received: (qmail 5291 invoked by uid 500); 5 Jun 2014 22:22:02 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 5263 invoked by uid 500); 5 Jun 2014 22:22:02 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 5255 invoked by uid 500); 5 Jun 2014 22:22:02 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 5250 invoked by uid 99); 5 Jun 2014 22:22:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 22:22:02 +0000 Date: Thu, 5 Jun 2014 22:22:02 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6825) [Automation] Create template from snapshot fails with NPE in KVM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14019353#comment-14019353 ] Rayees Namathponnan commented on CLOUDSTACK-6825: ------------------------------------------------- i have seen this issue only KVM, yes this should be blocker it was working in previous builds > [Automation] Create template from snapshot fails with NPE in KVM > ---------------------------------------------------------------- > > Key: CLOUDSTACK-6825 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6825 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM, Template > Affects Versions: 4.4.0 > Environment: KVM RHEL 6.4 > 4.4-forward branch > Reporter: Rayees Namathponnan > Priority: Blocker > Fix For: 4.4.0 > > Attachments: management-server.rar > > > Steps to reproduce this issue > Step 1 : Deploy VM > Step 2 : Create snapshot of ROOT disk > Step 3 : Create template from snapshot > Result > Creating template from snapshot fails with NPE > hosts for clusters not owned by any management server > 2014-06-02 12:03:34,564 DEBUG [c.c.a.ApiServlet] (catalina-exec-8:ctx-45977b95) ===START=== 10.216.50.29 -- GET command=createTemplate&response=json&sessionkey=yTvMoOgQNxo03BBHtLaCrlOUYXE%3D&snapshotid=df67cca3-c88e-42dc-9e40-7798e6ddd601&name=Rayees&displayText=Rayees&osTypeId=5f981174-e891-11e3-b2ef-1a6f7bb0d0a8&isPublic=true&passwordEnabled=false&isdynamicallyscalable=false&_=1401735816975 > 2014-06-02 12:03:34,573 ERROR [c.c.a.ApiServer] (catalina-exec-8:ctx-45977b95 ctx-eeca4b45) unhandled exception executing api command: [Ljava.lang.String;@4f901948 > java.lang.NullPointerException > at com.cloud.user.AccountManagerImpl.checkAccess(AccountManagerImpl.java:498) > at com.cloud.user.AccountManagerImpl.checkAccess(AccountManagerImpl.java:486) > at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > at com.sun.proxy.$Proxy100.checkAccess(Unknown Source) > at com.cloud.api.dispatch.ParamProcessWorker.doAccessChecks(ParamProcessWorker.java:226) > at com.cloud.api.dispatch.ParamProcessWorker.processParameters(ParamProcessWorker.java:216) > at com.cloud.api.dispatch.ParamProcessWorker.handle(ParamProcessWorker.java:88) > at com.cloud.api.dispatch.DispatchChain.dispatch(DispatchChain.java:37) > at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:79) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:614) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506) > at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) > at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) > at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118) > 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 com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115) > at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) -- This message was sent by Atlassian JIRA (v6.2#6252)