Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1331632

Summary: Deletion of content hosts (which were failed to register) fails as two tasks cant be canceled
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: Tasks PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, jhutar, mmccune, psuriset
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-14 08:35:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.