Bug 1383922 - 7.0.54-8.el7_2 update breaks pacemaker resource agent
Summary: 7.0.54-8.el7_2 update breaks pacemaker resource agent
Keywords:
Status: CLOSED DUPLICATE of bug 1249430
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tomcat
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Coty Sutherland
QA Contact: Jan Onderka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 07:35 UTC by Rik Theys
Modified: 2020-01-17 16:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-10 20:33:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

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:


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