marlof / ScORCH

DevOps Orchestration for Obrar deploy and Ansible playbooks
http://www.autoscorch.com
Apache License 2.0
5 stars 1 forks source link

Scorch exits when the failed job is resumed from the refreshed task screen #163

Closed marlof closed 3 years ago

marlof commented 3 years ago

When scorch is watching a task from the task list, if the tasks breaks, like for a manual step, then the mv command fails when the task is immediately resumed.

Add a rescan of the jobs to be able to resume jobs correctly.

Use Action: DEMO-OBRAR and watch the task list until it breaks at task 4/5 and try "R"esume. The location of the job has been moved from "running" state to the "manual" state but the variable still contains running state.

mv. cannot stat "jobs/running/Job_xxxx": No such file or directory