#1643 PR merged: Tried to improve TSM connection test

Labels: enhancement, cleanup, fixed / solved / done

jsmeix opened issue at 2017-12-12 15:29:

Tried to improve TSM connection test and
renamed misspelled 389_check_TSM_connexion.sh
into 389_check_TSM_connection.sh - cf.
https://github.com/rear/rear/issues/1534#issuecomment-351066398
and subsequent comments.

jsmeix commented at 2017-12-13 10:41:

@schabrolles
I removed 'dsmc query mgmt' and use only 'dsmc query session'
and improved the comments according to how I understand things.

jsmeix commented at 2017-12-13 10:48:

@schabrolles
in output/TSM/default/950_dsmc_save_result_files.sh
I noticed:

    ... dsmc archive ...
...
ret=$?
# Error code 8 can be ignored
[ "$ret" -eq 0 -o "$ret" -eq 8 ]
StopIfError "Could not save result files with dsmc"

so that I wonder if perhaps exit code 8
may have to be also ignored for 'dsmc query session'?

Also in verify/TSM/default/400_verify_tsm.sh
there is "Error code 8 can be ignored" with that URL
https://sourceforge.net/tracker/?func=detail&atid=859452&aid=1942895&group_id=171835
but that results an "Error 404" in my browser so that currently
I don't know a reason why "Error code 8 can be ignored".

schabrolles commented at 2017-12-13 11:37:

@jsmeix more information about TSM return code here http://publib.boulder.ibm.com/tividd/td/TSMC/GC32-0787-04/en_US/HTML/ans10000117.htm
I know somebody who will appreciate the "Warning" part. :-)

jsmeix commented at 2018-01-02 14:19:

@schabrolles
the current pull request state is that you still request changes
but I think I implemented what you had requested.
If you still need changes please tell me what you still need.


[Export of Github issue for rear/rear.]