Bug 1383922

Summary: 7.0.54-8.el7_2 update breaks pacemaker resource agent
Product: Red Hat Enterprise Linux 7 Reporter: Rik Theys <rik.theys>
Component: tomcatAssignee: Coty Sutherland <csutherl>
Status: CLOSED DUPLICATE QA Contact: Jan Onderka <jonderka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: cfeist, csutherl, jruemker, mbabacek, mkolbas, oalbrigt
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-10 20:33:02 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:

Description Rik Theys 2016-10-12 07:35:19 UTC
Description of problem:

Hi,

We have a tomcat resource agent configured in our pacemaker cluster like this:

  Resource: Tomcat (class=ocf provider=heartbeat type=tomcat)
   Attributes: tomcat_user=tomcat java_home=/usr/lib/jvm/jre-1.7.0 java_opts="-server -Xmx2048m" catalina_home=/usr/share/tomcat catalina_base=/usr/share/tomcat catalina_tmpdir=/var/cache/tomcat/temp logging_config=/usr/share/tomcat/conf/logging.properties logging_manager=org.apache.juli.ClassLoaderLogManager statusurl=http://localh
ost:8080/app/status 

This used to work fine, but since the upgrade to the latest tomcat package (security update) this no longer works.

Root cause seems to be that /usr/sbin/tomcat (which is used by the resource agent) now uses systemd to start tomcat. 

Regards,

Rik


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


How reproducible:
tomcat-7.0.54-8.el7_2.noarch

Steps to Reproduce:
1. Configure pacemaker resource using the tomcat resource agent
2. Upgrade to latest tomcat package
3.

Actual results:
tomcat fails to start correctly

Expected results:
Tomcat works like before


Additional info: