Skip to content
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

Pangeo Hub access to requester pays data #655

Closed
Tracked by #652
choldgraf opened this issue Sep 2, 2021 · 2 comments · Fixed by #662
Closed
Tracked by #652

Pangeo Hub access to requester pays data #655

choldgraf opened this issue Sep 2, 2021 · 2 comments · Fixed by #662
Assignees
Labels
Enhancement An improvement to something or creating something new.

Comments

@choldgraf
Copy link
Member

Description

The Pangeo Hub does not currently have "requester pays" access to data stored in the cloud. This is a feature that allows the requesting hub (the 2i2c Pangeo Hub in this case) to pay the costs of accessing cloud data. We should activate this!

Value / benefit

Without this feature Pangeo Hub users won't be able to access many of the datasets that are commonly used in that workflow.

Implementation details

The documentation about "Requester Pays Access" is here: https://cloud.google.com/storage/docs/requester-pays

that includes instructions for what we'll need to do.

Completion criteria

The way that @rabernat originally discovered that this access does not exist, and probably the completion criteria to consider this resolved, is that the following code should work:

Run the first few cells of this notebook, specifically

from intake import open_catalog
cat = open_catalog("https://raw.githubusercontent.com/pangeo-data/pangeo-datastore/master/intake-catalogs/ocean.yaml")
ds  = cat["sea_surface_height"].to_dask()

If access is not there, you'll get this result:

OSError: Forbidden: https://storage.googleapis.com/download/storage/v1/b/pangeo-cmems-duacs/o/.zmetadata?alt=media
Caller does not have serviceusage.services.use access to the Google Cloud project.

Tasks to complete

No response

Updates

No response

@choldgraf choldgraf added Enhancement An improvement to something or creating something new. 🏷️ pangeo labels Sep 2, 2021
@choldgraf choldgraf added this to Backlog in Pangeo Collaboration Sep 2, 2021
@sgibson91 sgibson91 self-assigned this Sep 6, 2021
@sgibson91
Copy link
Member

Picking this up today

@sgibson91 sgibson91 moved this from Backlog to Doing in Pangeo Collaboration Sep 7, 2021
@sgibson91 sgibson91 added this to To do in Sprint Board via automation Sep 7, 2021
@sgibson91 sgibson91 moved this from To do to In progress in Sprint Board Sep 7, 2021
@sgibson91 sgibson91 moved this from In progress to Needs Input in Sprint Board Sep 7, 2021
@sgibson91 sgibson91 moved this from Needs Input to In progress in Sprint Board Sep 8, 2021
@sgibson91
Copy link
Member

I moved this back into the "In Progress" column for now since #662 documents the manual steps but this may already be automated as part of the helm chart. I need to verify that that config works and document how to use that instead.

@choldgraf choldgraf moved this from Doing to Hub migration in Pangeo Collaboration Sep 10, 2021
@choldgraf choldgraf moved this from In progress to Needs Input in Sprint Board Sep 10, 2021
Sprint Board automation moved this from Needs Input to Done Sep 11, 2021
@sgibson91 sgibson91 moved this from Hub migration to Done in Pangeo Collaboration Sep 13, 2021
@choldgraf choldgraf moved this from Done to Hub migration in Pangeo Collaboration Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An improvement to something or creating something new.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants