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

Failing ES Promotion: apis Endpoint plugin test metadata api POST /api/endpoint/metadata when index is not empty #68584

Closed
mistic opened this issue Jun 8, 2020 · 2 comments
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience failed-es-promotion Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v7.8.1 v7.9.0 v8.0.0

Comments

@mistic
Copy link
Member

mistic commented Jun 8, 2020

This failure is preventing the promotion of the current Elasticsearch nightly snapshot.

master/8.0: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/857/
7.x/7.9: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/856/
7.8/7.8.1: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/861/

For more information on the Elasticsearch snapshot promotion process: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html

{ Error: [illegal_argument_exception] mapping fields [agent, endpoint, @timestamp, ecs, elastic, host, event] cannot be replaced during template composition
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[illegal_argument_exception] mapping fields [agent, endpoint, @timestamp, ecs, elastic, host, event] cannot be replaced during template composition',
  path: '/metrics-endpoint.metadata-default-1',
  query: {},
  body:
   { error:
      { root_cause: [Array],
        type: 'illegal_argument_exception',
        reason:
         'mapping fields [agent, endpoint, @timestamp, ecs, elastic, host, event] cannot be replaced during template composition' },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapping fields [agent, endpoint, @timestamp, ecs, elastic, host, event] cannot be replaced during template composition"}],"type":"illegal_argument_exception","reason":"mapping fields [agent, endpoint, @timestamp, ecs, elastic, host, event] cannot be replaced during template composition"},"status":400}',
  toString: [Function],
  toJSON: [Function] }
@mistic mistic added bug Fixes for quality problems that affect the customer experience blocker v8.0.0 Team:Endpoint Management v7.9.0 failed-es-promotion labels Jun 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-management (Team:Endpoint Management)

@jonathan-buttner
Copy link
Contributor

@mistic I think we can close this issue. It should have been fixed in this PR: #68794

@mistic mistic closed this as completed Jun 17, 2020
@MindyRS MindyRS added Team:Defend Workflows “EDR Workflows” sub-team of Security Solution and removed Team:Endpoint Management labels Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience failed-es-promotion Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v7.8.1 v7.9.0 v8.0.0
Projects
None yet
Development

No branches or pull requests

5 participants