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.

Bug 1952603

Summary: Puppetserver is overloaded after upgrade from Satellite 6.7 to Satellite 6.8
Product: Red Hat Satellite Reporter: James Jeffers <jjeffers>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: medium Docs Contact:
Priority: high    
Version: 6.8.0CC: ahumbe, ekohlvan, jpasqual, ktordeur, kupadhya, mmccune, peter.vreman, phess, rcavalca, sadas, sokeeffe, tbrisker, zhunting
Target Milestone: 6.9.2Keywords: Performance, PrioBumpGSS, PrioBumpPM, Regression, Triaged, Upgrades
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: foreman-installer-2.3.1.12-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1920072 Environment:
Last Closed: 2021-05-20 18:05:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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