Wednesday, November 30, 2005

Some Historical GridFTP Issues

* Summary:
- The CoG's file listing GridFTP operations don't work with GridFTP 2.0 servers in GT 4.
- PWD is flaky (sometimes works, sometimes not).

* GridFTP Installations
- palermo.ucs.indiana.edu runs GridFTP v 1.17 from NMI R5 (~ 1 year old).
- danube.ucs.indiana.edu runs GridFTP v 2.0 from the GT4 release (from globus.org).
- gf1.ucs.indiana.edu runs GridFTP v 2.0 (the same) from the NMI R7 release.

* Set up:
- I run all servers in the standard way, as root, started by xinet.d.
- I checked installations using the globus-url-copy tool in various combinations
(gf1 connect to danube, danube to palermo, danube to gf1). After lots of fun with
certificates and signing policies, it all works.
- Note of course this does not let me verify the list operation that causes problems.

* Here is my cog-kit set up:
- I use Mike's maven stuff to download all cog-jars.
- After unpacking, I run

maven ogceDeploy:ogceDeploy -Dtomcat.home=$HOME/GridFTPTest/test-shared-libs

- I set the classpath to point to the bazillion jars in the shared/lib that gets created.
- I then compile the demo FileOperations.java program from the CoGKit website
(I downloaded it directly from the website).

* Sanity check:
- I run several commands successfully against the old GridFTP 1.17 server on palermo.
- OK, rmdir doesn't work but I may just be using it incorrectly.

* Now for GridFTP on gf1. The following work OK.
- cd works (verified with mkdir)
- mkdir
- rmdir (actually doesn't work but doesn't report errors either).
- isDirectory
- exists
- rename
- putfile
- getfile


* Below are the commands that cause problems. These are the same for both the NMI R7 server
and the GT4 version (not unexpected since they are identical versions).

---------------------------------------------------------------------------------
* Problem: ls
---------------------------------------------------------------------------------

Please Enter your command with its arguments
ls
- Control channel sending: PASV

- Control channel received: 227 Entering Passive Mode (156,56,104,81,145,163)
- Control channel sending: LIST -d *

- Getting default credential
Operation failed: File operation failed
Submission Exception: File Operation failed
Please Enter your command with its arguments

----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
Problem: ls
----------------------------------------------------------------------------------
Please Enter your command with its arguments
ls /home/gateway
- Control channel sending: PWD

- Control channel received: 257 "/home/gateway" is current directory.
- Control channel sending: CWD /home/gateway

- Control channel received: 257 "/home/gateway" is current directory.
- Control channel sending: PASV

- Control channel received: 250 CWD command successful.
Operation failed: File operation failed
Submission Exception: File Operation failed
Please Enter your command with its arguments
----------------------------------------------------------------------------------


----------------------------------------------------------------------------------
Problem: PWD. Actually, this always seems to fail when used immediately
after another client command (ls, cd, etc), but then works the second time.
----------------------------------------------------------------------------------
Please Enter your command with its arguments
pwd
- Control channel sending: PWD

- Control channel received: 227 Entering Passive Mode (156,56,104,81,145,164)
Operation failed: File operation failed
Submission Exception: File Operation failed
Please Enter your command with its arguments
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------

No comments: