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 1620085

Summary: satellite-installer does not restart tomcat when adding candlepin::java_opts to custom-hiera.yaml
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Devendra Singh <desingh>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.2CC: ehelms, stanislav.moravec
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-28 01:44:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Moravec 2018-08-22 12:33:28 UTC
Description of problem:
User story: I want to increase memory for candlepin/tomcat/java, and make it persistent. But adding relevant config to custom-hiera.yaml and running installer does not restart tomcat, it just changes the config..


Version-Release number of selected component (if applicable):
Sat 6.3.2
satellite-installer-6.3.0.12-1.el7sat.noarch


How reproducible:
100%


Steps to Reproduce:
1. ps aux | grep java | grep tomcat
2. echo 'candlepin::java_opts: "-Xms1024m -Xmx8192m"' >> /etc/foreman-installer/custom-hiera.yaml
(here I assume the option hasn't been there yet)
3. satellite-installer
4. ps aux | grep java | grep tomcat


Actual results:
4. shows the same process like 1, with previous java opts


Expected results:
4. to show new process with the java opts applied


Additional info:

Comment 2 Eric Helms 2020-02-28 01:44:14 UTC
These particular java_opts are now part of the tuning profiles. As well, configuring via custom_hiera and restarting installer will restart tomcat in current release.