Unable to access searchfox AWS account
Categories
(Cloud Services :: Operations: AWS Account Request, task)
Tracking
(Not tracked)
People
(Reporter: kats, Unassigned)
Details
Attachments
(1 file)
|
50.84 KB,
image/png
|
Details |
Hi, I'm a former MoCo employee who remained a contributor to searchfox. Not too long ago the maws tool for authenticating to AWS was retired in favor of https://mozilla-aws.awsapps.com/start and I'm trying to use that method to authenticate. However it doesn't work for me. The specific instructions I'm following are at https://github.com/mozsearch/mozsearch/blob/master/docs/aws.md#logging-into-the-aws-console:
- I am a member of the searchfox-aws Mozillians group (I'm https://people.mozilla.org/p/staktrace, which should be connected to LDAP kgupta@mozilla.staktrace.com)
- I click on the https://mozilla-aws.awsapps.com/start link
- It takes me an AWS page that says "redirecting to identity provider"
- It then redirects me to the URL https://us-west-2.signin.aws.amazon.com/platform/saml/acs/33a34b2c-5885-4ae2-a0b0-f8c3be7bd0f5 which is an AWS error page (screenshot attached). It seems like an AWS internal error but I suspect it is a misconfiguration somewhere since I've tried a few times and always get the same result.
Please let me know if there's something I need to do to regain access to the searchfox AWS account so I can continue contributing. Thanks!
Comment 1•2 years ago
|
||
(Based off reading some private slack/whatever resources): Can you try using https://sso.mozilla.com/logout to log out and then log in again at https://sso.mozilla.com/ ?
Personally, I end up seeing a "AWS (IT)" option on the https://sso.mozilla.com/dashboard link that I end up after doing that, and when I click on that it gives me the start URL, etc.
I suspect that might give more useful error messages, hopefully, if it doesn't fix the issue. Thanks!
| Reporter | ||
Comment 2•2 years ago
|
||
After logging out and logging back in, I do get redirected to https://sso.mozilla.com/dashboard?, but the contents of the page are just the text "Internal Server Error".
Comment 3•2 years ago
|
||
Thank you for trying that. I've asked in the #iam slack channel about this which was my point of contact for the maws transition; it seems like ticket tracking may be happening in Jira so I'll try and bridge if/as necessary.
Comment 4•2 years ago
|
||
For my own future reference, these seem to be the spots where maybe there is relevant glue definitions for searchfox:
- https://github.com/mozilla-iam/auth0-deploy/blob/master/rules/awsSaml.js#L36C10-L36C37
- for the "AWS (IT)" SSO entry: https://github.com/mozilla-iam/sso-dashboard-configuration/blob/ebbcd1e78dbda718ba03c87ff2473536236f7864/apps.yml#L3909
- there's also a
display: falseentry for "AWS Federated CLI" at https://github.com/mozilla-iam/sso-dashboard-configuration/blob/ebbcd1e78dbda718ba03c87ff2473536236f7864/apps.yml#L1926C38-L1926C90- This seems to have been added in https://github.com/mozilla-iam/sso-dashboard-configuration/pull/406 as part of the see-also bug 1677158.
- there's also a
Comment 5•2 years ago
|
||
This account had a known issue impacting it, where the LDAP identity was not the primary identity. I've unlinked and re-linked the account which should fix this problem but Kartikaya needs to log in with their LDAP credentials in order to trigger the profile creation process. Once completed the new profile can be invited to the same groups as the previous profile. We can then delete the previous profile and the username can be reclaimed for the new profile.
Comment 6•2 years ago
|
||
Thank you for your help!
I'm not sure I 100% parsed the action steps, can you confirm if my understanding is correct?:
- :kats needs to login at people.mozilla.org? (as opposed to sso.mozilla.com or login.mozilla.com ?)
- this will trigger creation of a new people.mozilla.org account; the existing username can't initially be used because "staktrace" is taken by the existing account.
- could :kats simplify things by renaming the old account's user id, or has that ship already sailed because that account is now something that can't be logged into via the existing credentials?
- I will need to invite the new people.mozilla.org account to https://people.mozilla.org/a/searchfox-aws/ because I am a curator for the group
- I will need to contact ghe-admins to add the new account to https://people.mozilla.org/a/ghe_mozsearch_users/ for github access, because I am not a curator for the group, only the GHE admins are.
- you can delete the old account?
- :kats can then rename the people.mozilla.org user id on the profile editing page?
Thanks!
Comment 7•2 years ago
|
||
(In reply to Andrew Sutherland [:asuth] (he/him) from comment #6)
Hi Sorry for the confusion here. Let me try to clear this up.
Thank you for your help!
I'm not sure I 100% parsed the action steps, can you confirm if my understanding is correct?:
- :kats needs to login at people.mozilla.org? (as opposed to sso.mozilla.com or login.mozilla.com ?)
:kats can log into sso.mozilla.com or people.mozilla.org with their LDAP credentials and this will trigger a new profile creation both in the backend (CIS) and in the frontend (people.mozilla.org).
- this will trigger creation of a new people.mozilla.org account; the existing username can't initially be used because "staktrace" is taken by the existing account.
This is correct. This new profile will appear in people.mozilla.org with random generated profile name.
- could :kats simplify things by renaming the old account's user id, or has that ship already sailed because that account is now something that can't be logged into via the existing credentials?
Renaming the profile username in people.mozilla.org is no longer an option and would not have been useful either way since the profile needs to be deleted anyway. I prefer to delete the account after the new one is create so it can be used as a reference for the new profile.
- I will need to invite the new people.mozilla.org account to https://people.mozilla.org/a/searchfox-aws/ because I am a curator for the group
You can send the invite once the profile is generated on first login.
- I will need to contact ghe-admins to add the new account to https://people.mozilla.org/a/ghe_mozsearch_users/ for github access, because I am not a curator for the group, only the GHE admins are.
This is also correct.
- you can delete the old account?
I will delete the old profiles once the new profile is generated.
- :kats can then rename the people.mozilla.org user id on the profile editing page?
Correct. Once the 'staktrace' profile is deleted, :kats can log into people.mozilla.org and change the username to staktrace since it will then be available.
Thanks!
| Reporter | ||
Comment 8•2 years ago
|
||
Hi, sorry for the delay. I've now logged in to sso.mozilla.com and people.mozilla.org. The latter prompted me to select a username when I logged in, do I chose staktrace2 just to avoid confusion with the previous one. Please go ahead with deletion of the old account. Thanks!
Comment 9•2 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.staktrace.com) from comment #8)
Hi, sorry for the delay. I've now logged in to sso.mozilla.com and people.mozilla.org. The latter prompted me to select a username when I logged in, do I chose
staktrace2just to avoid confusion with the previous one. Please go ahead with deletion of the old account. Thanks!
Great! I've sent you invites to the following groups:
- ghe_mozsearch_users
- searchfox-aws
- webrender-ci
Please make sure to join those groups via the link in the invitation emails. The links expire in 1 week.
I've also deleted your previous profile so you can reclaim the user name staktrace
| Reporter | ||
Comment 10•2 years ago
|
||
Thanks! I've accepted the invites and changed my user name back to staktrace.
| Reporter | ||
Comment 11•2 years ago
|
||
I've also verified I can now log in to the searchfox AWS account using the https://mozilla-aws.awsapps.com/start url. Is there anything else I need to do on my end? Feel free to mark this bug fixed if not. Thanks again!
Comment 12•2 years ago
|
||
That is great! You probably need to link your bugzilla and github accounts to your people.mozilla.org profile. Other than that, I think you should be set. Feel free to reopen if you still need help.
| Reporter | ||
Comment 13•2 years ago
|
||
You probably need to link your bugzilla and github accounts to your people.mozilla.org profile.
Done, thanks!
Description
•