-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Globus GCSv5 Endpoints need the data_access
consent added
#298
Comments
It's not obvious to me from what I know about the issue yet, but is it possible user is trying to work with data on NERSC tape and NERSC scratch, but using globus? I've not actually tried to use the new globus feature, but is it expected to work on the same machine (ie pm-to-pm)? |
Yes, the |
@tylern4 Does this have a work-around that does not require a code change? I.e., can consent be granted via the Globus website before running (I've started trying to make the necessary code changes for a sustainable solution in #300). |
I believe this code will give the needed to allow the zstash client_id the data access consent for a GCSv5 endpoint even without modifying your current code. It will print out the URL which you can authenticate with to give the client_id the data access consent.
|
@tylern4 Thanks, that does indeed work! That is very good as it means we don't need to rush a patch release of For reference, steps I followed:
|
Relevant discussion post: #302 |
@tylern4 I'm now running into further difficulties. When I run the test on the Furthermore, when I run the |
Have you logged into Globus with your NERSC identity recently? The error |
I'm logged into the Globus web site. I used to enter my NERSC credentials for the Cori endpoint, which required activation. The Perlmutter endpoint doesn't seem to require activation though, so I'm not sure where I would enter those credentials now. |
I tried just activating a NERSC endpoint I didn't actually need (in order to use my NERSC credentials), but I still run into the same "Permission denied" error. |
@tylern4 @lukaszlacinski Yeah, still running into this issue -- how would I "log into a NERSC identity"? I'm logged into Globus, I have NERSC endpoints activated, I'm not sure what else I could do. |
It's related to this error in Globus. At NERSC we require you to log in with your |
Oh interesting; while it doesn't require endpoint activation, it does require me to enter my credentials to review the contents in the file manager. I'm now able to run with the latest Unified once again, so I can get back to #304. (I think this required re-running the consent script as well). Thanks @tylern4! |
@tylern4 Following #302 (reply in thread), if I go to https://auth.globus.org/v2/web/consents (either by direct link or by following "Settings" > "Consents" > "Manage Your Consents"), I only see a couple consents, both of which were granted 2 years ago. There is nothing specific to the Perlmutter endpoint. I went to the Perlmutter endpoint (https://app.globus.org/file-manager/collections/6bdc7956-fc0f-4ad2-989c-7aa5ee643a79/overview) > "Manage Consent", where I did see relevant consents. However, I deleted them and tried re-running |
@tylern4 Expanding on this, I did a few manual tests (as opposed to using On Chrysalis:
Then, I ran on Perlmutter:
So, clearly I'm not disabling consents correctly. That's crucial to testing any consent automation. |
It's not the endpoints you need to delete consents from to test, it's the consents you've given to your tool that you would need to delete. You've given the client_id the name |
A NERSC user (@mzelinka) noticed an issue transferring data with zstash using globus on Perlmutter.
This looks to be an error coming from newer GCSv5 collections, like the "NERSC Perlmutter" endpoint which require extra consents to be added in order to transfer data. The globus SDK has some documentation on how you can handle getting the data access consent for endpoints that require it.
NERSC is in the process of updating all our endpoints to the newest version of Globus (GCSv5) and all other Globus endpoints will need to updated before the older version GCSv4 is no longer supported in December 2023.
Full error logs:
Nick
The text was updated successfully, but these errors were encountered: