[scheduler] Report job cancellations and retry on alternate tape
Description
Retrieve jobs can be cancelled by the user or via tape state change. Both use-cases are implemented here. Retrieve jobs can also be retried on a new mount. In such a case this implementation will check and switch to use another tape VID if available.
After these modifications and few more fixes all tests of the test_client.sh succeed.
Checklist
-
Documentation reflects the changes made. -
Merge Request title is clear, concise, and suitable as a changelog entry. See this link
References
Closes #1159 (closed) Closes #1222 (closed)
Edited by Jaroslav Guenther