Skip to content

Save and Restore - Cannot delete a snapshot #3587

@rosstitmarsh

Description

@rosstitmarsh

I have created several configurations each containing a single snapshots using the REST API, then added the snapshots to a composite snapshot. I then deleted the composite snapshot and tried to delete all of the previously created configurations and snapshots. This was successful for all of them except for one of snapshots them which gives this error when trying to delete it.

java.util.concurrent.ExecutionException:` java.lang.RuntimeException: org.phoebus.applications.saveandrestore.SaveAndRestoreClientException: Failed to delete nodes: {"timestamp":1760360793102,"status":500,"error":"Internal Server Error","path":"/save-restore/node"}
	at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
	at org.phoebus.applications.saveandrestore.ui.SaveAndRestoreService.deleteNodes(SaveAndRestoreService.java:129)
	at org.phoebus.applications.saveandrestore.ui.SaveAndRestoreController.lambda$deleteTreeItems$21(SaveAndRestoreController.java:480)
	at org.phoebus.framework.jobs.Job.execute(Job.java:50)
	at org.phoebus.framework.jobs.JobManager.execute(JobManager.java:54)
	at org.phoebus.framework.jobs.JobManager.lambda$schedule$0(JobManager.java:45)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: org.phoebus.applications.saveandrestore.SaveAndRestoreClientException: Failed to delete nodes: {"timestamp":1760360793102,"status":500,"error":"Internal Server Error","path":"/save-restore/node"}
	at org.phoebus.applications.saveandrestore.client.SaveAndRestoreClientImpl.deleteNodes(SaveAndRestoreClientImpl.java:201)
	at org.phoebus.applications.saveandrestore.ui.SaveAndRestoreService.lambda$deleteNodes$4(SaveAndRestoreService.java:129)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	... 4 more
Caused by: org.phoebus.applications.saveandrestore.SaveAndRestoreClientException: Failed to delete nodes: {"timestamp":1760360793102,"status":500,"error":"Internal Server Error","path":"/save-restore/node"}
	at org.phoebus.applications.saveandrestore.client.SaveAndRestoreClientImpl.deleteNodes(SaveAndRestoreClientImpl.java:198)
	... 6 more

I have a attached copy of the server logs here Phoebus_-_Save_and_restore.log

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions