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

Better error for admin group name misconfig #2671

Merged
merged 9 commits into from
Feb 5, 2025
Merged

Conversation

david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Jan 31, 2025

Closes #2573

Obviously the copy could be shorter, but in theory this error should only show up to operators immediately after IdP setup and virtually never again.

Doc link goes to: https://docs.oxide.computer/guides/operator/faq#_how_do_i_fix_the_something_went_wrong_error, which is added in v13, so it won't work until that's merged.

image

Copy link

vercel bot commented Jan 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Feb 5, 2025 0:06am

@david-crespo david-crespo changed the title Better error for group misconfig Better error for admin group name misconfig Jan 31, 2025
You are not in any user groups and you have no assigned role on the silo. This
usually means the{' '}
<a
href="https://docs.oxide.computer/guides/system/completing-rack-config#_test_user_login"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't need to be in https://github.com/oxidecomputer/console/blob/main/app/util/links.ts. Just noting that we do have a bunch of docs.oxide.computer links there, in case we want to continue consolidating them there.

Comment on lines +42 to +45
// fetchQuery instead of prefetchQuery means errors blow up here instead of
// waiting to hit the invariant in the useQuery call. We may end up doing this
// everywhere, but here in particular it is needed to trigger the silo group
// misconfig detection case in ErrorBoundary.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is helpful; thank you

@david-crespo
Copy link
Collaborator Author

Amazing (derogatory). It went back to flaking for the original reason, image upload cancel and retry in chrome.

@david-crespo david-crespo merged commit a6319fc into main Feb 5, 2025
7 checks passed
@david-crespo david-crespo deleted the no-groups-error branch February 5, 2025 00:16
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Feb 6, 2025
oxidecomputer/console@288f1c1...517353e

* [517353ee](oxidecomputer/console@517353ee) bump vite and vitest (vitest CVE)
* [a6319fc8](oxidecomputer/console@a6319fc8) oxidecomputer/console#2671
* [5bd61e67](oxidecomputer/console@5bd61e67) oxidecomputer/console#2674
* [4646ad47](oxidecomputer/console@4646ad47) minor: console.log -> console.info in api-diff
* [7723212c](oxidecomputer/console@7723212c) log before and after file paths in api-diff
* [7cde843f](oxidecomputer/console@7cde843f) minor: deleted temp dir problem in bump-omicron.ts
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Feb 6, 2025
oxidecomputer/console@288f1c1...517353e

* [517353ee](oxidecomputer/console@517353ee)
bump vite and vitest (vitest CVE)
* [a6319fc8](oxidecomputer/console@a6319fc8)
oxidecomputer/console#2671
* [5bd61e67](oxidecomputer/console@5bd61e67)
oxidecomputer/console#2674
* [4646ad47](oxidecomputer/console@4646ad47)
minor: console.log -> console.info in api-diff
* [7723212c](oxidecomputer/console@7723212c)
log before and after file paths in api-diff
* [7cde843f](oxidecomputer/console@7cde843f)
minor: deleted temp dir problem in bump-omicron.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Something went wrong" warning on login with no roles is too generic
2 participants