Bug 790254

Summary: Dashboard - Promotions Overview incorrectly shows failed promotions as "pending"
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune, msolberg
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:26:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Corey Welton 2012-02-14 03:11:56 UTC
Description of problem:

When a promotion fails, the promotions page displays this as expected. However, observing the dashboard shows said promotions as failed.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Create a new promotion changeset, "bugtest" - add content, review it, but do not yet promote
2.  Do something that would trigger a failure - this can be done by executing `service mongod stop`
3.  Attempt to promote changeset; wait for failure
4.  Observe resulting fail message in UI and in notification subsystem
5.  Navigate to dashboard (note: you may want to re-start mongod service here to avoid large traceback in UI)
6.  View results.

  
Actual results:
Listed in Promotions Overview - 
"bugtest  Pending"

Expected results:
We should probably show a failed message here.

Additional info:
Is this listed as pending because it's back in a review state?  Either way, kind of misleading.

Comment 1 Mike McCune 2012-02-23 22:52:02 UTC
*** Bug 796777 has been marked as a duplicate of this bug. ***

Comment 2 Justin Sherrill 2012-02-27 19:28:10 UTC
fixed in katello master:
d3c0b8fdb4941ce6b7358dc39d1e125d9ec0232b

Comment 4 Corey Welton 2012-03-01 19:52:21 UTC
QA Verified.  0.1.301-2.el6