This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 297
Cannot remove an Ended Task (windowed scheduler) #1520
Comments
Ended state should also probably be described here: https://github.com/intelsdi-x/snap/blob/master/docs/TASKS.md#task-states |
What can be added, ideally an Ended Task should be something that can be removed without having to stop, so it would be similar what has been done for Disabled Task in #1043. |
IzabellaRaulin
added a commit
to IzabellaRaulin/snap
that referenced
this issue
Feb 16, 2017
IzabellaRaulin
added a commit
to IzabellaRaulin/snap
that referenced
this issue
Feb 17, 2017
IzabellaRaulin
added a commit
to IzabellaRaulin/snap
that referenced
this issue
Feb 17, 2017
IzabellaRaulin
added a commit
to IzabellaRaulin/snap
that referenced
this issue
Feb 17, 2017
IzabellaRaulin
added a commit
to IzabellaRaulin/snap
that referenced
this issue
Feb 17, 2017
IzabellaRaulin
added a commit
to IzabellaRaulin/snap
that referenced
this issue
Feb 17, 2017
2 tasks
IzabellaRaulin
added a commit
to IzabellaRaulin/snap
that referenced
this issue
Feb 27, 2017
IRCody
pushed a commit
to IRCody/snap
that referenced
this issue
Mar 3, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What happened:
An "Ended" task cannot be removed - neither directly removing nor after prior stopping
This happens for a windowed schedule for which
stop_timestamp
is defined. That means that after this time the task is ended - this is related to changing the status from "Running" to "Ended" in line pkg/schedule/windowed_schedule.go#L101.Steps to reproduce it
stop_timestamp
the state of task should be "Ended"Notice that even stop command looks like be executed successfully, the state of task does NOT change to Stopped (it is still Ended)
Still, cannot remove this task even after trying to stop it a prior:
It looks like a standstill.
The text was updated successfully, but these errors were encountered: