Bug 682447

Summary: The text that indicates when the page was last updated doesn't show when the page update fails
Product: Red Hat Enterprise MRG Reporter: Ernie <eallen>
Component: cuminAssignee: Chad Roberts <croberts>
Status: CLOSED ERRATA QA Contact: Jan Sarenik <jsarenik>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3CC: croberts, jsarenik, matt, tmckay
Target Milestone: 2.0.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.4840-1 Doc Type: Bug Fix
Doc Text:
Cause: The page updated timestamp would be updated even when the page update failed with no indication of a failure. Consequence: The user may be lead to believe that they were seeing the most recent stats, when in fact, the stats may be stale. Fix: If an update attempt fails (easiest way to see this is to shut down cumin), we now display "Last update failed" next to the timestamp. Result: When an update fails, it will be more obvious to the user.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-07 16:42:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 723887    

Description Ernie 2011-03-05 16:18:53 UTC
The text in the upper right corner of the page indicates when the page was last updated. However, when the update fails, there is no indication. The text still shows that the page was updated.

If cumin is stopped or restarted while the page is still displayed, the background updates will silently fail.

The "page updated indicator" should show when an update failed and the time it happened.

To reproduce:
Display a cumin page
Stop cumin
The page updated indicator will continue to change, even though the page updates are failing.

Or

Display a cumin page
Wait for the page updated indicator to turn into a "Resume Updates" button
restart cumin
Press the Resume Updates button
The page updated indicator will change, but the page will not actually get updated. This is because the user needs to re-login first.

Comment 1 Chad Roberts 2011-05-26 15:48:57 UTC
Fix available in revision 4790.

Comment 2 Chad Roberts 2011-05-26 15:48:57 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause:  The page updated timestamp would be updated even when the page update failed with no indication of a failure.

Consequence:  The user may be lead to believe that they were seeing the most recent stats, when in fact, the stats may be stale.

Fix:  If an update attempt fails (easiest way to see this is to shut down cumin), we now display "Last update failed" next to the timestamp.

Result:  When an update fails, it will be more obvious to the user.

Comment 4 Jan Sarenik 2011-07-21 17:51:07 UTC
Verified in cumin-0.1.4878-1.el5
The message is:
  Last update failed 2011-07-21 19:50:26

Comment 5 errata-xmlrpc 2011-09-07 16:42:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1249.html