The SRM does not finish starting - container_finished:false
search cancel

The SRM does not finish starting - container_finished:false

book

Article ID: 265019

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

 

The SRM does not start. Dozen of these messages: 

Apr 18, 2023 20:25:29.025 (SRM/LandscapeManager/LandscapeThread_0) (RepMgr) - (INFO) - container_finished:false 

Apr 18, 2023 20:25:39.025 (SRM/LandscapeManager/LandscapeThread_1) (RepMgr) - (INFO) - container_finished:false 

Apr 18, 2023 20:25:39.025 (SRM/LandscapeManager/LandscapeThread_0) (RepMgr) - (INFO) - container_finished:false

Environment

Release : 22.2.x / 23.3.x

Cause

As per jstack, the Jasper server is not responding to the OC SRM call below:

========================================================================

 - com.aprisma.spectrum.app.repmgr.re.bo.UpdateJasperPassword.update() @bci=973, line=217 (Interpreted frame)
- com.aprisma.spectrum.app.repmgr.re.bo.UpdateJasperPassword.init() @bci=1, line=47 (Interpreted frame)

========================================================================

 

Start Tomcat, Collect  Jstack when issue started ...
jstack -F <PID of OneClick>  >> <filename>

jstack is under $SPECROOT/Java/bin

You can get the <PID of OneClick> with: ps -fe | grep -i /tomcat/conf/logging.properties

Replace <filename> for instance with /tmp/jstack_output.txt

Please collect jstack data for at least five times (at an interval of 1 min each) when the issue is occurred

Resolution

Please restart the Jasper server and then restart the OC SRM tomcat service, it should resolve the issue.

In case the issue is not resolved, please disable Jasper Integration in SRM using MySQL query, and then restart OC SRM Tomcat and re-enable Jasper Integration from the OC Web page.

cd $SPECROOT/mysq/bin/

./mysql --defaults-file=../my-spectrum.cnf -uroot -p<password> -e "Update registry set jasperEnabled=false;" reporting