-
Notifications
You must be signed in to change notification settings - Fork 8.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
Test blocking write access to system indices elasticseach#81400 #120705
Conversation
It seems most of these remaining failures are happening on the main ES promotion build as well, so not sure they're related to this change. |
3411f40
to
64be4ff
Compare
64be4ff
to
3ccb661
Compare
Applied the change in #120985 and updated this branch. |
While the upstream changes to block superuser from writing to system indices is still pending a larger decision, I'd like to get an idea of how much effort is involved from Kibana teams in order to handle this problem. Essentially all write operations to system indices will need to use Kibana's internal user (aka @elastic/kibana-reporting-services @elastic/kibana-stack-management Would someone from each of your teams be able to assess how much effort is required to resolve the issue with reporting and upgrade assistant detected in the tests above? You're also welcome to push commits directly to this branch if the fix is easy and I'll keep this up to date. |
@sabarasaba Could you please take a look at the failing |
@joshdover UA requires read/delete privileges from the |
You need to be running the specific Elasticsearch branch to make tests fail. How to do this: # Clone Elasticsearch, must be sibling to kibana checkout
git clone [email protected]:elastic/elasticsearch.git
cd elasticsearch
gh pr checkout 81400
# Back in Kibana checkout, run Elasticsearch from source
yarn es source
# For FTR you can start it with the --esFrom arg
node scripts/functional_tests_server --config=<...> --esFrom=source |
@elasticmachine merge upstream |
@tylersmalley would it be possible to run this with a newer Elasticsearch build based on elastic/elasticsearch#81400? |
@joshdover yeah, I will work on that today. |
@elasticmachine merge upstream |
Updated ES build from e7e196251f2a4bb3ed49f80f8a9fe16405b3da99. |
💔 Build FailedFailed CI Steps
Test Failures
Metrics [docs]Public APIs missing comments
Any counts in public APIs
History
To update your PR or re-run it, just comment with: cc @joshdover |
@sabarasaba @elastic/kibana-reporting-services @elastic/kibana-app-services We still need contributions here to make your plugins work correctly with the changes to system indices. See my comment above for info on how to test this: #120705 (comment) |
@elastic/platform-deployment-management part should be good to go now with the next |
elastic/elasticsearch#81400
./gradlew :distribution:archives:linux-tar:assemble && sha512sum distribution/archives/linux-tar/build/distributions/elasticsearch-8.1.0-SNAPSHOT-linux-x86_64.tar.gz > elasticsearch-8.1.0-SNAPSHOT-linux-x86_64.tar.gz.sha512