Bug #12692
closedTimed out agent/capsule tasks are not cancelled
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1284494
Description of problem:
Currently when a client times out because it is down or has taken too long the task is not cancelled and a user may reattempt the same action. Whenever the agent does come online it will still pick up the timed-out tasks and process multiple tasks unexpectedly.
Version-Release number of selected component (if applicable):
6.1.3
How reproducible:
Always
Steps to Reproduce:
1. Register a client with katello-agent installed
2. Make sure goferd is shut down on the client
3. Dispatch a package install or errata apply action
4. Wait for it to timeout
5. Start goferd
Actual results:
Client picks up timedout task
Expected results:
Client does not pick up any tasks, as the task is cancelled.
Additional info:
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/5646 added
Updated by Eric Helms about 9 years ago
- Category set to Client/Agent
- Translation missing: en.field_release set to 70
- Triaged changed from No to Yes
Updated by Justin Sherrill almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|459c151b76d95ab5e8715780cfc4ae96b6f53e2e.