This is completely missing when you specify --all option.
The problem is in the file /opt/cta-ops/ops-venv/lib/python3.9/site-packages/tapeverify/cta_verify_tape.py in this function:
235 def whole_tape_scan(tapefile_ls_fp):
236 """
237 Scan the full tape, just submit the whole iterable
238 """
239 logger.info("Performing whole tape scan.")
240 tf_iter = get_iter(tapefile_ls_fp)
241 return (list(tf_iter), True, file_size_sum)
The value tf_iter is not a list so it fails later in the code. If you put simple list(tf_iter) into the return statement on line 241, then it will work as expected.
I will submit a fix into the code, but I wanted to unblock you so that you can do this modification on your side and proceed.
This thread is quite long and is diverging a bit so I suggest we stop here. Better to open separate threads on the specific topics.
`cta-ops-verify-tape` is an orchestrator, it queues the files for verification but cannot report if verification succeeded or failed as this is not known until much later. Each verification job logs its status, so you should monitor/instrument those log messages to track the progress of verification. If you need more help, please create a new thread for that.
Drive dedication was a CASTOR concept that we did not bring into CTA. Please could you create a new thread about that and describe in detail what is your use case (what problem are you trying to solve by dedicating a drive to verification)? Perhaps there is another way to do what you want.