FNNDSC / pman

A process management system written in python
MIT License
23 stars 33 forks source link

Take into account all possible swarm task states #146

Closed jbernal0019 closed 3 years ago

jbernal0019 commented 3 years ago
  1. Take into account all possible swarm task states: 'new', 'pending', 'assigned', 'accepted', 'preparing' and 'starting' are considered as 'notstarted' by pman. 'running', 'complete' and 'failed' states are considered as 'started', 'finishedSuccessfully' and 'finishedWithError' respectively. Any other swarm task state is considered as 'undefined'.
  2. Separate the code for checking container status in swarm environment in a different if branch within t_status_process method (similar to openshift).