Project

General

Profile

Bug #7455

togglePortsAndReplication failing on tomcat stop

Added by Rob Nahf over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Support Operations
Target version:
Start date:
2016-01-05
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

The script confirms that tomcat7 has exited after a service stop. The test was using 'pidof java', which was too imprecise, especially now that we have solr cloud running.

The test needs to change either using 'services status', or check for the .pid file in /var/run/ (/var/run/tomcat7.pid)


Subtasks

Task #7574: add togglePortsAndReplication into cn-os-coreClosedRob Nahf

Associated revisions

Revision 16771
Added by Rob Nahf over 8 years ago

fixes #7455. created new check for tomcat based on existence of /var/run/tomcat7.pid file. Also added a reciprocal tomcat start after the port reconfigure, which was curiously missing from previous versions.

History

#1 Updated by Rob Nahf over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

refactored the script in subversion. There isn't a deployment script, so manually deployed on DEV-2. It worked better in the recent upgrade.

#2 Updated by Rob Nahf over 8 years ago

  • Target version changed from CCI-2.0.0 to CCI-2.0.3

#3 Updated by Rob Nahf over 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)