-
Notifications
You must be signed in to change notification settings - Fork 73
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] 2.10 Secure Integ Tests for Geospatial Plugin are failing due to migration of .opendistro-job-scheduler-lock index to System Index #492
Comments
ism also face same issue cc: @bowenlan-amzn |
@navneet1v @sbcd90 Are you receiving this while trying to meddle (most likely delete) with the index in some way? This index was added to the security plugin's list of system indices to give it system index protection which means even admin cannot delete the index. To delete the index you would need to connect with the admin certificate. It was added in opensearch-project/security#3237 |
No, plugin is not deleting the index |
we get this error while indexing & searching on this index. |
+1 |
I know you were facing issues with stashing the thread context in JobScheduler. Could this be related? ThreadContext stashing may be required in JS |
Security needs signoff from Job Scheduler maintainers that reverting is the preferred path forward. The alternative is to correct the behavior to unblock Navneet. This is the PR to revert but we need a clear decision from job scheduler that is what you want to do: opensearch-project/security#3351 (review) |
Since this issue is on the path of indexing/searching it may be necessary to stash the thread context in JobScheduler for every CRUD operation on the lock index. This would require modifications to the integration tests that I observed were consistently failing when the thread context was stashed. I concur with @scrawfor99, we'll need to revert this security PR to unblock the 2.10 release in a timely manner and handle stashing the thread context in the next release CC : @cwperks @vibrantvarun |
…(reverts #3237) (#3351) ### Description - Resolves opensearch-project/job-scheduler#492 , where it was expected that the job schedule index is not protected. ### Check List - [ ] ~New functionality includes testing~ - [ ] ~New functionality has been documented~ - [x] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Stephen Crawford <[email protected]>
I have raised a PR to revert the system index change for 2.10 : #494 CC : @scrawfor99 |
@navneet1v 2.10 RC generation was successful. I've raise this issue to track the next steps to resolve the system index issues |
…#3383) ### Description Coming from opensearch-project/job-scheduler#492 As mitigation, removing `.opendistro-job-scheduler-lock` from list of protected indices for 3.x/2.x. The lock index will still remain as a system index. ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [X] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Joshua Palis <[email protected]>
…#3383) ### Description Coming from opensearch-project/job-scheduler#492 As mitigation, removing `.opendistro-job-scheduler-lock` from list of protected indices for 3.x/2.x. The lock index will still remain as a system index. ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [X] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Joshua Palis <[email protected]> (cherry picked from commit f09a6aa) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…(reverts opensearch-project#3237) (opensearch-project#3351) ### Description - Resolves opensearch-project/job-scheduler#492 , where it was expected that the job schedule index is not protected. ### Check List - [ ] ~New functionality includes testing~ - [ ] ~New functionality has been documented~ - [x] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Stephen Crawford <[email protected]>
Hi,
As part of 2.10 release of OpenSearch, the Security enabled Integ Tests for Geospatial Plugin are failing due to migration of .opendistro-job-scheduler-lock index to System Index.
Change which have caused the issue PR: #478
Error log:
The Geospatial plugin is not accessing this index of its own and reusing the Job Scheduler interfaces. Can you please look into this?
The text was updated successfully, but these errors were encountered: