Bug 1021065

Summary: Dashboard: non-syncable repo types should not appear in Sync Overview widget
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: David Davis <daviddavis>
Status: CLOSED CURRENTRELEASE QA Contact: Tazim Kolhar <tkolhar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: bkearney, cwelton, dcleal, jmontleo, mmccune, omaciel, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6691
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:29:35 UTC Type: Bug
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 2013-10-19 00:25:10 UTC
Description of problem:
Just as we have removed/are removing non-sync repos off the Sync page, they should be removed from the dashboard widget as well.

Version-Release number of selected component (if applicable):
Satellite-6.0.2-RHEL-6-20131017.1

How reproducible:


Steps to Reproduce:
1.  Along with your standard RHEL/third-party content, create a puppet repo and a node-certs repo, neither of which are syncable.
2.  Begin syncing the RHEL/third-party stuff
3.  Nav back to dashboard and look at Sync Overview widget.

Actual results:
Red Hat Enterprise Linux Server    Success  Fri, 18 Oct 2013 21:08:08 +0000
node-certs  not_synced  
Puppet Labs Forge  not_synced  

Expected results:

The non-sync repos should not appear in this widget.

Additional info:

Comment 1 RHEL Program Management 2013-10-19 00:44:11 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2013-10-19 08:57:03 UTC
This also appears to happen if you have a product containing a mix of syncable and non-syncable repos.

1. Create a sat6 product
2. Create sat6 and sat6-tools repos synced from a yum repo
3. Create sat6-puppet repo with no sync enabled
4. Sync the sat6 yum repos
5. Check dashboard page

It shows "sat6  not_synced" in the Sync Overview widget even though all of the syncable repos have been.

Comment 5 David Davis 2014-07-17 14:55:19 UTC
*** Bug 1023981 has been marked as a duplicate of this bug. ***

Comment 6 David Davis 2014-07-18 14:17:05 UTC
In regards to c#3, displaying mixed content products is the correct behavior. The status updating is not correct though (as mentioned). That said, the bug is caused in another part of the code which doesn't update Product correctly. Opening https://bugzilla.redhat.com/show_bug.cgi?id=1121166 to fix this.

Comment 7 Partha Aji 2014-07-18 14:18:37 UTC
Created redmine issue http://projects.theforeman.org/issues/6691 from this bug

Comment 8 David Davis 2014-07-18 15:30:23 UTC
https://github.com/Katello/katello/pull/4458

Comment 9 Bryan Kearney 2014-07-22 14:01:22 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6691 has been closed
-------------
David Davis
Applied in changeset commit:katello|f1bfff08e97a4c3f6c682cf24a737a253f30b816.

Comment 11 Tazim Kolhar 2014-08-11 14:03:06 UTC
VERIFIED

Comment 13 Bryan Kearney 2014-09-11 12:29:35 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.