Bug 1360332 - Scheduled reports are emailing ever few seconds rather then just 1
Summary: Scheduled reports are emailing ever few seconds rather then just 1
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting
Version: 5.5.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: GA
: 5.5.6
Assignee: Joe Rafaniello
QA Contact: Dave Johnson
URL:
Whiteboard: report
Depends On: 1354629
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-26 12:35 UTC by John Prause
Modified: 2019-12-16 06:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1354629
Environment:
Last Closed: 2018-12-11 15:24:10 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 3 CFME Bot 2016-07-28 22:00:43 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/85c117362f898d357d7a02377e9f82f4a17f3a61

commit 85c117362f898d357d7a02377e9f82f4a17f3a61
Author:     d-m-u <duhlmann>
AuthorDate: Thu Jul 28 17:29:19 2016 -0400
Commit:     d-m-u <duhlmann>
CommitDate: Thu Jul 28 17:29:19 2016 -0400

    Avoid issue with Rufus caching time within options
    
    Rufus scheduler 3.0.8+ started modifying the input options hash at
    jmettraux/rufus-scheduler@c074a59
    
    This commit allows schedules to parse the time using Chronic.
    Unfortunately, for speed, they cache the result of the first parse in the
    input options hash, causing us to schedule the same time many times!
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1360332

 app/models/miq_schedule_worker/runner.rb       | 4 ++--
 spec/models/miq_schedule_worker/runner_spec.rb | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

Comment 5 CFME Bot 2016-09-06 20:17:03 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4dfdf6a6ddf32aec3a172b7751d9b76805b5d8d9

commit 4dfdf6a6ddf32aec3a172b7751d9b76805b5d8d9
Merge: 62e9828 c5b0a24
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Tue Sep 6 16:13:31 2016 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Tue Sep 6 16:13:31 2016 -0400

    Merge branch 'backport_rufus_308_fix' into '5.5.z'
    
    Avoid issue with Rufus caching time within options
    
    This is NOT currently a blocker for 5.5.z.  Do not MERGE if we're blockers only.
    
    Backport of https://github.com/ManageIQ/manageiq/pull/10129, since 5.5.z allows rufus-scheduler ~> 3.1.x.
    There was a conflict cherry-picking the test from this commit.
    
    
    Rufus scheduler 3.0.8+ started modifying the input options hash at
    jmettraux/rufus-scheduler@c074a59
    
    This commit allows schedules to parse the time using Chronic.
    Unfortunately, for speed, they cache the result of the first parse in the
    input options hash, causing us to schedule the same time many times!
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1360332
    
    See merge request !1028

 app/models/miq_schedule_worker/runner.rb       | 4 ++--
 spec/models/miq_schedule_worker/runner_spec.rb | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

Comment 6 CFME Bot 2016-09-06 20:17:08 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c5b0a2449d081c756c53a7752f80d5dd449ad4f9

commit c5b0a2449d081c756c53a7752f80d5dd449ad4f9
Author:     d-m-u <duhlmann>
AuthorDate: Thu Jul 28 17:29:19 2016 -0400
Commit:     Joe Rafaniello <jrafanie>
CommitDate: Fri Aug 12 14:24:22 2016 -0400

    Avoid issue with Rufus caching time within options
    
    Rufus scheduler 3.0.8+ started modifying the input options hash at
    jmettraux/rufus-scheduler@c074a59
    
    This commit allows schedules to parse the time using Chronic.
    Unfortunately, for speed, they cache the result of the first parse in the
    input options hash, causing us to schedule the same time many times!
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1360332

 app/models/miq_schedule_worker/runner.rb       | 4 ++--
 spec/models/miq_schedule_worker/runner_spec.rb | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)


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