-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 install fails on Win 2012 Server as: filebeat[xyz] operation-install: exit status 1 #18792
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
contact me for RDP / connectivity info to the host. not that I have much of an answer to help provide it. FYI the enroll call, if it helps, was:
|
FYI - the same vSphere sourced Windows images are working for other Windows Agent tests I've run, to rule out the general environment connectivity overall. |
@nayyara-samuel @crowens @bag0bits (hope you don't mind I selected your names for initial questions) Do we have any hope of getting a few specific folks access to the Endgame VPN, so they could test on our wonderful vSphere server? Or is it more feasible, faster to get them VMWare Fusion licenses and try to download / acquire the templates used to have them test locally @ruflin I think we had chatted briefly on this. |
@EricDavisX would be nice to give access for @michalpristas . |
we've also pinged Nick Fritz for access to see how Endpoint team may be able to help |
@kamalpreetpahwa-qasource if you could also test this out with a clean Win 2012 server Endgame side vSphere image I would be appreciative. I think maybe my vm is in a slightly bad state (maybe). If it works for you I think we can close this. We can try fleet and stand-alone, separately, please. and report back? Thank you. |
I got a felling this might have been fixed by #19248. Because Elastic Agent used to run the powershell script to install metricbeat and filebeat as a service, even though they were not ran as a service by Elastic Agent. That PR removed that as it was noticed with installing Endpoint. |
we can wait a little bit and test it together then with Agent + Endpoint, as well as with Stand-alone Endpoint deploys @kamalpreetpahwa-qasource . thanks Blake for the info. |
Sure @EricDavisX , let me update when we can test this issue. |
Hi @EricDavisX We have validated this issue on clean Windows server 2012 machine with 8.0 snapshot and issue is still occurring. Please find below the details and observations.
Observation:
For Stand alone agent, we are facing configuration issue, for which we have already reported ticket #19550. Moreover, we are facing a new issue for "Integrations" tab on 8.0 Snapshot build. We have reported this issue.elastic/kibana#70565 Please let us know if anything else need to verify. Thanks, |
@blakerouse were you testing on win 10 or server? |
Yes I am testing on Windows 10. I was only suggesting it could be fixed, but seems we need to take a deeper look at 2012 R2. |
I tested again today with Agent build today and I see Metricbeat is reported as failed this time (not filebeat). maybe interesting. I can offer to do a zoom call or something to drive to check out / debug more when we want to make time, now that we're in better shape.
|
zoom would be nice, let's sync to agree on some time this week |
fyi - I reviewed this with Michal and here are the logs we got at the time, note I changed the file name to be accepted in git attachment. elastic-agent-json.log |
reproduced locally. the issue is that windows 8/server 2012 use older version of powershell which does not contain functions we use to extract archive. |
Fix here: #20088 |
will test in BC5 when it is built |
@EricDavisX can we close this one? |
yes! I thought I had. : / 👍 |
Bug Conversion:Created 01 new Test-Case for this Ticket |
The new Alpha Elastic Agent is supported on Win 2012 I believe, I tried running it and it enrolled ok, but when running it, it throws an error, which is bubbled up into the Fleet Ingest Manager UI as:
Application: filebeat[f8419071-5c7d-4c54-8a0e-5cf4c9a9eec5]: operation-install: exit status 1
I'm testing on BC3 of 7.8 on Elastic Cloud Staging, and using a hand compiled 8.0 Agent from 5/27.
Agent OS Version: Windows Server 2012 R2 Standard Build 9600 (2013)
Attached are 2 screenshots and the cmd prompt logs from the machine itself
error-logs-win-2012.txt
specific error lines in the console output:
2020-05-27T15:15:45-04:00 ERROR reporter.go:47 2020-05-27T15:15:45-04:00: type:
'ERROR': sub_type: 'CONFIG' message: Application: metricbeat[f8419071-5c7d-4c54
-8a0e-5cf4c9a9eec5]: operation-install: exit status 1
2020-05-27T15:15:45-04:00 DEBUG action_dispatcher.go:93 Failed to dispatch actio
n 'action_id: e770d274-7d40-4fe5-b7e2-37fe3b7f8035, type: CONFIG_CHANGE', error:
operator: failed to execute step sc-run, error: operation-install: exit status
1: operation-install: exit status 1
operator: failed to execute step sc-run, error: operation-install: exit
status 1: operation-install: exit status 1
operation-install: exit status 1
exit status 1
2020-05-27T15:15:45-04:00 ERROR fleet_gateway.go:163 failed to dispatch actio
ns, error: operator: failed to execute step sc-run, error: operation-install: ex
it status 1: operation-install: exit status 1
operator: failed to execute step sc-run, error: operation-install: exit
status 1: operation-install: exit status 1
operation-install: exit status 1
exit status 1
The text was updated successfully, but these errors were encountered: