MONROE-PROJECT / Scheduler

The MONROE scheduling server, and deployment daemon
https://www.monroe-project.eu/
0 stars 2 forks source link

Delete REST function does not delete some experiments. #2

Closed mikepeon closed 7 years ago

mikepeon commented 7 years ago

For a finished experiment, DELETE https://scheduler.monroe-system.eu:443/v1/experiments/8 returns: { "aborted": 0, "canceled": 0, "message": "Ok. Canceled or aborted scheduling entries" } The message on marvin's screen is OK: 127.0.0.1:48768 - - [08/Nov/2016 18:23:33] "HTTP/1.1 DELETE /v1/experiments/8" - 200 OK

However, the experiment does not disappear and can be retrieved with GET https://scheduler.monroe-system.eu:443/v1/experiments/8

relet commented 7 years ago

The DELETE call only

On Tue, 8 Nov 2016, 19:24 mikepeon-imdea, notifications@github.com wrote:

For a finished experiment, DELETE https://scheduler.monroe-system.eu:443/v1/experiments/8 returns: { "aborted": 0, "canceled": 0, "message": "Ok. Canceled or aborted scheduling entries" } The message on marvin's screen is OK: 127.0.0.1:48768 - - [08/Nov/2016 18:23:33] "HTTP/1.1 DELETE /v1/experiments/8" - 200 OK

However, the experiment does not disappear and can be retrieved with GET https://scheduler.monroe-system.eu:443/v1/experiments/8

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MONROE-PROJECT/Scheduler/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAISEMOanDUrUiUQINg8_mS6DRluAzpQks5q8LBBgaJpZM4KssJ8 .

relet commented 7 years ago

This is as designed. The function is meant to abort an experiment before it is run, not remove traces of finished experiments.