As of November 2007 the situation appears to be:-
Status (December 2007): This should be available with the CREAM (Computing Resource Execution And Management) Service but is at least a few months away.
Also the LFC isn't well suited to our needs as most of our data is outside of its reach on local disk or at FNAL. So what are the best tools to read, write, list, create directories and delete data in an SE if we cannot use lgc-utils? The SRM tools (srmcp, srmls etc) look idea, but at Oxford they fail:-
org.globus.ftp.exception.ServerException:
Server refused performing the request.
Custom message: Server reported transfer failure (error code1)
[Nested exception message: Custom message:
Unexpected reply: 426 Transfer aborted, closing connection
:Unexpected Exception : java.net.ConnectException: Connection timed out].
Nested exception is org.globus.ftp.exception.UnexpectedReplyCodeException:
Custom message: Unexpectedreply: 426 Transfer aborted, closing connection :
Unexpected Exception : java.net.ConnectException: Connection timed out
at org.globus.ftp.vanilla.TransferMonitor.run(TransferMonitor.java:178)
at org.globus.ftp.vanilla.TransferMonitor.start(TransferMonitor.java:105)
at org.globus.ftp.FTPClient.transferRunSingleThread(FTPClient.java:1451)
at org.globus.ftp.GridFTPClient.extendedGet(GridFTPClient.java:452)
at org.globus.ftp.GridFTPClient.extendedGet(GridFTPClient.java:416)
at org.dcache.srm.util.GridftpClient$TransferThread.run(GridftpClient.java:842)
at java.lang.Thread.run(Thread.java:534)
GridftpClient: transfer exception
and also several people have warned that srm is not an end user API,
but one for developers of such APIs.On the other hand globus-url-copy worked both to read and write data but how do I list, create directories and delete?
Status (January 2008): A version of lcg-utils that can be used independently of LFC is available, although not on the UIs we use yet. This should be our API of choice once it is. I will need a version that includes lcg-ls i.e. 1.6.4-1 or later [21 January 2008 1.6.5 released].
Globus error 158: the job manager could not lock the state lock fileA ticket [Gridpp #22053] has been raised.
December 13. Derek Ross has an explanation of the Globus error 158: MyProxy proxies don't contain the voms extensions, and the RB isn't smart enough to renew that part separately, so the voms extensions get dropped when the proxy gets renewed, which means that new connections using the new proxy get mapped to a different user. My problem was that without a role I was being mapped to minos003 by my proxy but to minossgm (i.e. my admin role) by MyProxy proxy. So I could fix by using my lcgadmin role so that both mapped to minossgm.
December 14: Sadly that doesn't work for others. Tobi gets minos010 with a VO and minos004 without.
December 15: Better news, the new glite/WMS middleware does do it properly. The setup of the MyProxy server is as before but the WMS server, that replaces the RB, is smart enough to get a proxy from myproxy and then contact the voms server to get the voms extensions for this new proxy so it will match the proxy used to submit the job. I have tested it and it works although, as the WMS configuration isn't yet standard, the job was submitted :-
glite-wms-job-submit -a -c ~/grid/config/lcgwms01.gridpp.rl.ac.uk.conf ./sleep_job.jdl [ -a auto delegate]Where ~/grid/config/lcgwms01.gridpp.rl.ac.uk.conf contains:-
[
VirtualOrganisation = "minos.vo.gridpp.ac.uk";
HLRLocation = "";
NSAddresses = {
"lcgwms01.gridpp.rl.ac.uk"
};
LBAddresses = {
{"lcgwms01.gridpp.rl.ac.uk"}
};
WMProxyEndpoints = {
"https://lcgwms01.gridpp.rl.ac.uk:7443/glite_wms_wmproxy_server"
};
MyProxyServer = "lcgrbp01.gridpp.rl.ac.uk";
]
The following have been fixed or have expired:-