Description of problem: Under Cloud Intelligence -> Reports in the Schedules Accordion, selecting the check box next to a schedule and executing the "Queue up selected Schedules to run now" gives an error that the "Schedule no longer exists". Clicking on the schedule first and choosing "Queue up selected Schedules to run now" from there works fine. Version-Release number of selected component (if applicable): 5.3.2.6.20150108100920_387a856 How reproducible: very Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: [----] E, [2015-02-12T20:33:35.709213 #15958:752038] ERROR -- : MIQ(report_controller-x_button): Schedule no longer exists [----] I, [2015-02-12T20:33:35.711344 #15958:752038] INFO -- : MIQ(Schedule.queue_scheduled_work) Queueing start of schedule id: [23000000000010] [test] [MiqReport] [run_report] [----] I, [2015-02-12T20:33:35.742213 #15958:752038] INFO -- : MIQ(MiqQueue.put) Message id: [23000001214172], id: [], Zone: [default], Role: [], Server: [], Ident: [generic], Target id: [], Instance id: [23000000000010], Task id: [], Command: [MiqSchedule.invoke_actions], Timeout: [1200], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: ["action_run_report", 1423773215] [----] I, [2015-02-12T20:33:35.742350 #15958:752038] INFO -- : MIQ(Schedule.queue_scheduled_work) Queueing start of schedule id: [23000000000010] [test] [MiqReport] [run_report]...complete [----] I, [2015-02-12T20:33:35.745727 #15958:752038] INFO -- : <AuditSuccess> MIQ(Schedules.block in miq_report_schedule_run_now) userid: [admin] - Schedule [test] queued to run from the UI by user Administrator
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/98cbcbd2ac704a7cb5a0c04a5b1e89b910d8041d commit 98cbcbd2ac704a7cb5a0c04a5b1e89b910d8041d Author: Aparna Karve <akarve> AuthorDate: Mon Feb 23 14:38:37 2015 -0800 Commit: Aparna Karve <akarve> CommitDate: Mon Feb 23 14:38:37 2015 -0800 Added the params[:id] check for correct functioning of checked schedules https://bugzilla.redhat.com/show_bug.cgi?id=1192198 vmdb/app/controllers/report_controller/schedules.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Tested master.20150310123122_595ec9e,although the schedule is now run successfully,the error message "Schedule no longer exists" is still displayed.
Verified in 5.4.0.0.11
Marked this as verified by mistake. Moving the BZ to ON_DEV as per comment 3.
Retested 5.4.0.0.19.20150410165622_ad23806 and the message "Schedule no longer exists" is no longer seen.
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://rhn.redhat.com/errata/RHBA-2015-1100.html