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 1241983 - Multiple "Listen on candlepin events" tasks
Summary: Multiple "Listen on candlepin events" tasks
Keywords:
Status: CLOSED DUPLICATE of bug 1243959
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Infrastructure
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
David O'Brien
URL:
Whiteboard:
Depends On:
Blocks: 1122832 sat61-release-notes
TreeView+ depends on / blocked
 
Reported: 2015-07-10 14:48 UTC by Mike McCune
Modified: 2019-03-06 16:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-11 18:15:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (115.16 KB, image/png)
2015-07-10 14:49 UTC, Mike McCune
no flags Details

Description Mike McCune 2015-07-10 14:48:11 UTC
During a debugging session I turned of foreman-tasks and left the remainder of Satellite running.

This resulted in 20+ "Listen on candlepin" events queued up in "paused:pending" state.

See attached screenshot.

The hammer bulk task resume routine won't work in this situation as it only resumes "paused:error" tasks.

Bulk resume may not be the right thing here either as you really only want one of these tasks at one time.

Need to determine why we kept getting more tasks created and how to remediate this situation.

Comment 1 Mike McCune 2015-07-10 14:49:42 UTC
Created attachment 1050712 [details]
screenshot

Comment 3 Peter Vreman 2015-07-11 14:01:12 UTC
I also see multiple "Listen on candlepin" tasks. These were created in the task list when i did a couple of graceful reboots using the standard 'reboot' command

Comment 4 Pavel Moravec 2015-07-16 09:47:49 UTC
Not related to http://projects.theforeman.org/issues/9068 ?

Comment 5 Sean Mullen 2015-08-07 16:43:32 UTC
I'm having this same issue, I have a boatload (Currently 78) of 'Listen on candlepin events {"locale" => "en"}' in either "Running:Error", "Running:Pending" or "Paused:Pending".  DynaFlow console give no options to skip / cancel, anything.

From the foreman bug in Pavel's comment:
"Katello 2.2 we have fully resolved this issue by upgrading qpid to 0.30. This requires an upgrade to Katello 2.2"

Satellite 6.1 has katello 2.2.0 and qpidd 0.30 so either the issue mentioned in that link is not fixed or this is a separate issue.


This is on RHEL7.1.  How the hell can I get rid of these?

Comment 6 Brad Buckingham 2015-08-11 18:15:08 UTC
It appears that this issue was addressed by another bugzilla as part of 6.1.1; therefore, I am going to close this one as a duplicate of bug 1243959.

*** This bug has been marked as a duplicate of bug 1243959 ***

Comment 7 Justin Sherrill 2015-08-11 18:19:47 UTC
Sean,

The following can be used to clear those out:  https://gist.github.com/jlsherrill/78884fb933e06e26b8e6

however they really should not cause any harm.  

You will continue to see new ones pop up anytime you reboot the box or run 'katello-service restart'.  This is resolved in 6.1.1

Comment 8 Jan Gerrit Kootstra 2019-03-06 16:10:34 UTC
The issue seems to get back in RH Satellite 6.4.2.
Each day I have to cleanup suspended Candlepin tasks.


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