harvard / cloudJHub

An implementation of JupyterHub within the Amazon cloud, with automatic scaling up and down
BSD 3-Clause "New" or "Revised" License
126 stars 14 forks source link

Spawner: Unable to locate credentials #11

Closed h4gen closed 6 years ago

h4gen commented 6 years ago

Hey!

First, thank you for your amazing work! What you did here is what i was looking for and dreaming of for a long time :) Really great!

So far I was able to run the launch script and connect to the hub. However, when I log in the message 'Unable to locate credentials' is showed.

image

What is a possible solution or where can I start looking for the bug?

Thanks alot!

farassadek commented 6 years ago

Hi, Thanks for the complement.

Can you please check if the manager have the required role to create EC2 instances?

Faras

h4gen commented 6 years ago

Indeed he does not! How can this happen? What did I do wrong?

farassadek commented 6 years ago

Did you follow instruction on the below installation page ? https://github.com/harvard/cloudJHub/blob/master/Documentation/installation.md There is a part about creating a role, then use the role ARN in the secure.py file. Check it out and let me know

h4gen commented 6 years ago

Alright, own stupidity. Needed some tries until everything was running and in the last run I really forgot the ARN.