Skip to content
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

'create rollup tsvb' test causes deprecation notice #120432

Open
rudolf opened this issue Dec 3, 2021 · 1 comment
Open

'create rollup tsvb' test causes deprecation notice #120432

rudolf opened this issue Dec 3, 2021 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Rollups Feature:Upgrade Assistant Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.17.0

Comments

@rudolf
Copy link
Contributor

rudolf commented Dec 3, 2021

Related to #120043

Running node scripts/functional_tests.js --grep 'tsvb integration' --config=x-pack/test/functional/config.js on this branch #120109

Surfaces the following deprecation notice:

ES DEPRECATION: "this request accesses system indices: [.async-search, .security-7, .tasks, .watches], but in a future major version, direct access to system indices will be prevented by default"
 Origin:user
 Stack trace:
     at processTicksAndRejections (node:internal/process/task_queues:96:5)
     at Rollup.getRollupIndexCaps (/opt/local-ssd/buildkite/builds/kb-n2-4-e697a52f8fece313/elastic/kibana-pull-request/kibana-build-xpack/node_modules/@elastic/elasticsearch/lib/api/api/rollup.js:115:16)
     at /opt/local-ssd/buildkite/builds/kb-n2-4-e697a52f8fece313/elastic/kibana-pull-request/kibana-build-xpack/x-pack/plugins/rollup/server/routes/api/indices/register_get_route.js:39:11
     at Router.handle (/opt/local-ssd/buildkite/builds/kb-n2-4-e697a52f8fece313/elastic/kibana-pull-request/kibana-build-xpack/src/core/server/http/router/router.js:163:30)
     at handler (/opt/local-ssd/buildkite/builds/kb-n2-4-e697a52f8fece313/elastic/kibana-pull-request/kibana-build-xpack/src/core/server/http/router/router.js:124:50)
     at exports.Manager.execute (/opt/local-ssd/buildkite/builds/kb-n2-4-e697a52f8fece313/elastic/kibana-pull-request/kibana-build-xpack/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
     at Object.internals.handler (/opt/local-ssd/buildkite/builds/kb-n2-4-e697a52f8fece313/elastic/kibana-pull-request/kibana-build-xpack/node_modules/@hapi/hapi/lib/handler.js:46:20)
     at exports.execute (/opt/local-ssd/buildkite/builds/kb-n2-4-e697a52f8fece313/elastic/kibana-pull-request/kibana-build-xpack/node_modules/@hapi/hapi/lib/handler.js:31:20)

Which seems to come from https://github.com/elastic/kibana/blob/7.16/x-pack/plugins/rollup/server/routes/api/indices/register_get_route.ts#L27-L29

Created elastic/elasticsearch#81345

For now this issue is just to track this deprecation warning and to ensure it's hidden in the UA from the x-elastic-product-origin: kibana header once that's enabled in Elasticsearch

@rudolf rudolf added bug Fixes for quality problems that affect the customer experience Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.17.0 labels Dec 3, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Rollups Feature:Upgrade Assistant Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.17.0
Projects
None yet
Development

No branches or pull requests

3 participants