GithubHelp home page GithubHelp logo

Comments (13)

korydraughn avatar korydraughn commented on September 21, 2024 1

Yes, we'll put eyes on it.

from irods_client_globus_connector.

mstfdkmn avatar mstfdkmn commented on September 21, 2024 1

Yes. But what I dont understand is something else I guess: that is, I do still see the same errors for some transfers that I didn't initiate and I am guessing these are old transfers. If I know more, I will let you know.

from irods_client_globus_connector.

alanking avatar alanking commented on September 21, 2024

I don't know anything about Globus, but I'll add that the error message appearing in the log is coming from these lines:
https://github.com/irods/irods/blob/f6eb6c72786288878706e2562a370b91b7d0802e/server/api/src/rsDataObjOpen.cpp#L767-L783

Something happened when attempting to resolve a resource hierarchy for the given operation. It seems like the Globus connector may not be using the right open flags or something for certain situations. Probably warrants investigation.

from irods_client_globus_connector.

mstfdkmn avatar mstfdkmn commented on September 21, 2024

Hi @JustinKyleJames, would it be possible to prioritize this? Because we do a lot of transfers to irods via the connector and due to this hard to see a clean irods log - (any file transfer to irods throws that error). Thanks.

from irods_client_globus_connector.

JustinKyleJames avatar JustinKyleJames commented on September 21, 2024

I have no been able to reproduce this problem using globus-url-copy nor with ftp. However, I think I know the root of the problem.

When the plugin's globus_l_gfs_iRODS_recv method gets called the open flag is first set to O_WRONLY. Then if the truncate option is set the flags for O_CREAT and O_TRUNC are set.

With the ways I know to test transfers, the truncate flag is always set so the O_CREAT flag is always set. I am guessing that when this error occurs the truncate flag is not set so O_CREAT does not get set. If the file does not exist we get an error.

I did verify that the error is generated if I update the code to not set the O_CREAT.

I think the solution is to set the open mode for the first thread to both O_CREAT and O_WRONLY. I may have to get @mstfdkmn to help test this.

from irods_client_globus_connector.

korydraughn avatar korydraughn commented on September 21, 2024

@mstfdkmn Are you open to testing the solution in PR #99 (in a testing environment)?

from irods_client_globus_connector.

mstfdkmn avatar mstfdkmn commented on September 21, 2024

Yes, we are thinking to test it soon (we don't have a test endpoint for the globus connector so might require time for possible challenges).

from irods_client_globus_connector.

korydraughn avatar korydraughn commented on September 21, 2024

No problem. Let us know how it goes.

from irods_client_globus_connector.

trel avatar trel commented on September 21, 2024

@mstfdkmn a fix has been merged. closing so we can get this into the next release.

if it's a problem still / again, please open a new issue and reference this one.

from irods_client_globus_connector.

mstfdkmn avatar mstfdkmn commented on September 21, 2024

Great! Thanks. We definitely let you know if needed.

from irods_client_globus_connector.

mstfdkmn avatar mstfdkmn commented on September 21, 2024

Seems this fix didnt resolve the issue. We built the connector from its source and integrated to our production end-points and I should say that we do still see errors mentioned above in our irods logs.

from irods_client_globus_connector.

mstfdkmn avatar mstfdkmn commented on September 21, 2024

Sorry was an early alarm! I tested against different zones' endpoints and I dont see any error anymore. My initial test transfer seem to have coincidentally resulted in at the same time with an ongoing transfer (I guess old processes are not refreshed/cleaned when the connector built version is changed) and I guess that is why I supposed that I saw again the same errors.

from irods_client_globus_connector.

korydraughn avatar korydraughn commented on September 21, 2024

So you're saying the change seems to have resolved the issue?

from irods_client_globus_connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.