os-climate / OS-Climate-Community-Hub

START HERE: OS-Climate Community & Project Collaboration Space
Apache License 2.0
99 stars 19 forks source link

Request credentials for an os-climate bucket #142

Open jainur opened 6 months ago

jainur commented 6 months ago

Requesting credentials for github user: jainur@gmail.com

Requesting credentials for the bucket: OSC Data Commons and Physical Risk & Resilience

Email address to send a credential download link: jainur@gmail.com

I'm requesting to join the os-c github org and get access to Trino. Currently githubidp authentication on both Open MetaData and Trino JWS token retrieval fails. Please assist with accessing Trino data as part of a member organization.

Request checklist:

strawberry-baked-alaska commented 6 months ago

I sent you an invite to join our github. Once you accept the invite you should be able to gain access.

The keys are stored in openshift, you can login using your github account and should be able to see them here at this URL:

https://console-openshift-console.apps.odh-cl1.apps.os-climate.org/k8s/ns/sandbox/secrets/physrisk-s3-keys

jainur commented 5 months ago

Thank you. I have accepted the invitation and can login to CL 1 and 2.

However, for some reason, access to trino (using notebooks e.,g., https://github.com/os-climate/data-platform-demo/blob/master/notebooks/trino-pandas-demo.ipynb) does not work. How to gain / request this access?

strawberry-baked-alaska commented 5 months ago

@redmikhail or @ModeSevenIndustrialSolutions - can you take a look please?

ModeSevenIndustrialSolutions commented 2 weeks ago

@jainur Sorry, I didn't see this when it came in and nobody forwarded it to me. I've now setup notifications for this support channel. I'm assuming (after all this time) the access issue got resolved? I'm not familiar with the Notebook setup in data-platform-demo, one of the project leads would probably need to assist. Have you joined the Os-Climate Slack organisation? That's a good place to ask questions and it's potentially easier to get access to some interactive help.

jainur commented 2 weeks ago

Thanks. I still did not have any luck with Trino access. I will ask this question on Slack.

ModeSevenIndustrialSolutions commented 2 weeks ago

I have asked a couple of my technical contacts how we go about granting access to Trino. I believe this resides on the OS-Climate RedHat Openshift cluster.

Do you already have a RedHat account? https://redhat.com/ https://sso.redhat.com/auth/realms/redhat-external/account/

I think this is a prerequisite, so perhaps register for one now while you are waiting for me to get back to you?

jainur commented 2 weeks ago

thank you @ModeSevenIndustrialSolutions . I will try and come back.

jainur commented 1 week ago

Dear @ModeSevenIndustrialSolutions -

Unfortunately, I could not get past the wall. I am doing something stupid, not sure what.

I tried the following:

TRINO_USER=jainur@gmail.com TRINO_PASSWD= <<Token generated using this link>> TRINO_HOST=das-odh-trino.apps.odh-cl2.apps.os-climate.org TRINO_PORT=443

And when I execute the notebook, I get the following error:

image

Not sure what and where things are going wrong.