Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cannot delete archived recordings #175

Closed
andrewazores opened this issue Nov 21, 2023 · 0 comments · Fixed by #176
Closed

[Bug] Cannot delete archived recordings #175

andrewazores opened this issue Nov 21, 2023 · 0 comments · Fixed by #176
Assignees
Labels
bug Something isn't working

Comments

@andrewazores
Copy link
Member

andrewazores commented Nov 21, 2023

Current Behavior

An HTTP 400 response occurs when attempting to delete archived recordings.

Expected Behavior

An HTTP 2xx response, a WebSocket notification corresponding to the deletion event, and a successful view update.

Steps To Reproduce

Create a recording, archive it, go to Archives > All Archives, and try to delete the recording.

Environment

No response

Anything else?

image

cryostat_1            | Nov 21, 2023 6:37:23 PM io.cryostat.recordings.Recordings deleteArchivedRecording
cryostat_1            | INFO: Handling archived recording deletion: $h�ɼ�!pC�4`i�X���iL�W / compose-sample-app-1_test_20231121T183631Z.jfr
cryostat_1            | Nov 21, 2023 6:37:23 PM io.cryostat.recordings.RecordingHelper getArchivedRecordingMetadata
cryostat_1            | WARN: software.amazon.awssdk.services.s3.model.NoSuchKeyException: The specified key does not exist. (Service: S3, Status Code: 404, Request ID: 1799B74571CB077A, Extended Request ID: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8)
cryostat_1            | Nov 21, 2023 6:37:23 PM io.cryostat.recordings.Recordings deleteArchivedRecording
cryostat_1            | INFO: Archived recording from connectUrl $h�ɼ�!pC�4`i�X���iL�W has metadata: Metadata[labels={connectUrl=$h�ɼ�!pC�4`i�X���iL�W}, expiry=null]
cryostat_1            | Nov 21, 2023 6:37:23 PM io.cryostat.recordings.Recordings deleteArchivedRecording
cryostat_1            | INFO: Sending S3 deletion request for archivedrecordings $h�ɼ�!pC�4`i�X���iL�W/compose-sample-app-1_test_20231121T183631Z.jfr
cryostat_1            | Nov 21, 2023 6:37:23 PM io.cryostat.recordings.Recordings deleteArchivedRecording
cryostat_1            | INFO: Got SDK response 204 Optional[No Content]
cryostat_1            | Nov 21, 2023 6:37:23 PM io.quarkus.vertx.http.runtime.filters.accesslog.JBossLoggingAccessLogReceiver logMessage
cryostat_1            | INFO: 10.89.40.89 - user [21/Nov/2023:18:37:23 +0000] "DELETE /api/beta/fs/recordings/eRULjsN4ruQXAq4yCQ-2ga2pLaFmPzEO9DNFg9MU9v4%3D/compose-sample-app-1_test_20231121T183631Z.jfr HTTP/1.1" 400 -
cryostat_1            | Nov 21, 2023 6:37:24 PM io.quarkus.vertx.http.runtime.filters.accesslog.JBossLoggingAccessLogReceiver logMessage
cryostat_1            | INFO: 0:0:0:0:0:0:0:1%0 - - [21/Nov/2023:18:37:24 +0000] "GET /health/liveness HTTP/1.1" 204 -
@andrewazores andrewazores added the bug Something isn't working label Nov 21, 2023
@andrewazores andrewazores self-assigned this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant