From e07202539d85c3b402e73eabb1e0c73cd5b883d3 Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Tue, 8 Feb 2022 16:22:32 +0200 Subject: [PATCH 1/3] Adds known issue for aarch64 pwd generation We figured out that on Linux and macOS aarch64, we can't determine whether a terminal is attached to elasticsearch and as such we don't print the elastic password and enrollmen token on node first startup. This is resolved in #83566 by updating the underlying library we use to detect the terminal. --- docs/reference/release-notes/8.0.0-rc2.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/reference/release-notes/8.0.0-rc2.asciidoc b/docs/reference/release-notes/8.0.0-rc2.asciidoc index 2c9e5c299ce47..7b6f74e9cb87d 100644 --- a/docs/reference/release-notes/8.0.0-rc2.asciidoc +++ b/docs/reference/release-notes/8.0.0-rc2.asciidoc @@ -15,6 +15,13 @@ data loss. If you upgrade from a released version, such as 7.16, to a pre-release version for testing, discard the contents of the cluster when you are done. Do not attempt to upgrade to the final 8.0 release. +* `elastic` user password and {kib} enrollment token are not generated on node first startup +when elasticsearch is installed from archive on Linux aarch64 and macOS aarch64 platforms. ++ +You can still generate the `elastic` password with `bin/elasticsearch-reset-password -u elastic` and +get a {kib} enrollment token with `bin/elasticsearch-create-enrollment-token -s kibana` after the +node has started. + [[deprecation-8.0.0-rc2]] [float] === Deprecations From 6fef20e125956388ec602adb12e6073bcd394f5d Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Tue, 8 Feb 2022 18:32:55 +0200 Subject: [PATCH 2/3] incorporate suggestions Co-authored-by: Adam Locke --- .../release-notes/8.0.0-rc2.asciidoc | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/docs/reference/release-notes/8.0.0-rc2.asciidoc b/docs/reference/release-notes/8.0.0-rc2.asciidoc index 7b6f74e9cb87d..9202aba6cd069 100644 --- a/docs/reference/release-notes/8.0.0-rc2.asciidoc +++ b/docs/reference/release-notes/8.0.0-rc2.asciidoc @@ -15,13 +15,27 @@ data loss. If you upgrade from a released version, such as 7.16, to a pre-release version for testing, discard the contents of the cluster when you are done. Do not attempt to upgrade to the final 8.0 release. -* `elastic` user password and {kib} enrollment token are not generated on node first startup -when elasticsearch is installed from archive on Linux aarch64 and macOS aarch64 platforms. +* If you installed {es} from an archive on Linux aarch64 or macOS aarch64, the +`elastic` user password and {kib} enrollment token are not generated +automatically when starting your node for the first time. + -You can still generate the `elastic` password with `bin/elasticsearch-reset-password -u elastic` and -get a {kib} enrollment token with `bin/elasticsearch-create-enrollment-token -s kibana` after the -node has started. - +-- +After the node starts, generate the `elastic` password with the +<> tool: + +[source,bash] +---- +bin/elasticsearch-reset-password -u elastic +---- + +Then, create an enrollment token for {kib} with the +<> tool: + +[source,bash] +---- +bin/elasticsearch-create-enrollment-token -s kibana +---- +-- [[deprecation-8.0.0-rc2]] [float] === Deprecations From d57e18f9fab9b87a7d64737bb076ee2c7a01292c Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Wed, 9 Feb 2022 07:18:00 +0200 Subject: [PATCH 3/3] make platform clearer --- docs/reference/release-notes/8.0.0-rc2.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/release-notes/8.0.0-rc2.asciidoc b/docs/reference/release-notes/8.0.0-rc2.asciidoc index 9202aba6cd069..9da025fccc43a 100644 --- a/docs/reference/release-notes/8.0.0-rc2.asciidoc +++ b/docs/reference/release-notes/8.0.0-rc2.asciidoc @@ -15,7 +15,7 @@ data loss. If you upgrade from a released version, such as 7.16, to a pre-release version for testing, discard the contents of the cluster when you are done. Do not attempt to upgrade to the final 8.0 release. -* If you installed {es} from an archive on Linux aarch64 or macOS aarch64, the +* If you installed {es} from an archive on an aarch64 platform like Linux ARM or macOS M1, the `elastic` user password and {kib} enrollment token are not generated automatically when starting your node for the first time. +