Comments (8)
Can you provide a log that shows what happens when this is attempted?
Also, is there a way to simulate this via command line utilities? I don't have access to the globus GUI interface.
from irods_client_globus_connector.
Hi, apparently I didn't see this or somehow skipped it. Sorry for this!
Can you provide a log that shows what happens when this is attempted?
I don't see anything both in the logs of irods and in the logs globus. As if clients don't communicate with server yet.
Also, is there a way to simulate this via command line utilities? I don't have access to the globus GUI interface.
The CLI does behave exactly as the GUI. Please see my screenshot below that shows an existing object, the rename operation and the result.
from irods_client_globus_connector.
I don't have that "globus" command and I don't think it is possible to do it via globus-url-copy. That said, I think I was able to reproduce this via ftp. I will take a look at implementing this.
# ftp localhost 2811
Connected to localhost.
220 dd677d87f346 GridFTP Server 16.2 (gcc64, 1701980266-86) [Globus Toolkit 1638371632] ready.
Name (localhost:root): user1
331 Password required for user1.
Password:
230 User user1 logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT Command successful.
150 Beginning transfer.
drwxr-xr-x 0 root root 0 Jan 1 00:00 .
drwxr-xr-x 0 root root 0 Jan 1 00:00 ..
-rwxr-xr-x 0 root root 4 Apr 10 15:43 abc.txt
drwxr-xr-x 0 root root 0 Apr 8 21:22 dir1
226 Transfer Complete.
ftp> rename abc.txt abc2.txt
350 OK. Send RNTO with destination name.
250 OK.
ftp> ls
200 PORT Command successful.
150 Beginning transfer.
drwxr-xr-x 0 root root 0 Jan 1 00:00 .
drwxr-xr-x 0 root root 0 Jan 1 00:00 ..
-rwxr-xr-x 0 root root 4 Apr 10 15:43 abc.txt
drwxr-xr-x 0 root root 0 Apr 8 21:22 dir1
226 Transfer Complete.
ftp>
from irods_client_globus_connector.
Looking at the code, we need to support GLOBUS_GFS_CMD_RNTO in globus_l_gfs_iRODS_command
.
In addition, there is a switch statement and the default for it just returns. I think that should be updated to return some type of not supported error as well.
from irods_client_globus_connector.
If there's an error that indicates that, sounds appropriate to me.
from irods_client_globus_connector.
Can you provide a log that shows what happens when this is attempted?
Hi, now I can provide logs requested because I could capture relevant errors in the irods logs. Please keep in mind that I captured these errors in the irods server 4.3.2 and the globus connector is the one built on latest (main branch).
[2024-06-19T12:41:10.253Z][icts-t-cloud-hev-3] {"processname": "irods", "groupname": "irods", "pid": "96", "channel": "stdout", "irods": {"log_category": "legacy", "log_level": "error", "log_message": "[-]\t/irods_source/server/core/src/rsApiHandler.cpp:565:int readAndProcClientMsg(rsComm_t *, int) : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [failed to call 'read header']\n\t[-]\t/irods_source/lib/core/src/sockComm.cpp:229:irods::error readMsgHeader(irods::network_object_ptr, msgHeader_t *, struct timeval *) : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [failed to call 'read header']\n\t\t[-]\t/irods_source/plugins/network/src/tcp.cpp:190:irods::error tcp_read_msg_header(irods::plugin_context &, void *, struct timeval *) : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [only read [0] of [4]]\n\n", "request_api_name": "GEN_QUERY_AN", "request_api_number": 702, "request_api_version": "d", "request_client_user": "u0112360", "request_host": "127.0.0.1", "request_proxy_user": "globus", "request_release_version": "rods4.3.2", "server_host": "icts.irods.t.icts.kuleuven.be", "server_pid": 1290469, "server_timestamp": "2024-06-19T12:41:10.252Z", "server_type": "agent", "server_zone": "icts"}}
[2024-06-19T12:41:10.254Z][icts-t-cloud-hev-3] {"processname": "irods", "groupname": "irods", "pid": "96", "channel": "stdout", "irods": {"log_category": "agent", "log_level": "error", "log_message": "Agent [1290469] exiting with status = -4000", "request_api_name": "GEN_QUERY_AN", "request_api_number": 702, "request_api_version": "d", "request_client_user": "u0112360", "request_host": "127.0.0.1", "request_proxy_user": "globus", "request_release_version": "rods4.3.2", "server_host": "icts.irods.t.icts.kuleuven.be", "server_pid": 1290469, "server_timestamp": "2024-06-19T12:41:10.254Z", "server_type": "agent", "server_zone": "icts"}}
[2024-06-19T12:41:10.273Z][icts-t-cloud-hev-3] {"processname": "irods", "groupname": "irods", "pid": "96", "channel": "stdout", "irods": {"log_category": "agent_factory", "log_level": "error", "log_message": "Agent process [1290469] exited with status [1].", "server_host": "icts.irods.t.icts.kuleuven.be", "server_pid": 117, "server_timestamp": "2024-06-19T12:41:10.272Z", "server_type": "agent_factory", "server_zone": "icts"}}
from irods_client_globus_connector.
Were those logs obtained using a build including commit 24a7ee0?
from irods_client_globus_connector.
Yes. That is correct our build contains that commit.
from irods_client_globus_connector.
Related Issues (20)
- Transfer of a file with an apostrophe in the file name fails with a HIERARCHY_ERROR error message HOT 14
- Computation of checksums can be improved HOT 8
- Back out of fix for #101 when GenQuery changes for apostrophe support merged.
- Status info on the globus interface for transfers to/from irods becomes completed quite later than actual complete HOT 12
- `pep_api_data_obj_close_post` invoked more than one HOT 11
- Update services.irods.deploy.resources.limits.cpus in docker-compose to be a string rather than an int. HOT 2
- Code to map collection to resources does not trim empty spaces following the resource name
- Update Globus testing framework to be able to test unreleased versions of iRODS HOT 2
- `set` metadata can be used?
- globus_connector doesn't contain the client name/identifier - spOption HOT 10
- Data upload/transfers from endpoints calls create/open/write/close HOT 20
- Variable name collection used for either collections or data objects.
- Create negative / error tests for the test suite.
- Create tests for the use of persistent identifiers.
- Create tests to test gridmap_iRODS_callout.conf functionality.
- Create tests to verify the number of upload/download threads based on configuration and file size.
- Add ability to select irods version/sha when running Globus tests.
- Create tests for other operating systems for the Globus container. HOT 4
- Add functionality to write test output to a file.
- Changes for cleaner tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irods_client_globus_connector.