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 1952603 - Puppetserver is overloaded after upgrade from Satellite 6.7 to Satellite 6.8
Summary: Puppetserver is overloaded after upgrade from Satellite 6.7 to Satellite 6.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.8.0
Hardware: All
OS: All
high
medium
Target Milestone: 6.9.2
Assignee: satellite6-bugs
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-22 16:31 UTC by James Jeffers
Modified: 2024-06-14 01:20 UTC (History)
13 users (show)

Fixed In Version: foreman-installer-2.3.1.12-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1920072
Environment:
Last Closed: 2021-05-20 18:05:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 32269 0 High Closed Puppetserver 6+ really benefits from increased ReservedCodeCacheSize 2021-04-22 16:31:18 UTC
Red Hat Knowledge Base (Solution) 5800701 0 None None None 2021-04-22 16:31:18 UTC
Red Hat Product Errata RHBA-2021:2074 0 None None None 2021-05-20 18:05:40 UTC

Comment 7 Devendra Singh 2021-05-11 09:11:52 UTC
Verified on 6.9.2 Snap3

1- Set the value in string and it changes successfully.

satellite-installer --puppet-server-jvm-extra-args="-Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger"
2021-05-11 04:27:22 [NOTICE] [root] Loading default values from puppet modules...
2021-05-11 04:27:35 [NOTICE] [root] ... finished
2021-05-11 04:27:40 [NOTICE] [root] Running validation checks
Package versions are locked. Continuing with unlock.
....
2021-05-11 04:34:00 [NOTICE] [configure] 3300 out of 3329 done.
2021-05-11 04:34:21 [NOTICE] [configure] System configuration has finished.
  Success!

The changes reflected in the puppetserver services

# systemctl status puppetserver
● puppetserver.service - puppetserver Service
   Loaded: loaded (/usr/lib/systemd/system/puppetserver.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2021-05-11 04:33:43 EDT; 2min 30s ago
  Process: 16160 ExecStart=/opt/puppetlabs/server/apps/puppetserver/bin/puppetserver start (code=exited, status=0/SUCCESS)
 Main PID: 16193 (java)
    Tasks: 50 (limit: 4915)
   CGroup: /system.slice/puppetserver.service
           └─16193 /usr/bin/java -Xms2G -Xmx2G -Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger -XX:OnOutOfMemoryError="kill -9 %p" -XX:ErrorFile=/var/log/puppetlabs/puppetserver/puppetserver...

May 11 04:33:12 xyz.com systemd[1]: Starting puppetserver Service...
May 11 04:33:43 xyz.com systemd[1]: Started puppetserver Service.


2- Set the value in array and it updated successfully.

satellite-installer --puppet-server-jvm-extra-args="-Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger" --puppet-server-jvm-extra-args="-XX:ReservedCodeCacheSize=1024m"
2021-05-11 04:07:38 [NOTICE] [root] Loading default values from puppet modules...
......
......
2021-05-11 04:14:26 [NOTICE] [configure] 3300 out of 3329 done.
2021-05-11 04:14:45 [NOTICE] [configure] System configuration has finished.
  Success!


The changes reflected in the puppetserver services

# systemctl status puppetserver
● puppetserver.service - puppetserver Service
   Loaded: loaded (/usr/lib/systemd/system/puppetserver.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2021-05-11 04:14:11 EDT; 3min 43s ago
  Process: 9767 ExecStart=/opt/puppetlabs/server/apps/puppetserver/bin/puppetserver start (code=exited, status=0/SUCCESS)
 Main PID: 9800 (java)
    Tasks: 52 (limit: 4915)
   CGroup: /system.slice/puppetserver.service
           └─9800 /usr/bin/java -Xms2G -Xmx2G -Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger -XX:ReservedCodeCacheSize=1024m -XX:OnOutOfMemoryError="kill -9 %p" -XX:ErrorFile=/var/log/puppe...

May 11 04:13:38 xyz.com systemd[1]: Starting puppetserver Service...
May 11 04:14:11 xyz.com systemd[1]: Started puppetserver Service...


3- Verified the fixed package

rpm -qa|grep foreman-installer-2
foreman-installer-2.3.1.13-1.el7sat.noarch

Comment 12 errata-xmlrpc 2021-05-20 18:05:30 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 (Satellite 6.9.2 Async Bug Fix Update), 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/RHBA-2021:2074


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