-
Notifications
You must be signed in to change notification settings - Fork 146
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
Elastic Agent commands not working in Windows 10 in German #857
Comments
For tracking @mdelapenya @jlind23 @dikshachauhan-qasource |
@pierrehilbert adding this to the control plane project board as it belongs to you. |
Is this problem specific to the German language version of Windows or generic to any version of Windows where the users, groups, commands, etc are localized and different than the English version of Windows? I know we have had issues with other language versions, specifically the Korean language version of Windows. |
@charlie-pichette it seems we already had issues with Korean, Spanish and French (#150 (comment)). Now German, so we probably need a more systematic approach to localization. |
@charlie-pichette this seems to be a german problem only. As far as I remember we didn't experience the same behaviour with other languages. So far now, testing a germand localized Windows is the way to go. |
This problem would be present in any localized environment, we are simply in this case returning the operating system error. We are wrapping the original error with the intern us version. We could better handle error and reword the message from german to english. But I think we actually need to research if we need to localized the Elastic Agent, this would be a really big undertaking because we never considerer to localized agents or beats. But in some country or region, like mine, there are rules in place to force users to purchase software that are localized in the region official language. But this will need to be prioritized. Also Kibana is localized, I am not sure how fleet or the integration behave in other language like french. |
I just want to clarify that the issue is not about the error message not being localized, but the error(s) happening in the first place :) |
Adding to @ckauf comment, it's not the language of the message, it's an error that only occurs in the german version (and eventually in other languages also). As we are talking about edge devices. It's pretty limiting if we go "You can only monitor your edge devices running OS's in English". Public sector in any country does use the local language (by legal requirement or not), but also companies do the same. Not every worker is comfortable working in English. |
Microsoft used to publish the localized administrator user account name. I would expect it is possible to identify the administrator account via SID or identify the language pack being used and select the appropriate account from a list. |
@pierrehilbert do you think we can investigate this during our 8.6 cycle? |
Hi, team. I'm not sure this is related with language pack. In my case, I installed Elastic Agent 8.4.2 in my Mac book and found the same error message as below:
But when I changed the elastic agent path to absolute path, I can get the response as below:
I guess this is a kind of symbolic link issue when installing/enrolling elastic agent to fleet server.
|
@kaishenelastic this is a bit something else, you're executing elastic agent binary in an unpacked archive, it lacks information about running instance. |
found a root cause probably. |
Thanks @michalpristas ! I hope you find a nice solution! |
Result:
[image: image.png]
-----------------------
*Kai Shen*
*Senior Solution Architect*
Email: ***@***.***
Mobile: +49 172 4691896
Elasticsearch GmbH
www.elastic.co / XING Gruppe
<https://www.xing.com/communities/groups/elasticsearch-logstash-kibana-4ba5-1074269>
…On Mon, Oct 17, 2022 at 2:55 PM Michal Pristas ***@***.***> wrote:
@kaishenelastic <https://github.com/kaishenelastic> this is a bit
something else, you're executing elastic agent binary in an unpacked
archive, it lacks information about running instance.
try running 'C:\Program Files\Elastic\Agent\elastic-agent.exe' status
—
Reply to this email directly, view it on GitHub
<#857 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARSKC3CQMJHUOG6UVDH77R3WDVECNANCNFSM55R6W4YQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Team I think it is not related to the only symbolic that @insukcho mentioned. |
Hi Team, We have revalidated this issue on latest 8.10.0 BC7 kibana cloud environment and had below observations: Observations:
Build details: Hence we are marking this issue as QA:Validated. Thanks! |
When installing Elastic Agent on a machine running Windows 10 in German actions
status
,diagnostics
,restart
andversion
always provide a permissions error, similar to the one below:Version provides the binary version, but fails to provide the Daemon with
<failed to communicate>
then a similar message as above.Status fails completely with a similar message.
Diagnostics fails completely.
Diagnostics collect will generate the content (at least partially), including error messages in file and in screen.
Restart fails completely.
The exact same setup on a Windows 10 in English machine works normally, so it seems a localization problem.
Even though data seems to be flowing, I'm not sure it's complete and the lack of "administrative" tasks makes the use of Elastic Agent mostly impossible.
This behaviour is independent of integrations, or being installed with Fleet or standalone.
For confirmed bugs, please report:
./elastic-agent.exe status
(or the other commands) and see it fail@ckauf @jstrassb FYI
The text was updated successfully, but these errors were encountered: