-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] Getting security exception due to access denied "java" #5331
Comments
@davidlago Could you look into this? Shall we transfer this to security plugin repo? |
@anasalkouz Doesn't look like a security plugin problem. This plugin hasn't been touched in a long time. @max-frank I see that the stack says I see @willyborankin contribute to this a while ago, maybe you can help? |
@dblock I added SOCKS5 proxy support for GCS and added this new permission:
regarding |
@willyborankin Thanks for jumping in! I think we should let @max-frank confirm that
|
@dblock Sure no problem. BTW @max-frank what JDK do you use? |
@willyborankin @dblock Thanks for the quick replies. Let give me a bit to check if I can make it work by adding the suggested permissions. I added the additional info about JDK and current policy below: JDK is:
which should be default for the official container image i.e.,
My plugin-security.policy is unchanged from the defaults so:
|
It seems like |
Ok so it seems that Note sure how it got corrupted since the same repository config works fine now after deleting the repositories once and re-adding it with the original configuration. Only thing I can imagine that something went wrong during the cluster upgrade. Though note that it seems the
Sorry for blowing up this issue the original issue is resolved though I have not been able to reproduce the cause yet. |
Thanks for bringing this up and working through it with us @max-frank! |
I am experiencing similar issues with GCS repositories as were discussed in #4269 for S3 repositories.
In 2.2.x the GCS snapshots were working fine running with Workload Identity in a GKE cluster, but starting with 2.3.0 i started seeing the same java security policy issues. In 2.3.0 I was still able to take snapshots even though it showed that all indices failed. With 2.4.0 I cannot even load the list of repositories anymore.
To Reproduce
Steps to reproduce the behavior:
Note that all the missing permissions being complained about are configured in the plugins security policy file already by default.
trying to load repositories
trying to get info on specific snapshot
Expected behavior
Able to take, restore, etc. snapshots in combination with a GCS repository while running with Workload Identity (or similar).
Plugins
Screenshots
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: