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

After workload deletion ExecutionState AgentDisconnected is still existing #388

Open
inf17101 opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working. Issue will appear in the change log "Bug Fixes" minor Minor bug
Milestone

Comments

@inf17101
Copy link
Contributor

inf17101 commented Oct 2, 2024

When starting a workload and its agent is disconnected during its creation and a user deletes the workload afterwards before the agent reconnects, the workload state with the ExecutionState AgentDisconnected is still existing in the the CompleteState. The agent does not do a delete and sents the Removed ExecutionState to the server, because it has nothing to do when the workload does not exist.

Current Behavior

A workload state with ExecutionState AgentDisconnected is existing after a delete of a workload in a special scenario.

Expected Behavior

There shall no dead workload states existing in Ankaios.

Steps to Reproduce

Context (Environment)

All supported platforms
podman runtime

Logs

Additional Information

Final result

To be filled by the one closing the issue.

@inf17101 inf17101 added the bug Something isn't working. Issue will appear in the change log "Bug Fixes" label Oct 2, 2024
@inf17101 inf17101 changed the title WorkloadState with ExecutionState AgentDisconnected is still existing after workload deletion ExecutionState AgentDisconnected is still existing after workload deletion Oct 2, 2024
@inf17101 inf17101 changed the title ExecutionState AgentDisconnected is still existing after workload deletion After workload deletion ExecutionState AgentDisconnected is still existing Oct 2, 2024
@krucod3 krucod3 added the minor Minor bug label Oct 2, 2024
@krucod3 krucod3 added this to the backlog milestone Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. Issue will appear in the change log "Bug Fixes" minor Minor bug
Projects
None yet
Development

No branches or pull requests

2 participants