dlabsai / mlflow-for-gcp

50 stars 30 forks source link

Problem reading the secrets? #2

Closed ColinLeverger closed 3 years ago

ColinLeverger commented 3 years ago

Hello there, Thanks for the good tutorial. I have followed every instruction but I can’t access the service: the user/password that I try to enter to the nginx auth are not valid. I suspect that there are some problems reading secrets, although I created a service account as described. There are no suspicious logs and I am stuck. I’ve tried to recreate the cloud run few times, same result. Any clues on how to debug? :)

ColinLeverger commented 3 years ago

As seen in https://stackoverflow.com/questions/62444867/secret-manager-access-denied-despite-correct-roles-for-service-account , the role "Secret Manager Secret Accessor" must be explicitly set at creation of the service accounts time. I'd suggest you add it to the section "Creating a Service Account" of your tutorial :) Thanks again and cheers! Colin

mateuszKacz commented 3 years ago

Hi Colin!

thanks for trying out this tutorial and for reporting this issue. I’ll update it considering your insight!

Sorry for the inconvenience and I hope you’ll find this useful anyway. :)

Have a great day, Mateusz Kaczorek.

Wiadomość napisana przez Colin LEVERGER @.***> w dniu 26.04.2021, o godz. 15:09:

 Closed #2.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tszumowski commented 1 year ago

I ran into the same issue regarding roles. I didn't notice it mentioned in the README, so I added it in this PR if you're interested @mateuszKacz: https://github.com/dlabsai/mlflow-for-gcp/pull/3