Project

General

Profile

Bug #12692

Timed out agent/capsule tasks are not cancelled

Added by Justin Sherrill over 3 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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:

Associated revisions

Revision 459c151b (diff)
Added by Justin Sherrill over 3 years ago

Fixes #12692 - cancel client and capsule actions when they timeout

Revision ad5ed7d1
Added by Justin Sherrill over 3 years ago

Merge pull request #5646 from jlsherrill/cancel

Fixes #12692 - cancel client and capsule actions when they timeout

History

#1 Updated by The Foreman Bot over 3 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

#2 Updated by Eric Helms over 3 years ago

  • Category set to Client/Agent
  • Legacy Backlogs Release (now unused) set to 70
  • Triaged changed from No to Yes

#3 Updated by Justin Sherrill over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF