Description of problem: If the auto-update feature is enabled and there are multiple channels synced that contain the same errata a situation will present in which the errata is scheduled the same number of systems that contain that errata. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Sync rhel-i386-server-5 & rhel-x86_64-server-5 2. Register a system to one of the channels. 3. Wait a few days for an applicable errata to be released and run 'satellite-sync' 4. look and see how many times the errata was scheduled Actual results: The errata should be scheduled at least twice (once for each channel the errata is in) Expected results: The errata should only be scheduled once for the system
Need to modify ErrataQueueWorker to take channel_id into consideration for scheduleAutoUpdates()
Fixed in spacewalk git 51dc1dc669bc1ac048c9c6af9060b408db0a054d
taking qa contact for this bug
I think what was happening was that we were running the errata queue task multiple times for each errata (for different channels), so multiple entries were being inserted into rhnErrataNotificationQueue before the emailer could run. Should be fixed now in master: a124fd8e3259e3af2f2e0ccaa25062a52d5f4371
testing procedure: 1. Sync rhel-i386-server-5 & rhel-x86_64-server-5 2. Register a system to one of the channels. 3. Wait a few days for an applicable errata to be released and run 'satellite-sync' 4. look and see how many times the errata was scheduled Works as expected, The errata was scheduled once for the system. Verified on rhel55@i386 and rhel55@x86_64 with sat530 upgraded from errata.stage + packages from errata Moving to Verified
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0498.html