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

Use correct elastic version #8446

Merged
1 commit merged into from
Dec 20, 2021
Merged

Use correct elastic version #8446

1 commit merged into from
Dec 20, 2021

Conversation

Zelldon
Copy link
Member

@Zelldon Zelldon commented Dec 20, 2021

Description

Bump elastic tag to 7.16.2

7.13.2 and 7.16.2 seem to be incompatible. we see lot of errors and not starting elastic with 7.13.2

{"type": "server", "timestamp": "2021-12-20T14:21:01,957Z", "level": "ERROR", "component": "o.e.b.ElasticsearchUncaughtExceptionHandler", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "uncaught exception in thread [main]", 
"stacktrace": ["org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [cluster.deprecation_indexing.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings",
"at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116) ~[elasticsearch-cli-7.13.2.jar:7.13.2]",
"at org.elasticsearch.cli.Command.main(Command.java:79) ~[elasticsearch-cli-7.13.2.jar:7.13.2]",
"at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:81) ~[elasticsearch-7.13.2.jar:7.13.2]",
"Caused by: java.lang.IllegalArgumentException: unknown setting [cluster.deprecation_indexing.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings",
"at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:533) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:478) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:420) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:138) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.node.Node.<init>(Node.java:437) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.node.Node.<init>(Node.java:278) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:217) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:217) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:397) ~[elasticsearch-7.13.2.jar:7.13.2]",
"at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-7.13.2.jar:7.13.2]",
"... 6 more"] }
uncaught exception in thread [main]
java.lang.IllegalArgumentException: unknown setting [cluster.deprecation_indexing.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:533)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:478)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:420)
	at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:138)
	at org.elasticsearch.node.Node.<init>(Node.java:437)
	at org.elasticsearch.node.Node.<init>(Node.java:278)
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:217)
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:217)
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:397)
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159)
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150)
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116)
	at org.elasticsearch.cli.Command.main(Command.java:79)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:81)
For complete error details, refer to the log at /usr/share/elasticsearch/logs/elasticsearch.log

Related issues

related to elastic/helm-charts#1492

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix to the last two minor versions. You can trigger a backport by assigning labels (e.g. backport stable/0.25) to the PR, in case that fails you need to create backports manually.

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually
  • The change has been verified by a QA run
  • The impact of the changes is verified by a benchmark

Documentation:

  • The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.)
  • New content is added to the release announcement

Bump elastic tag to 7.16.2

7.13.2 and 7.16.2 seem to be incompatible. we see lot of errors and not starting elastic with 7.13.2 related to
elastic/helm-charts#1492
Copy link
Member

@npepinpe npepinpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

nice catch

@npepinpe
Copy link
Member

bors merge

Zelldon added a commit to camunda/camunda-platform-helm that referenced this pull request Dec 20, 2021
@falko
Copy link
Member

falko commented Dec 20, 2021

I can confirm that the fix works. Thx @Zelldon

@ghost
Copy link

ghost commented Dec 20, 2021

Build succeeded:

@ghost ghost merged commit 2cf8e90 into develop Dec 20, 2021
@ghost ghost deleted the zell-fix-elastic branch December 20, 2021 15:28
@github-actions
Copy link
Contributor

Backport failed for stable/1.1, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git fetch origin stable/1.1
git worktree add -d .worktree/backport-8446-to-stable/1.1 origin/stable/1.1
cd .worktree/backport-8446-to-stable/1.1
git checkout -b backport-8446-to-stable/1.1
ancref=$(git merge-base 49026b1024625bd84589ffe1dd437d6d41f62f2c bd2794c860e848d5d82df42a9db200a297a6cecf)
git cherry-pick -x $ancref..bd2794c860e848d5d82df42a9db200a297a6cecf

@github-actions
Copy link
Contributor

Backport failed for stable/1.2, because it was unable to create a new branch.

Please cherry-pick the changes locally.

git fetch origin stable/1.2
git worktree add -d .worktree/backport-8446-to-stable/1.2 origin/stable/1.2
cd .worktree/backport-8446-to-stable/1.2
git checkout -b backport-8446-to-stable/1.2
ancref=$(git merge-base 49026b1024625bd84589ffe1dd437d6d41f62f2c bd2794c860e848d5d82df42a9db200a297a6cecf)
git cherry-pick -x $ancref..bd2794c860e848d5d82df42a9db200a297a6cecf

ghost pushed a commit that referenced this pull request Dec 22, 2021
8465: [Backport 1.2]: Use correct elastic version r=npepinpe a=Zelldon

## Description

backports #8446
<!-- Please explain the changes you made here. -->




Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
ghost pushed a commit that referenced this pull request Dec 22, 2021
8464: [Backport 1.1]: Use correct elastic version r=npepinpe a=Zelldon

## Description

backports #8446
<!-- Please explain the changes you made here. -->




Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
ghost pushed a commit that referenced this pull request Dec 22, 2021
8464: [Backport 1.1]: Use correct elastic version r=npepinpe a=Zelldon

## Description

backports #8446
<!-- Please explain the changes you made here. -->




Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

3 participants