Changelog: slk_helpers v1.10.2#
Update from slk_helpers v1.9.7 to v1.10.2
see here for changes from slk_helpers v1.9.5 to v1.9.9
see here for changes from slk_helpers v1.9.3 to v1.9.5
see here for changes from slk_helpers v1.9.0 to v1.9.3
see here for changes from slk_helpers v1.8.10 to v1.9.0
see here for changes from slk_helpers v1.8.2 to v1.8.10
see here for changes from slk_helpers v1.7.4 to v1.8.2
see here for changes from slk_helpers v1.7.1 to v1.7.4
see here for changes from slk_helpers v1.6.0 to v1.7.1
see here for changes from slk_helpers v1.5.8 to v1.6.0
see here for changes from slk_helpers v1.5.7 to v1.5.7
see here for changes from slk_helpers v1.2.x to v1.5.7
Please have a look here for a detailed description of the new features and here for an incremental changelog.
Major changes#
command
sizecan calculate the size of a namespace incl. its content when-Ris setslk_helpersallow to submit verify jobs (commandsubmit_verify_job) and collect their results (commandresults_verify_job); a verify job compares the actual size of cached files with the file size stored in the StrongLink metadata databasetimeout errors of StrongLink are properly cached and the
slk_helpersre-try all operations multiple times when timeouts occur
Changes that might break established workflows#
new job states (unclear whether tthey appear in your workflows):
BLOCKED,PAUSED,STOPPED,WAITING,OTHERaccess constraints for requesting job information;
slk_helpers job_statusdoes not work for any job id anymore (details below)command
sizereturns0as size when namespace is targeted and-Ris not set; previously, an error was returned
All fixes and new features#
slk_helpersallow to run verify jobs which check whether archived files are smaller than expected- important new commands:
is_admin_session: Check if the use is currently logged in as normal user or admin user; mainly useful for admin users working on multiple accountsjob_report: fetch raw verify job report; please useresult_verify_jobinstead if possibleprint_rcrs: print size and checksums of file parts; some HPSS files are stored as two parts on two tapes; mainly useful for users who retrieve large amounts of old dataresult_verify_job: list relevant errors found by a verify jobsearch_immediately(hidden): Creates search and returns search id immediately, even if search is not finished; less error checks than inslk search=> strange error message possiblesearch_incomplete: Prints whether the search is incomplete (still running)search_successful: Prints whether the search was successfulsubmit_verify_job: run a verify job for a provided set of filestotal_number_search_results(hidden): print total number of search results of a search id; results which are not visible to the current user are counted as well
catch all HTTP status code
>= 400everytime an HTTP request is sendtimeout errors should always cause an exit code of
3new job states:
BLOCKED,PAUSED,STOPPED,WAITING,OTHER- access constraints for requesting job information; this affects
slk_helpers job_statusandjob_report; non-admin users may only access: VERIFYjobs of the current user orCOPYjobs, which do retrievals/recalls and were started by slklist number of errors and checked files (
--number-errorsand--number-sources)
- access constraints for requesting job information; this affects
- extended command
size: new parameter:
-R/--recursivefor requesting the size of the content of folders recursivelynew parameter:
--pad-spaces-leftfor space padding to the left in order to align file/namespaces sizes when the command is called multiple timesnew parameters:
-vand-vvfor verbose and double-verbose mode; only reasonable in combination with-Rreturns
0as size when namespace is targeted and-Ris not setupdated textual output
- extended command
Known issues#
list_searchmay list already deleted files (not checked for performance reasons)