Closed nikmagini closed 7 years ago
Alberto, could you take a look at this please?
Thanks. Tony.
Sure
Alberto On Nov 18, 2013 10:34 AM, "Tony Wildish" notifications@github.com wrote:
Alberto, could you take a look at this please?
Thanks. Tony.
— Reply to this email directly or view it on GitHubhttps://github.com/dmwm/PHEDEX/issues/948#issuecomment-28713510 .
correcting assignee, for the record, since Alberto provided the fix.
This will go out in 4.1.4, due soon.
Hi Tony, Alberto, this script seems to be broken, at least in the current HEAD I get this:
-sh-4.1$ StorageConsistencyCheck -help Global symbol "$se_name" requires explicit package name at /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck line 66. Global symbol "$se_name" requires explicit package name at /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck line 83. Global symbol "$se_name" requires explicit package name at /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck line 88. Global symbol "$se_name" requires explicit package name at /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck line 88. Global symbol "$se_name" requires explicit package name at /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck line 149. Global symbol "$se_name" requires explicit package name at /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck line 149. Global symbol "$tmp" requires explicit package name at /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck line 152. Execution of /afs/cern.ch/user/r/ratnik/public/SpaceMon/PHEDEX/Utilities/StorageConsistencyCheck aborted due to compilation errors.
[reopening the ticket] This is reproducible in my public PHEDEX instalaltion on lxplus.cern.ch: . ~ratnik/public/SpaceMon/env.sh StorageConsistencyCheck -h
Adding a quick fix. Look like now works!.
Hello,
currently, the PHEDEX/Utilities/StorageConsistencyCheck script accepts "-se_name" as option:
https://github.com/dmwm/PHEDEX/blob/master/Utilities/StorageConsistencyCheck
In some cases (e.g. T1Disk vs T1Buffer/MSS), we have different PhEDEx nodes with the same T_ADM_NODE.SE_NAME in TMDB. To check the two nodes independently, the script should accept the option -node instead.
Thanks, Nicolo'