-
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
List operations does not work in external plugins #3873
Comments
I have the same issue. In github.com/hashicorp/vault/logical/response_util.go RespondErrorCommon Plugin code:
Vault
|
This is a regression with the gRPC transport type. Working on a fix for this, but in the meantime you can force your plugin to fall back to netRPC transport by unsetting the
|
Workaround an issue in Vault, see hashicorp/vault#3873
Just merged the fix for this, along with some tests to ensure we are hitting this code path. Thank you for reporting this and doing some investigation. We also bumped the minimum version required for gRPC to be selected as the transport to @LeSuisse @everesio and @cypherhat (I saw you reacted to the comment above) Once your dependencies are updated it should be safe to remove the |
I added the |
Environment:
Vault Config File:
Startup Log Output:
Expected Behavior:
It is possible to do a LIST request on a path that support it.
Actual Behavior:
Any LIST request fail with an internal server error and you got these logs from Vault:
The issue seems to have been introduced with Vault 0.9.2/0.9.3.
Steps to Reproduce:
The issue can be reproduced with the mock-plugin.
The text was updated successfully, but these errors were encountered: