Worker doesn't pick up the new workflow #125
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
When a worker is rebooted via an action in the workflow, The worker picks up the workflow which is stuck in
running
state and as a result, it never picks up the new workflow.This is in reference to the recent commit #115.
Expected Behaviour
Ideally, changes in this commit #115 should be rectified to handle the following scenario.
Current Behaviour.
Below are the stepwise states happening right now.
worker does ipxeboot.
worker executes the workflow.
worker reboots as a part of workflow.
worker, after reboot, retries to pxe boot (because of hasActiveWorkflow should consider workflows in state PENDING and RUNNING #115 ) and fails.
When a new workflow is created.
Worker stills picks up the workflow which is running state and against, fails.
Steps to Reproduce (for bugs)
reboot
action.Observe steps as mentioned in current behaviour.
Result: If used for OS installation and worker is rebooted as a part of the workflow. The worker will never come up.
Context
Your Environment
The text was updated successfully, but these errors were encountered: