Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1553780 - notifications do not get cleared from the notification table
notifications do not get cleared from the notification table
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.8.0
All All
medium Severity medium
: GA
: 5.9.2
Assigned To: Nick LaMuro
Shveta
notification
: ZStream
Depends On: 1544890
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-09 09:26 EST by Satoe Imaishi
Modified: 2018-05-07 16:46 EDT (History)
7 users (show)

See Also:
Fixed In Version: 5.9.2.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1544890
Environment:
Last Closed: 2018-05-07 16:45:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 None None None 2018-05-07 16:46 EDT

  None (edit)
Comment 2 CFME Bot 2018-03-09 09:32:51 EST
New commits detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/920e709435e62754456237d03974730d0d0f9228
commit 920e709435e62754456237d03974730d0d0f9228
Author:     Joe Rafaniello <jrafanie@users.noreply.github.com>
AuthorDate: Thu Mar  8 15:33:38 2018 -0500
Commit:     Joe Rafaniello <jrafanie@users.noreply.github.com>
CommitDate: Thu Mar  8 15:33:38 2018 -0500

    Merge pull request #17046 from NickLaMuro/notification-purging

    Adds purging for notifications
    (cherry picked from commit 427257a185aed602d1596dfb81c623254957fbe6)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1553780

 app/models/miq_schedule_worker/jobs.rb | 4 +
 app/models/miq_schedule_worker/runner.rb | 5 +
 app/models/notification.rb | 2 +
 app/models/notification/purging.rb | 24 +
 config/settings.yml | 5 +
 spec/models/notification/purging_spec.rb | 40 +
 6 files changed, 80 insertions(+)
Comment 5 Shveta 2018-04-03 11:53:44 EDT
yes thanks Nick.
I changed the created_at and updated_at time in the notifications table to last month and it will get purged now right ?
Waiting for it to get purged . Will verify the BZ then.
Comment 6 Nick LaMuro 2018-04-03 11:59:21 EDT
> I changed the created_at and updated_at time in the notifications table to last month and it will get purged now right ?

Yup, that is correct, though the job for it only runs once a day, so depending one when the last one was scheduled to run it might take up to a day for the purge job to run.
Comment 7 Shveta 2018-04-04 01:20:12 EDT
Fixed in 5.9.2.0.20180320210136_355c506
Comment 10 errata-xmlrpc 2018-05-07 16:45:33 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1328

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