Hi Antoine, What is the CloudStack version, where you see this issue. When you noticed this issue, is it while listing snapshots for a particular volume, or all volumes? Try list snapshots from API/cmk as well.
Also, Check the snapshots details for the volume (with issue) in the db, using the following sql queries. 1. SELECT id, uuid, state, pool_id, path, size, removed FROM cloud.volumes WHERE name LIKE '<volume_name>' 2. SELECT id, uuid, name, status, path, created, removed, location_type FROM cloud.snapshots WHERE volume_id = <volume_id_from_step_1>; 3. SELECT volume_id, store_id, store_role, install_path, size, state FROM cloud.snapshot_store_ref WHERE snapshot_id = <snapshot_id_from_step_2> Regards, Suresh On 21/04/22, 8:45 AM, "Antoine Boucher" <[email protected]> wrote: Unfortunately I spoke too fast. The list is back but listing the snapshots of the volume with issue still show a blank list with error “undefined”. On Apr 20, 2022, at 23:11, Antoine Boucher <[email protected]> wrote: I was able to recover from the situation by forcing a snapshot on the volume with issue. On Apr 20, 2022, at 22:00, Antoine Boucher <[email protected]> wrote: I pin-pointed the volume with the issue by going through all volumes and clicking the “view snapshot" > On Apr 20, 2022, at 9:35 PM, Antoine Boucher <[email protected]> wrote: > > I’m no longer able to see my list of snapshots (storage > snapshots), instead I see a small popup window with the word “undefined" on an empty list snapshot list. > > Has anyone seen this issue? I restart and rebooted the Management server but no resolution. > > Here are my logs: > > 2022-04-20 21:17:02,428 DEBUG [c.c.a.ApiServlet] (qtp515715487-292:ctx-a220f915) (logid:624389ae) ===START=== 10.101.254.1 -- GET listall=true&page=1&pagesize=20&command=listSnapshots&response=json > 2022-04-20 21:17:02,439 DEBUG [c.c.a.ApiServer] (qtp515715487-292:ctx-a220f915 ctx-c0fe9f91) (logid:624389ae) CIDRs from which account 'Acct[2cee75f9-8bc4-11ec-9c43-001e67fd4838-admin] -- Account {"id": 2, "name": "admin", "uuid": "2cee75f9-8bc4-11ec-9c43-001e67fd4838"}' is allowed to perform API calls: 0.0.0.0/0,::/0 > 2022-04-20 21:17:02,675 ERROR [c.c.a.ApiServer] (qtp515715487-292:ctx-a220f915 ctx-c0fe9f91) (logid:624389ae) unhandled exception executing api command: [Ljava.lang.String;@42fa8f7d > java.lang.NullPointerException > at org.apache.cloudstack.storage.snapshot.StorageSystemSnapshotStrategy.canHandle(StorageSystemSnapshotStrategy.java:985) > at org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl$3.canHandle(StorageStrategyFactoryImpl.java:72) > at org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl$3.canHandle(StorageStrategyFactoryImpl.java:69) > at org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl.bestMatch(StorageStrategyFactoryImpl.java:95) > at org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl.getSnapshotStrategy(StorageStrategyFactoryImpl.java:69) > at org.apache.cloudstack.storage.snapshot.SnapshotObject.isRevertable(SnapshotObject.java:156) > at com.cloud.api.ApiResponseHelper.createSnapshotResponse(ApiResponseHelper.java:591) > at org.apache.cloudstack.api.command.user.snapshot.ListSnapshotsCmd.execute(ListSnapshotsCmd.java:117) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:772) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:596) > at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:321) > at com.cloud.api.ApiServlet$1.run(ApiServlet.java:134) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:131) > at com.cloud.api.ApiServlet.doGet(ApiServlet.java:93) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) > at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763) > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) > at org.eclipse.jetty.server.Server.handle(Server.java:516) > at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) > at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) > at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) > at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) > at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555) > at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410) > at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) > at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) > at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) > at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) > at java.base/java.lang.Thread.run(Thread.java:829) > 2022-04-20 21:17:02,677 DEBUG [c.c.a.ApiServlet] (qtp515715487-292:ctx-a220f915 ctx-c0fe9f91) (logid:624389ae) ===END=== 10.101.254.1 -- GET listall=true&page=1&pagesize=20&command=listSnapshots&response=json > > Antoine Boucher > > > Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system. >
