Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1084855

Summary: Sync Plans: Trying to choose products to sync is confusing
Product: Red Hat Satellite Reporter: Thomas Cameron <tcameron>
Component: WebUIAssignee: Walden Raines <walden>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: kbidarka, mmccune
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: 2014-07-02 14:08:10 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:
Embargoed:
Attachments:
Description Flags
sosreport
none
associating sync-plan via prds as per method1
none
add prd to sync-plan stage itself none

Description Thomas Cameron 2014-04-07 04:06:19 UTC
Description of problem:
I've manually synced "Red Hat Enterprise Linux 6 Server Kickstart x86_64 6Server" and "Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server" to my new satellite server. I'm trying to set up a new sync plan. I called it nightly-sync. Once I define the schedule, I want to go in and choose the products to be synced. I click on nightly-sync plan, then choose the Products tab, then click on the Add tab. I see these products:

JBoss Enterprise Application Platform 
JBoss Enterprise Application Platform - ELS 
JBoss Enterprise Web Platform 
JBoss Enterprise Web Server 
Kernel Derivative Works for BluegeneQ 
Kernel Derivative Works for HPC for Power Systems 
MRG Realtime 
Oracle Java for RHEL Server 
Red Hat Beta 
Red Hat Developer Toolset for RHEL Client 
Red Hat Developer Toolset for RHEL for IBM POWER 
Red Hat Developer Toolset for RHEL for IBM POWER - Extended Update Support 
Red Hat Developer Toolset for RHEL HPC Node 
Red Hat Developer Toolset for RHEL Server 
Red Hat Developer Toolset for RHEL Server EUS 
Red Hat Developer Toolset for RHEL Workstation 
Red Hat Directory Server 
Red Hat Enterprise Identity Replication 
Red Hat Enterprise Linux 7 Desktop High Touch Beta 
Red Hat Enterprise Linux 7 for HPC Compute Node High Touch Beta 

Note that Red Hat Enterprise Linux is not listed!

If I click on any of these products, though, "Red Hat Enterprise Linux Server" shows up in the left column. Then I can click on it and choose to sync the repositories I need. But then when I go to the Details tab for "Product Red Hat Enterprise Linux Server" and click the Sync Plan drop-down menu and add nightly-sync, I get "An error occurred saving the Product: Red Hat products cannot be updated."

Am I doing something wrong? It strikes me that when you create a sync plan, you'd want to specify which products/repos to sync.

Comment 1 Thomas Cameron 2014-04-07 04:10:43 UTC
Created attachment 883448 [details]
sosreport

Comment 2 Thomas Cameron 2014-04-07 04:22:30 UTC
I took screen shots of what I was trying to do and put them up at http://www.camerontech.com/1084855/ if that's helpful.

Comment 3 RHEL Program Management 2014-04-07 04:34:26 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 5 Mike McCune 2014-04-07 05:08:32 UTC
I reproduced this as well.  For some reason some products aren't showing up in the [Add] tab of the sync plan, RHEL Server included.

Comment 6 Walden Raines 2014-04-08 14:38:46 UTC
This PR https://github.com/Katello/katello/pull/3955 addresses the sync plan add product list issues.  Although note that you must enable a repository under a red hat product on the Red Hat Repositories page in order for the containing product to be displayed.

This PR https://github.com/Katello/katello/pull/3956 addresses the error when updating a Red Hat product's sync plan.

Comment 7 Walden Raines 2014-04-09 19:01:11 UTC
commit 8fc269eb13f0ec19860d8f3c3491639345555d34
Merge: 68ac26a 3d6110f
Author: Walden Raines <walden>
Date:   Tue Apr 8 11:16:09 2014 -0400

    Merge pull request #3955 from waldenraines/bug-5102
    
    Fixes #5102, BZ1084855, limit sync plan add list to enabled products.

commit 3d6110f34003ea94d6f10a5a99af6a158ccf3866
Author: Walden Raines <walden>
Date:   Tue Apr 8 08:25:42 2014 -0400

    Fixes #5102, BZ1084855, limit sync plan add list to enabled products.

commit 76a7c09dda6a8cc4fd411c0d29bda9aafa009224
Merge: 0c0a17f 28d4279
Author: Walden Raines <walden>
Date:   Wed Apr 9 15:00:22 2014 -0400

    Merge pull request #3956 from waldenraines/bug-5103
    
    Fixes #5103, BZ1084855: allow sync plans to be added to RH products.

commit 28d4279d52355245c7b06f9f7993a511d3a42264
Author: Walden Raines <walden>
Date:   Tue Apr 8 10:25:12 2014 -0400

    Fixes #5103, BZ1084855: allow sync plans to be added to RH products.

Comment 9 Kedar Bidarkar 2014-05-07 11:53:16 UTC
Tried both the ways as mentioned in the description and it works fine now.

Method1: 

[note: ignore the wording focus on the navigation alone]

If I click on any of these products, though, "Red Hat Enterprise Linux Server" shows up in the left column. Then I can click on it and choose to sync the repositories I need. But then when I go to the Details tab for "Product Red Hat Enterprise Linux Server" and click the Sync Plan drop-down menu and add nightly-sync. I was successfully able to add the sync-plan from the dropdown to the product.

Method2:


I click on nightly-sync plan, then choose the Products tab, then click on the Add tab. I see the products and we are able to add the "Red Hat Enterprise Linux Server" successfully to the sync plan.

attaching screenshot shortly.

Comment 10 Kedar Bidarkar 2014-05-07 11:55:25 UTC
Created attachment 893232 [details]
associating sync-plan via prds as per method1

Comment 11 Kedar Bidarkar 2014-05-07 11:56:01 UTC
Created attachment 893233 [details]
add prd to sync-plan stage itself

Comment 12 Bryan Kearney 2014-07-02 14:08:10 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 13 Bryan Kearney 2014-07-02 14:09:27 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0