Actions
Bug #36937
closedError loading data from Capsule: RestClient::NotFound - 404 Not Found
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Description
Description of problem:
When dynflow-sidekiq service is restarted while a job is run on multiple hosts sequentially, the next host's run in line after the restart fails: "Error loading data from Capsule: RestClient::NotFound - 404 Not Found"
How reproducible:
Deterministic
1. Have a Satellite with two hosts registered
2. Create a Job Template useful for your debugging, I used contents:
echo $(date) >> /root/test-<%= @host >; sleep 120; echo slept-$(date) >> /root/test-<= @host %>
3. Monitor -> Jobs -> Run Job
4. Select that template
5. Set filter to match the two hosts
6. Set concurrency level to one
7. Submit
8. On Satellite:
- systemctl stop dynflow-sidekiq@*
9. Wait a few seconds...
10. # systemctl start dynflow-sidekiq@orchestrator.service dynflow-sidekiq@worker-1.service dynflow-sidekiq@worker-hosts-queue-1.service
11. Wait...
12. In WebUI, watch Job run details. Run on the first host should end somehow depending on what phase the daemon was killed in - it either fails after ~15 minutes or succeeds, it doesn't matter. Then run on the second host should start.
Actual results:
The run never finishes and its output shows the following error repeated indefinitely: "Error loading data from Capsule: RestClient::NotFound - 404 Not Found". No further hosts will ever run the job.
Expected results:
The run on second host should pass and other potential hosts should get their turn afterwards.
Updated by Adam Ruzicka about 1 year ago
- Subject changed from Bug 2251014 - Error loading data from Capsule: RestClient::NotFound - 404 Not Found to Error loading data from Capsule: RestClient::NotFound - 404 Not Found
Updated by The Foreman Bot about 1 year ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/733 added
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases foreman-tasks-8.1.1 added
Updated by Adam Ruzicka about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset 35b36d0202f8bd68e1afdf8521fb6bd219a99352.
Updated by Adam Ruzicka about 1 year ago
- Fixed in Releases foreman_tasks-9.0.0 added
- Fixed in Releases deleted (
foreman-tasks-8.1.1)
Updated by Adam Ruzicka about 1 year ago
- Fixed in Releases foreman_tasks-8.3.3 added
Actions