Bug 1331632 - Deletion of content hosts (which were failed to register) fails as two tasks cant be canceled
Summary: Deletion of content hosts (which were failed to register) fails as two tasks ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 06:30 UTC by Jan Hutař
Modified: 2017-09-14 08:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-14 08:35:21 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Hutař 2016-04-29 06:30:56 UTC
Description of problem:
I have two tasks I can not cancel and they are blocking content host deletions


Version-Release number of selected component (if applicable):
satellite-6.2.0-9.0.beta.el7sat.noarch


How reproducible:
rarely


Steps to Reproduce:
1. Register 50 RHEL7 systems concurrently with subscription-manager through
   capsule, some of the registrations fails
2. Attempt to delete these content hosts


Actual results:
2 of the sub-tasks fails, because they are blocked by:

https://<fqdn>/foreman_tasks/tasks/5bc45616-a3ed-4a2a-a3ab-db95f07cd1f2
  Id: 5bc45616-a3ed-4a2a-a3ab-db95f07cd1f2
  Label: Actions::Katello::Host::Register
  Name: Register Host d21d8ba86acb
  Owner: admin
  Execution type: Delayed
  Start at: 2016-04-29 07:18:28 +0200
  Start before: -
  Started at: 2016-04-29 07:18:28 +0200
  Ended at:
  State: running
  Result: - 
  ...progress bar shows 67%
  ...both "Resume" and "Cancel" buttons are inactive
  ...DynFlow console do not have skip link, I do not see a way how to cancel

https://<fqdn>/foreman_tasks/tasks/6dd28861-ba39-4da6-9fc9-caad105a4e01
  Id: 6dd28861-ba39-4da6-9fc9-caad105a4e01
  Label: Actions::Katello::Host::Register
  Name: Register Host 7fe0a391bcd8
  Owner: admin
  Execution type: Delayed
  Start at: 2016-04-29 07:23:02 +0200
  Start before: -
  Started at: 2016-04-29 07:23:02 +0200
  Ended at:
  State: running
  Result: - 
  ...progress bar shows 100%
  ...both "Resume" and "Cancel" buttons are inactive
  ...DynFlow console do not have skip link, I do not see a way how to cancel


Expected results:
It should not happen, but when it happens, it should be possible to safely cancel any tasks

Comment 3 Mike McCune 2017-09-13 20:54:16 UTC
Jan,
 
is this still an issue during your tests? Not hearing this from customers. If not, close it out if you don't mind.

Comment 4 Jan Hutař 2017-09-14 08:35:21 UTC
Have not seen it recently.


Note You need to log in before you can comment on or make changes to this bug.