-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
1 error occurred: * alias was not indexed #5348
Comments
@decryptus Hi there, I have been unable to reproduce this issue. Is there by any chance you have a way to surface this issue? Are you seeing this problem regularly? |
I was just hit by the same issue. Edit: this happens when I try to delete the single alias that my entity has. |
@alexandernst Can you provide any details about how you got into that state? I'm not able to reproduce either:
|
Hi, entity and entity alias have been automatically created but the alias was missing for only one userpass.
I patched vault and replaced return by continue to be able to delete entity and entity alias for this userpass. |
@jefferai I did all the operations from the Web UI |
@vishalnayak from what @decryptus said I can easily imagine there is an old bug that caused some bad entries -- probably that error return should be changed to a warning and continue. |
Makes sense. I'll make that change. |
Describe the bug
Hi,
When I try to delete a specific entity alias, I have this error:
1 error occurred: * alias was not indexed
No problem with others entities aliases.
To Reproduce
Steps to reproduce the behavior:
Error deleting identity/entity-alias/id/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: Error making API request.
URL: DELETE https://[host]/v1/identity/entity-alias/id/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Code: 500. Errors:
1 error occurred:
alias was not indexed
Expected behavior
Delete this alias.
Environment:
vault status
): 1.11.1vault version
): Vault v0.10.3Vault server configuration file(s):
The text was updated successfully, but these errors were encountered: