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 1388814 - Weekly sync plan not works
Summary: Weekly sync plan not works
Keywords:
Status: CLOSED DUPLICATE of bug 1377195
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Sync Plans
Version: 6.2.0
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1338516
TreeView+ depends on / blocked
 
Reported: 2016-10-26 08:41 UTC by Sasha Segal
Modified: 2016-12-13 15:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-13 15:59:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Satellite logs (14.62 MB, application/x-xz)
2016-10-26 08:41 UTC, Sasha Segal
no flags Details
Screenshot (103.79 KB, image/png)
2016-11-01 08:37 UTC, Sasha Segal
no flags Details

Description Sasha Segal 2016-10-26 08:41:18 UTC
Created attachment 1214207 [details]
Satellite logs

Product has weekly sync plan.
Sync plan not running weekly.

Comment 1 Brad Buckingham 2016-10-31 19:19:37 UTC
Hello Sasha, 

Can you please provide the detailed steps to reproduce the issue?

Are there any errors observed in the UI or logs (e.g. /var/log/messages, /var/log/foreman/production.log, /var/log/httpd/*)?

Comment 2 Sasha Segal 2016-11-01 08:36:45 UTC
Hi,

No errors, the sync plan just not executed, please see attached screenshot. The issue persists all the time so there is no what reproduce. I can give you access to the server to see if you want. IRC ssegal

Comment 3 Sasha Segal 2016-11-01 08:37:18 UTC
Created attachment 1216004 [details]
Screenshot

Comment 4 Brad Buckingham 2016-11-03 16:39:14 UTC
Michael,

I am not seeing any errors on the katello side, can you have someone from pulp assist?  Want to confirm if the sync schedules are getting created in pulp correctly or if there may be other errors.

Comment 5 Brad Buckingham 2016-11-03 17:53:48 UTC
Dennis Kliban from the pulp team is helping to investigate.

Comment 6 Dennis Kliban 2016-11-03 19:36:41 UTC
It looks like the celerybeat process got stuck and then it was restarted today. After the restart, celerybeat dispatched a lot of tasks that it was supposed to dispatch while it was stuck. It looks like the syncs running now. Since there were a lot of them dispatched at once, it is taking a while for Pulp to catch up.

The next scheduled sync is supposed to occur on Nov 8. If it does not happen, please don't restart the process so I can take a look at it to confirm that it is stuck due to a known issue with Qpid client libraries.

Comment 8 Brad Buckingham 2016-11-10 14:51:22 UTC
This may be a duplicate of bug 1377195.

Comment 9 Dennis Kliban 2016-11-10 21:31:51 UTC
I examined the box and have determined that pulp_worker-0 has gotten into a hung state. This is a known issue with Qpid[0]. The Qpid team is working on a fix.

In your case, worker-0 received the task from the scheduler, but then got stuck when trying to dispatch the actual tasks that perform the sync and publish. As a result the database says that the scheduler fired off a message to do the sync on Nov. 8, but a task_status document was never created because the the sync task was never dispatched. 

I can only recommend that you stop pulp_workers service(s) is stopped. Verify using ps that all pulp_worker-X processes are stopped. Then start the service again.


[0] https://issues.apache.org/jira/browse/QPID-7317

Comment 10 Bryan Kearney 2016-12-13 15:59:51 UTC
The root cause of this, as dicussed in 9, is being tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1377195. I am closing this out as a dupe and we will track the fix there.

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


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