-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set CA state to Error when there's insufficient free disk space #438
Comments
Checks if it's enough space in disk, if not, error status is set.
The plugin works correctly with unscheduled recordings, but if you scheduled a recording and there is no space: the error is delete when the recording begins, the CA records correctly and after the stop the error is shown again. |
That sounds like it might be useful: if you have a threshold of say 50G then a scheduled recording could still succeed and it would be better to try than not try at all. |
I'm closing this. Considering @smarquard answer to @silviabf comment, it's probably better to leave it as-is, as the QA seemed satisfactory. |
If there's not enough free disk space available for Galicaster, it would be preferable for the CA to change its state to error rather than idle (resulting in an Opencast status of unknown being set for the CA).
I have experimented with a plugin to check the available free space:
https://bitbucket.org/cilt/matterhorn_ansible/raw/cc0d3a4d0721f41c3275406f50ac2c73868bd59c/templates/gc2x/checkspace.py
Configure in conf-dist.ini, with
(minfreespace in GB)
but I can't see an easy way for the plugin to change the CA state to error when there's insufficient space (specifically __set_status is a private method).
The text was updated successfully, but these errors were encountered: