BlazeMeter Blazevse Container Not Restarting When Host is Restarted
search cancel

BlazeMeter Blazevse Container Not Restarting When Host is Restarted

book

Article ID: 207401

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

Blazevse set up on OPL. Deploy a MAR file to Blazevse OPL and crane starts up the blazevse container to support this MAR file. Now the host is rebooted. Crane restarts but the Blazevse container is not restarted. The Mock Service shows as fail. I have to restart the Mock Service manually. Is this the way it is supposed to work?

Environment

Release : SAAS

Component : BLAZEMETER MOCK SERVICES

Cause

Working as designed.

Resolution

For our Crane OPL agents, we include the --restart=on-failure argument in the docker run command generated by the Blazemeter UI. 

For containers created and started by Crane (such as BlazeVSE), Crane does not specify any particular restart policy, so it would default to no.

After restarting Docker, Crane is running but BlazeVSE is not. When we did a docker inspect on the BlazeVSE container, it had an empty value for the restart policy.

Additional Information

Sustaining Engineering is going see if there is a way to adjust the restart policy or if we would have to add this as an enhancement to Crane.