cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santhosh Edukulla <santhosh.eduku...@citrix.com>
Subject RE: Simulator : Error while creating a snapshot from a VM
Date Fri, 21 Mar 2014 08:25:20 GMT
Meghna,

Please check the code from master or 4.4, there were few fixes added to simulator code, few
cases failing in earlier versions were now working.

Also, not all cases are possible with simulator i believe, few cases still has dependencies
inbuilt. first check simulator code from master\4.4 first and then see if it works, else log
a bug, so we can look at it.  

Santhosh
________________________________________
From: Meghna Kale [meghna.kale@sungard.com]
Sent: Friday, March 21, 2014 4:19 AM
To: dev@cloudstack.apache.org
Subject: Re: Simulator : Error while creating a snapshot from a VM

David,


I tried applying the changes from the commit mentioned by you and re-build
the code. But still the problem is not solved.

Need help.

Thanks
Meghna.


On Thu, Mar 20, 2014 at 10:22 PM, David Grizzanti <
david.grizzanti@sungard.com> wrote:

> Meghna,
>
> I realized one thing that is missing from 4.3 and 4.2 that I added (it's on
> 4.4 and master though).  Here is the commit
>
> https://github.com/apache/cloudstack/commit/dfb81ac1274d8ebe4a47223d10f3de44aa9091bf
> .
>
> If you apply that and re-build, it should fix the create VM snapshot issue.
>
>
> On Thu, Mar 20, 2014 at 6:56 AM, Meghna Kale <meghna.kale@sungard.com
> >wrote:
>
> > Hi All,
> >
> > I have been seeing an error while creating a snapshot from a VM in the
> > Simulator.
> > I faced this issue on both the versions 4.2 and 4.3.
> >
> > Can anyone help me or provide pointers.
> >
> > A similar NullPointer error is also thrown while creating a VM from a
> > personal template created from an existing VM.
> >
> > Error from vmops.log :
> >
> > ERROR [cloud.api.ApiServer] (31312594@qtp-24163675-2:) unhandled
> exception
> > executing api command: createVMSnapshot
> > java.lang.NullPointerException
> >         at
> >
> >
> com.cloud.hypervisor.dao.HypervisorCapabilitiesDaoImpl.isVmSnapshotEnabled(HypervisorCapabilitiesDaoImpl.java:103)
> >         at
> >
> >
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> >         at
> >
> >
> com.cloud.vm.snapshot.VMSnapshotManagerImpl.allocVMSnapshot(VMSnapshotManagerImpl.java:257)
> >         at
> >
> >
> org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd.create(CreateVMSnapshotCmd.java:78)
> >         at
> > com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
> >         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:461)
> >         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
> >         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
> >         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> >         at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> >         at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> >         at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >         at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> >         at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> >         at
> > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> >         at
> >
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> >         at
> >
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >         at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> >         at org.mortbay.jetty.Server.handle(Server.java:326)
> >         at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> >         at
> >
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> >         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> >         at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> >         at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> >         at
> >
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> >         at
> >
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> > Thanks
> > Meghna.
> >
>
>
>
> --
> David Grizzanti
> Software Engineer
> Sungard Availability Services
>
> e: david.grizzanti@sungard.com
> w: 215.446.1431
> c: 570.575.0315
>

Mime
View raw message