Skip to content

Update running simulation validation checks

Related tasks

Context

On startup, Cloudsim checks available clusters for running simulations in order to update its internal state to track existing simulations. The simulation validation check requires all pods associated with a simulation to be in the Running state for a simulation to be considered valid. This check is a bit too strict, as simulations may still be in a valid state even if some of its pods are no longer running. One such example is having a field computer get to the Completed state, where the field computer code voluntarily exited with no errors.

Change

The initialization code has been update to only require that the Gazebo and copy pods are in the Running state to consider a simulation valid.

Other information

Additional documentation

Edited by Alejo Carballude

Merge request reports