redo_verify_requests.py

v0.3 of NLA introduced active requests, where requests can contain files not currently in the NLA that will be restored as they become available.

Unfortunately a coding bug in the verify process meant that request_files fields for the VERIFY_PROCESS requests were not being filled in.

This had the side effect of those files being permanently stuck in the ON_DISK state, so that they could not be "tidied" by the tidy_requests process (which should set their state to be ON_TAPE) and so they could not be restored via the NLA system.

This script creates a new VERIFY_PROCESS TapeRequest to contain all the files that have the ON_DISK state and adds those files to the request_files field in of the new TapeRequest. This ensures that the tidy_requests process can convert the state of all of these files from ON_DISK to ON_TAPE.

nla_control.scripts.redo_verify_requests.run()

Entry point for the Django runscript.