Bug 1192198 - Queuing Schedule from Containing Folder gives error
Summary: Queuing Schedule from Containing Folder gives error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: All
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.4.0
Assignee: Aparna Karve
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks: 1196919
TreeView+ depends on / blocked
 
Reported: 2015-02-12 20:36 UTC by Josh Carter
Modified: 2019-06-13 08:14 UTC (History)
6 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
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" resulted in an error that the "Schedule no longer exists". This was due to the code was not checking for correct functioning of checked schedules. With this release, code was changed to check for correct functioning of checked schedules. This has fixed the issue and there is no longer an error.
Clone Of:
: 1196919 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:50:37 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Josh Carter 2015-02-12 20:36:53 UTC
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

Comment 2 CFME Bot 2015-02-25 20:56:30 UTC
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(-)

Comment 3 Nandini Chandra 2015-03-10 17:49:26 UTC
Tested master.20150310123122_595ec9e,although the schedule is now run successfully,the error message "Schedule no longer exists" is still displayed.

Comment 5 Nandini Chandra 2015-03-17 18:05:27 UTC
Verified in 5.4.0.0.11

Comment 6 Nandini Chandra 2015-03-17 20:15:49 UTC
Marked this as verified by mistake.

Moving the BZ to ON_DEV as per comment 3.

Comment 7 Nandini Chandra 2015-04-17 17:16:02 UTC
Retested 5.4.0.0.19.20150410165622_ad23806 and the message "Schedule no longer exists" is no longer seen.

Comment 9 errata-xmlrpc 2015-06-16 12:50:37 UTC
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


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