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 1136213

Summary: publishing and promoting content view containing only (not synced) RHEL6 and RHEL6 RH Common repos fails
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: Content ManagementAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, bkearney, byount, greartes, mmccune, mmurray, sghai, xdmoon
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 14:01:17 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
published cv that contains Red Hat repos but without syncing its contents none

Description Jan Hutař 2014-09-02 07:51:16 UTC
Description of problem:
Publishing and promoting content view containing only (not synced) RHEL6 and RHEL6 RH Common repos fails


Version-Release number of selected component (if applicable):
Satellite-6.0.4-RHEL-6-20140829.0


How reproducible:
1 of 1 attempt


Steps to Reproduce:
1. Upload manifest
2. In Content -> Red Hat Repositories check these two:
     Red Hat Enterprise Linux Server
       Red Hat Enterprise Linux 6 Server (RPMs)
         Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server 
       Red Hat Enterprise Linux 6 Server - RH Common (RPMs) 
         Red Hat Enterprise Linux 6 Server - RH Common RPMs x86_64 6Server 
3. Create new content view and add these two repositories into it
4. Click "Publish New Version"


Actual results:
Status bar gets red


Expected results:
It should finish without errors


Additional info:
Monitor -> Tasks -> Publish content view 'bz1125020'; organization 'Default_Organization' -> Error -> Exception says:

Katello::Errors::PulpError: PLP0000: Could not find a published directory for Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_RH_Common_RPMs_x86_64_6Server.

Comment 5 Brad Buckingham 2014-09-02 14:24:33 UTC
The normal workflow requires the content to be sync prior to publishing the content view.

Comment 6 Mike McCune 2014-09-04 21:32:24 UTC
WORKAROUND:

- Sync all repositories that are included in the content view before publishing a new version

Comment 14 Mike McCune 2015-05-26 20:15:42 UTC
This is caused by attempting to publish Content Views with repositories that have NOT been synced.

TESTPLAN:

* Enable a Red Hat repository
* Do NOT sync it
* Create a content view
* Add repo to said view
* Attempt to publish version of said view

Comment 15 Sachin Ghai 2015-05-27 06:25:09 UTC
Verified sat6.1 GA snap5

I can publish/promote cv with redhat repos which are not synced. I tried with RHEL6Server and RHEL6RH repo as mentioned in original bug description.

Please see attached screenshot of published CV without contents.

Moving this to verified.

Comment 16 Sachin Ghai 2015-05-27 06:28:34 UTC
Created attachment 1030334 [details]
published cv that contains Red Hat repos but without syncing its contents

Comment 17 Bryan Kearney 2015-08-11 13:27:05 UTC
This bug is slated to be released with Satellite 6.1.

Comment 18 Bryan Kearney 2015-08-12 14:01:17 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.