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

[illegal_argument_exception] composable template [logs-apache.error] template after composition is invalid response #237

Closed
mtojek opened this issue Jan 29, 2021 · 4 comments

Comments

@mtojek
Copy link
Contributor

mtojek commented Jan 29, 2021

Just spotted this one on master branch:

[2021-01-29T02:22:15.931Z] Error: error running package asset tests: could not complete test run: could not install package: could not install package; API status code = 400; response body = {"statusCode":400,"error":"Bad Request","message":"[illegal_argument_exception] composable template [logs-apache.error] template after composition is invalid response from /_index_template/logs-apache.error: {\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"composable template [logs-apache.error] template after composition is invalid\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"composable template [logs-apache.error] template after composition is invalid\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"template [logs-apache.error] has alias and data stream definitions\"}},\"status\":400}"}

For reference: https://beats-ci.elastic.co/job/Ingest-manager/job/elastic-package/job/master/22/

I will check if it's transient or not. /cc @ycombinator

Unfortunately the error is permanent.

@mtojek
Copy link
Contributor Author

mtojek commented Jan 29, 2021

I update local dev environment I reproduced this one. Most likely something has been pushed.

@mtojek
Copy link
Contributor Author

mtojek commented Jan 29, 2021

It looks the problem is in: elastic/kibana#89499 , most likely we need to wait for promotion.

@mtojek
Copy link
Contributor Author

mtojek commented Jan 29, 2021

Temporary workaround:

$ docker pull docker.elastic.co/elasticsearch/elasticsearch@sha256:f549dbd439289f785ec272ee07f56f3ac3024956c806f25bf9016e763faa988a
$ docker tag docker.elastic.co/elasticsearch/elasticsearch@sha256:f549dbd439289f785ec272ee07f56f3ac3024956c806f25bf9016e763faa988a docker.elastic.co/elasticsearch/elasticsearch:7.11.0-SNAPSHOT

@mtojek
Copy link
Contributor Author

mtojek commented Jan 29, 2021

It looks like the correct Docker image has been pushed. Resolving.

@mtojek mtojek closed this as completed Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant