Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-13082

Even in 6.11.1, sync summary email notification shows the incorrect summary for newly added errata.

XMLWordPrintable

    • Sprint 106, Sprint 107, Sprint 108, Sprint 111, Sprint 112, Sprint 113, Sprint 114, Sprint 115, Sprint 116
    • Moderate
    • None

      Description of problem:
      Even with https://bugzilla.redhat.com/show_bug.cgi?id=2044314 fixed, there are some cases when katello wrongly calculates list of errata to send in email notification.

      Particular example: RHSCL 7Server prior RHSA-2022:5759 released (i.e. have CDN content prior 2022-07-28) and after he errata released. Syncing the repo means "Added Rpms: 22, Errata: 1" but notification mail to contain 146 errata.

      Explanation provided in https://bugzilla.redhat.com/show_bug.cgi?id=2102867#c2, internal reproducer available at https://bugzilla.redhat.com/show_bug.cgi?id=2102867#c4 .

      The #c2 also suggests a potential fix.

      I am raising a new BZ since I cant reopen the https://bugzilla.redhat.com/show_bug.cgi?id=2044314 one.

      Version-Release number of selected component (if applicable):
      6.11.1

      How reproducible:
      100% with reproducer per https://bugzilla.redhat.com/show_bug.cgi?id=2102867#c4

      Steps to Reproduce:
      1. Have RHSCL repo with metadata per https://bugzilla.redhat.com/show_bug.cgi?id=2102867#c4 , sync it
      2. Update the metadata to the newest, sync it
      3. Check errata mail sent and also the postgres queries from https://bugzilla.redhat.com/show_bug.cgi?id=2102867#c2 .

      Actual results:
      3. Mail with 146 errata sent, psql queries like per https://bugzilla.redhat.com/show_bug.cgi?id=2102867#c2.

      Expected results:
      3. Mail with 1 errata sent only.

      Additional info:

              rhn-support-wclark William Clark (Inactive)
              satellite-focaccia-bot Focaccia Bot
              Ian Ballou Ian Ballou
              Vladimír Sedmík Vladimír Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: