rashid created CLOUDSTACK-5467: ---------------------------------- Summary: While Listing snapshots for volumes getting error as "Unable to find info for image store snapshot with uuid '99c70ee3-76ad-4a59-aaa1-59f0943a5f06'" Key: CLOUDSTACK-5467 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5467 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Management Server Affects Versions: 4.3.0 Environment: volume Snapshot, Reporter: rashid Fix For: 4.3.0
id data_center_id account_id domain_id volume_id disk_offering_id status path name uuid snapshot_type type_description size created 1 1 2 1 3 4 BackingUp win2012_ROOT-3_20131211111819 3d0ecb42-5c94-4cc7-bcd5-ccbea7113349 0 MANUAL 21474836480 2013-12-11 11:18:19 2 1 2 1 3 4 CreatedOnPrimary win2012_ROOT-3_20131211122200 99c70ee3-76ad-4a59-aaa1-59f0943a5f06 0 MANUAL 21474836480 2013-12-11 12:22:00 If the status is "CreatedOnPrimary" in DB, volume snapshot throws error as "Unable to find info for image store snapshot with uuid '99c70ee3-76ad-4a59-aaa1-59f0943a5f06" logs pasted below 2013-12-11 07:32:33,356 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-e4753f05) Completed acquiring hosts for clusters not owned by any management server 2013-12-11 07:32:37,023 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-64:ctx-fe4c4c2e) Ping from 1(rx200rcu2) 2013-12-11 07:32:37,460 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) SeqA 2-1937: Processing Seq 2-1937: { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2013-12-11 07:32:37,466 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) SeqA 2-1937: Sending Seq 2-1937: { Ans: , MgmtId: 345052565034, via: 2, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2013-12-11 07:32:39,491 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-65:ctx-9d51ce5c) Seq 1-851902471: Executing request 2013-12-11 07:32:39,796 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-65:ctx-9d51ce5c) Seq 1-851902471: Response Received: 2013-12-11 07:32:39,797 DEBUG [c.c.a.t.Request] (DirectAgent-65:ctx-9d51ce5c) Seq 1-851902471: Processing: { Ans: , MgmtId: 345052565034, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] } 2013-12-11 07:32:41,465 DEBUG [c.c.a.ApiServlet] (638730887@qtp-534514750-5:ctx-f872c255) ===START=== 10.74.231.16 -- GET command=listSnapshots&response=json&sessionkey=JQoMUbWafpqxm%2BE%2BNlbqad7g3EY%3D&listAll=true&page=1&pagesize=20&_=1386764508251 2013-12-11 07:32:41,482 ERROR [c.c.a.ApiServer] (638730887@qtp-534514750-5:ctx-f872c255 ctx-c1f292cf) unhandled exception executing api command: listSnapshots com.cloud.utils.exception.CloudRuntimeException: Unable to find info for image store snapshot with uuid '99c70ee3-76ad-4a59-aaa1-59f0943a5f06' at com.cloud.api.ApiResponseHelper.createSnapshotResponse(ApiResponseHelper.java:465) at org.apache.cloudstack.api.command.user.snapshot.ListSnapshotsCmd.execute(ListSnapshotsCmd.java:114) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:530) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114) 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:111) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:73) 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) 2013-12-11 07:32:41,484 DEBUG [c.c.a.ApiServlet] (638730887@qtp-534514750-5:ctx-f872c255 ctx-c1f292cf) ===END=== 10.74.231.16 -- GET command=listSnapshots&response=json&sessionkey=JQoMUbWafpqxm%2BE%2BNlbqad7g3EY%3D&listAll=true&page=1&pagesize=20&_=1386764508251 -- This message was sent by Atlassian JIRA (v6.1.4#6159)