prominence-eosc / prominence

PROMINENCE server
Apache License 2.0
2 stars 0 forks source link

Check if OneData mount is successful or not #102

Open alahiff opened 5 years ago

alahiff commented 5 years ago

At the moment the oneclient command is run but is assumed to be successful. If it fails, need to return this error back to the user so it ends up in the statusReason.

alahiff commented 4 years ago

Implemented in https://github.com/prominence-eosc/prominence/commit/c6b55669ad3ad6a3e4b50ba7d4c699dbb533982b https://github.com/prominence-eosc/prominence/commit/d1b9e00a73150d75a4066a5fc5b4706888b38c7c (so far only in promlet.py.eosc, not yet promlet.py)

If a mount fails the job is reported as being in state failed and the reason for the failure is clear.