New commit detected on ManageIQ/manageiq/fine: https://github.com/ManageIQ/manageiq/commit/f39c617ed64e8b6dff2d67ab58b5f265301781ae commit f39c617ed64e8b6dff2d67ab58b5f265301781ae Author: Gregg Tanzillo <gtanzill> AuthorDate: Wed Jun 21 17:03:06 2017 -0400 Commit: Satoe Imaishi <simaishi> CommitDate: Wed Feb 28 17:31:00 2018 -0500 Merge pull request #15415 from yrudman/added-delete-by-condition-to-miq-task Refactor MiqTask.delete_older to queue condition instead of array of IDs (cherry picked from commit ed1af7cff52cf00c418a1f2549cbd98e9739898a) https://bugzilla.redhat.com/show_bug.cgi?id=1550276 app/models/miq_task.rb | 15 ++++++++++--- spec/models/miq_task_spec.rb | 50 +++++++++++++++++++++++++++++++++++++------- 2 files changed, 54 insertions(+), 11 deletions(-)
verified in 5.8.4.1
Steps: 1. Disable Reporting role. 2. Queue several reports.Reporting role is disabled so that these reports remain queued and don't get run. 2. Stop EVM Server Processes 3. from rails console execute 2 commands: > MiqTask.delete_older(Time.now, "name LIKE 'Generate Report:%'") > MiqTask.delete_older(Time.now, "name LIKE 'Generate Report:%'") 'evmserver' is stopped so that these two 'delete' tasks remain queued and don't get run 4. Start EVM Server Processes Before fix: Error message in evm.log After fix: No error message in evm.log
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:1972