-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Adds known issue for aarch64 pwd generation #83654
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
Adds known issue for aarch64 pwd generation #83654
Conversation
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 elastic#83566 by updating the underlying library we use to detect the terminal.
Pinging @elastic/es-docs (Team:Docs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a suggested reworking of this note. It's a little more verbose with the examples, but I think that they stand out better and are easier to read.
Co-authored-by: Adam Locke <[email protected]>
@@ -15,6 +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. | |||
|
|||
* If you installed {es} from an archive on Linux aarch64 or macOS aarch64, the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we think readers understand aarch64
? Do we need to explicitly say "ARM" or "M1"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I used Linux aarch64 and macOS aarch64 because that's what the download option says in the download page but we can definitely change this to "Linux ARM or macOS M1"
@tvernum @lockewritesdocs Hail fellow Elasticians 👋 I ran into this issue when reviewing the updated 8.0 Docker instructions for the Enterprise Search docs. This requires using Because you don't have access to an interactive TTY within the container, you can't run the |
Hi there @leemthompo. This is slightly different, as this is not a "known issue". Not generating the password and the enrollment token when there is no terminal attached is a conscious design decision we made as we want to limit the exposure of these in logs and well, when there is no terminal attached, there is noone to see the output :). Our docs for running elasticsearch with docker on 8.0 specify the
|
@jkakavas Thanks for that info! I guess the problem then is that running with the |
Correct, the Mac M1 specific thing is the known issue here, and we have fixed that in 8.0.1 and 8.1.0 |
Wanted to note that this will also be in the 8.0.0 GA release notes with #83689. Please ensure any changes here get synced with the 8.0.0 GA release notes. Thanks! |
I'm merging this as a I have accepted @lockewritesdocs and @tvernum suggestions |
I just pulled the 8.1.0 image and ran it in develop mode as described at https://hub.docker.com/_/elasticsearch. I am also getting this problem with Ubuntu 20.04 x86_64. |
Hi @st11x Your problem is almost certainly different. This was a very specific issue that terminal recognition didn't work correctly on ARM. That problem has been solved, and whatever issue you're seeing will be different. Can you please either:
|
Okay, I will do that. Thanks. |
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 enrollment token on
node first startup. This is resolved in #83566 by updating the
underlying library we use to detect the terminal.