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.
DescriptionGourav Padholia
2019-11-18 14:41:07 UTC
Created attachment 1637334[details]
Content view publish task
Description of problem:
Publishing a new version of the content view is slow in Satellite 6.6 as compare to the previous version of Satellite.
Version-Release number of selected component (if applicable):
Red Hat Satellite 6.6
How reproducible:
Always
Steps to Reproduce:
1. Create a Content View in Satellite 6.6.
2. Add the repositories in the Content view.
3. Publish a new version of the Content view.
Actual results:
Content view publish task is taking huge time at Actions::Pulp::Repository::DistributorPublish and Actions::Katello::Repository::PurgeEmptyContent.
Expected results:
In previous version of Satellite content view publish taking less time as compare to the Satellite 6.6 with the same configuration and same repositories.
Additional info:
1. After Publishing a new version of content view, promote to the next lifecycle environment is working expected.
2. Resolve dependency feature is not enabled on the content view.
Steps to Test:
1. Create a Content View
2. Add the repositories in the Content view.
3. Publish a new version of the Content view.
Actual results:
Content view publish takes less than 10 minutes to publish.
Expected results:
Content view publish takes less than 10 minutes to publish.
Note: I have tested this with a variety of custom repos. I have tested a small pulp repo which took 7 seconds. I have tested a 2k packages repo that took 51 seconds. I have tested 20k packages repo that took 9 minutes. This is significantly faster than the 15+ minutes it took to publish a cv in this issue.
Custom repos I've used include: pulp, centosAppstream, RHEL8 baseOS & Appstream, and RHEL7 server.
Tested on 6.7.0_011. Marking issue as verified.
Hotfix is available for Satellite 6.6.2. To obtain it:
1. Open a support case, as the HF RPMs are too large to be provided as Bugzilla attachments
2. Make a complete backup or snapshot of Satellite server
3. Copy the hotfix RPMs to Satellite server
4. # satellite-maintain packages unlock
5. # yum install tfm-rubygem-katello-3.12.0.37-2.HOTFIXRHBZ1721679RHBZ1773601.el7sat.noarch.rpm
6. # satellite-maintain packages lock
7. # systemctl restart dynflowd httpd
NOTE: this Hotfix also includes https://bugzilla.redhat.com/show_bug.cgi?id=1721679
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-2020:1454
Created attachment 1637334 [details] Content view publish task Description of problem: Publishing a new version of the content view is slow in Satellite 6.6 as compare to the previous version of Satellite. Version-Release number of selected component (if applicable): Red Hat Satellite 6.6 How reproducible: Always Steps to Reproduce: 1. Create a Content View in Satellite 6.6. 2. Add the repositories in the Content view. 3. Publish a new version of the Content view. Actual results: Content view publish task is taking huge time at Actions::Pulp::Repository::DistributorPublish and Actions::Katello::Repository::PurgeEmptyContent. Expected results: In previous version of Satellite content view publish taking less time as compare to the Satellite 6.6 with the same configuration and same repositories. Additional info: 1. After Publishing a new version of content view, promote to the next lifecycle environment is working expected. 2. Resolve dependency feature is not enabled on the content view.