Hide Forgot
Description of problem: When importing a kickstart tree from the CDN, sometimes: * the resulting repository is empty (in Katello's interface) * the repository shows up properly if the Pulp URL is accessed with a web browser: http://sat6.example.com/pulp/repos/dsicorp-qualif/Library/content/dist/rhel/server/7/7.2/x86_64/kickstart/ * installation media is not created Note that this is not a case of not affecting the installation media to the location. When this happens, installation media is really absent from the Satellite. Version-Release number of selected component (if applicable): Satellite 6.2.2 (freshly installed on 2016/9/20) How reproducible: Not always Steps to Reproduce: 1. Activate a Kickstart tree in Red Hat Repositories => Kickstart => RHEL Server 2. Synchronize Content in Content => Sync Status 3. When Content is synchronized, go to Administer => Locations, select your location, go to Media Actual results: *Sometimes* the associated media is not present. When the associated media is not present, going to Content => Packages and selecting the Kickstart repository will display "There are no Packages in this Organization. Create one or more Products with Packages to view Packages on this page". However, going to the expected kickstart tree url: http://sat6.example.com/pulp/repos/dsicorp-qualif/Library/content/dist/rhel/server/7/7.2/x86_64/kickstart/ will work. Expected results: Associated media present, repository not empty. Additional info: Pulp's task result is "success" everytime (in /var/log/messages).
The root cause of this is: https://bugzilla.redhat.com/show_bug.cgi?id=1279539 A temporary workaround is covered here: https://access.redhat.com/solutions/2604571
This could be considered a duplicate of 1279539, but one could also consider that post sync notifications from pulp maybe shouldn't be blocked by active syncs in katello.
Workaround: Navigate to Administer > Settings Click on the 'Content' tab find 'force_post_sync_actions' and change it to 'true' Re-sync the affected kickstart repos.
*** Bug 1369907 has been marked as a duplicate of this bug. ***
*** Bug 1373531 has been marked as a duplicate of this bug. ***
Created redmine issue http://projects.theforeman.org/issues/21197 from this bug
Upstream bug assigned to jsherril
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21197 has been resolved.
In 6.3 installation media are no longer created, see https://bugzilla.redhat.com/show_bug.cgi?id=1382775 back to ON_QA
Not much to verify then, sync succeeds, flipping to verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336