Bug #21197
closedPost-sync pulp notification shouldn't fail with lock error
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1378374
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).
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/6989 added
Updated by Justin Sherrill about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|d05d5a55750e88906287049c8362d3548f21941d.
Updated by Justin Sherrill about 7 years ago
- Translation missing: en.field_release set to 250