Project

General

Profile

Actions

Bug #12692

closed

Timed out agent/capsule tasks are not cancelled

Added by Justin Sherrill over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
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:

Actions #1

Updated by The Foreman Bot over 8 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
Actions #2

Updated by Eric Helms over 8 years ago

  • Category set to Client/Agent
  • translation missing: en.field_release set to 70
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill over 8 years ago

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

Also available in: Atom PDF