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 2259163 - PG::ProgramLimitExceeded error for Update content counts task on a big setup
Summary: PG::ProgramLimitExceeded error for Update content counts task on a big setup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Capsule - Content
Version: 6.15.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: 6.15.0
Assignee: Ian Ballou
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-19 09:24 UTC by Vladimír Sedmík
Modified: 2024-04-23 17:17 UTC (History)
4 users (show)

Fixed In Version: rubygem-katello-4.11.0.4-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:17:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 37080 0 High Ready For Testing PG::ProgramLimitExceeded error for Update content counts task on a big setup 2024-01-22 15:57:45 UTC
Red Hat Issue Tracker SAT-22577 0 None None None 2024-01-19 09:25:03 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:17:19 UTC

Description Vladimír Sedmík 2024-01-19 09:24:10 UTC
Description of problem:
After Capsule sync the 'Update Content Counts' task is trigerred. In case of a bigger setup the task fails with error like:
PG::ProgramLimitExceeded: ERROR:  index row requires 17440 bytes, maximum size is 8191


Version-Release number of selected component (if applicable):
6.15.0 snap 6.0


How reproducible:
always


Steps to Reproduce:
1. Have a Satellite with registered Capsule (unassigned LCE right now).
2. Prepare the content to sync
  a) Sync several repos, I used these for example:
     ansible-2.9-for-rhel-8-x86_64-rpms                 
     rhel-7-server-ansible-2.9-rpms             
     rhel-7-server-kickstart                             
     rhel-7-server-rpms                                     
     rhel-8-for-x86_64-baseos-kickstart                   
     rhel-8-for-x86_64-baseos-rpms                                 
     rhel-9-for-x86_64-baseos-kickstart                   
     rhel-9-for-x86_64-baseos-rpms                                 
     rhel-6-server-els-satellite-client-6-rpms  
     rhel-7-server-satellite-client-6-rpms     
     satellite-client-6-for-rhel-8-x86_64-rpms         
     satellite-client-6-for-rhel-9-x86_64-rpms    
  b) Create 10 LCEs.
  c) Create 10 CVs, add all the repos, publish and promote to all LCEs from 2b).
3. Assign the Capsule with Library and all the LCEs from 2b).
4. Sync the Capsule.


Actual results:
After sync is done the Update Content Counts task is spawned and it fails with the PG::ProgramLimitExceeded error


Expected results:
The task should succeed without errors.

Comment 4 Ian Ballou 2024-01-22 14:58:26 UTC
Created redmine issue https://projects.theforeman.org/issues/37080 from this bug

Comment 8 Vladimír Sedmík 2024-01-25 15:39:58 UTC
Verified in 6.15.0 snap 8.0 - the Update Content Counts task succeeded without errors, content counts on the Capsule side match the CV counts

Comment 11 errata-xmlrpc 2024-04-23 17:17:18 UTC
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 (Important: Satellite 6.15.0 release), 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-2024:2010


Note You need to log in before you can comment on or make changes to this bug.