Bug 1204246 - Sometimes Auto-Errata Updates are not scheduled
Summary: Sometimes Auto-Errata Updates are not scheduled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 1175389 1205306 space23
TreeView+ depends on / blocked
 
Reported: 2015-03-20 16:54 UTC by Stephen Herr
Modified: 2019-09-12 08:19 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-14 19:03:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Stephen Herr 2015-03-20 16:54:33 UTC
A timing window exists where it is possible that Auto-Errata Updates are not scheduled for servers they are applicable to.

The Taskomatic ErrataQueue job is the thing that schedules the update actions for servers that have Auto Errata Updates turned on. However, it depends on the data updated by the ErrataCache job to know which servers the errata are applicable to. Consequently, ErrataQueue will not start processing a channel if ErrataCache is still running on that channel.

However, the ErrataCache worker removes the job from the queue for the channel it's working on before it is finished. This creates a timing window that potentially allows ErrataQueue to process the channel before EC is done and decide (based on the incomplete ErrataCache data) that the errata is not applicable to servers that it actually is applicable to, causing them to not get the errata update action scheduled.

Comment 1 Stephen Herr 2015-03-20 17:30:01 UTC
Committing to Spacewalk master:
80249d8e13919ecc8a6883f93618de9cdec04d5a

Comment 2 Grant Gainey 2015-03-23 16:59:03 UTC
Moving bugs to ON_QA as we move to release Spacewalk 2.3

Comment 3 Stephen Herr 2015-04-02 15:08:47 UTC
A pull request accidentally undid the commit in comment 1, re-doing in Spacewalk master:
746366b3405f9e5a1a6e43651593a9f8126bf715

And cherry-picking into Spacewalk-2.3:
62bd10835d98f3103671c08f0c6c11434ffe94d2

Comment 4 Grant Gainey 2015-04-14 19:03:06 UTC
Spacewalk 2.3 has been released. See

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23


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