Skip to content

EMS Error on Worker Fails #19

Description

@vahid-dan

EMS service needs a restart after a fail in worker nodes:

Jun 26 17:45:43 graple-Submit python[252255]: Traceback (most recent call last):
Jun 26 17:45:43 graple-Submit python[252255]:   File "ems.py", line 169, in <module>
Jun 26 17:45:43 graple-Submit python[252255]:     process_once()
Jun 26 17:45:43 graple-Submit python[252255]:   File "ems.py", line 144, in process_once
Jun 26 17:45:43 graple-Submit python[252255]:     prog = round(float(cout.count('4'))/len(dbdoc['payload'])*100, 2)
Jun 26 17:45:43 graple-Submit python[252255]: ZeroDivisionError: float division by zero
Jun 26 17:45:43 graple-Submit systemd[1]: ems.service: Main process exited, code=exited, status=1/FAILURE
Jun 26 17:45:43 graple-Submit systemd[1]: ems.service: Unit entered failed state.
Jun 26 17:45:43 graple-Submit systemd[1]: ems.service: Failed with result 'exit-code'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions