Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

helm upgrade 7.17.1 to 8.1.0 #1645

Closed
ts100x opened this issue Apr 12, 2022 · 3 comments
Closed

helm upgrade 7.17.1 to 8.1.0 #1645

ts100x opened this issue Apr 12, 2022 · 3 comments

Comments

@ts100x
Copy link

ts100x commented Apr 12, 2022

I've upgraded elastic master from 7.17.1 to 8.1.0 using the command:
helm upgrade --wait --timeout=300s --install --values master-8.1.0.yaml elasticsearch-master elastic/elasticsearch -n xxxxxx

The upgrade was failed with the following exception:
Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException: org.elasticsearch.cli.UserException: will not overwrite keystore at [/usr/share/elasticsearch/config/elasticsearch.keystore], because this incurs changing the file owner
Likely root cause: org.elasticsearch.cli.UserException: will not overwrite keystore at [/usr/share/elasticsearch/config/elasticsearch.keystore], because this incurs changing the file owner
at org.elasticsearch.common.settings.KeyStoreWrapper.save(KeyStoreWrapper.java:608)
at org.elasticsearch.common.settings.KeyStoreWrapper.save(KeyStoreWrapper.java:540)
at org.elasticsearch.common.settings.KeyStoreWrapper.upgrade(KeyStoreWrapper.java:339)
at org.elasticsearch.common.settings.KeyStoreWrapper.bootstrap(KeyStoreWrapper.java:225)
at org.elasticsearch.bootstrap.BootstrapUtil.loadSecureSettings(BootstrapUtil.java:60)
at org.elasticsearch.bootstrap.BootstrapUtil.loadSecureSettings(BootstrapUtil.java:55)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:301)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:81)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
at org.elasticsearch.cli.Command.main(Command.java:77)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80)

Is this upgrade command valid?
How we can upgrade the elastic from 7.17.1 to 8.1.0?
When 8.x chart will be available?

@doug62
Copy link

doug62 commented Apr 13, 2022

+1 When I attempt to update my elastic/filebeat/kibana to 8.1.2 from the chart 7 version I get install errors on elastic plus incompatibilities on kibana. While diagnosing why filebeat json decode_json_fields doesn't work.

@agonzalezm
Copy link

I think is not supported yet, it is taking them so much to support 8.x, and 1 month without commits in this repo, i dont know if they are still alive here

@jmlrt
Copy link
Member

jmlrt commented Apr 19, 2022

Hi @ts100x,
8.1.0 isn't supported yet. see #1594

@jmlrt jmlrt closed this as completed Apr 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants