-
Notifications
You must be signed in to change notification settings - Fork 148
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
Fail to start if the shipper is enabled but the shipper executable cannot be found #2446
Comments
@cmacknz / @leehinman could we close this one with the new shipper plan? |
Still relevant, but the chances this bug is hit are significantly reduced. Dropped to P3. |
@cmacknz If the specification file is present and not a binary the Elastic Agent will fail to start. I think the issue here is that packaging doesn't include the specification file unless it can fetch the binary. So this is not really an issue with the Elastic Agent itself. |
But it would be nice if elastic-agent gave some kind of message that it has a policy that says "start component X" but it doesn't have component X (maybe missing spec file or some other reason). |
It does do that.
…On Fri, May 5, 2023 at 1:59 PM Lee E Hinman ***@***.***> wrote:
I think the issue here is that packaging doesn't include the specification
file unless it can fetch the binary. So this is not really an issue with
the Elastic Agent itself.
But it would be nice if elastic-agent gave some kind of message that it
has a policy that says "start component X" but it doesn't have component X
(maybe missing spec file or some other reason).
—
Reply to this email directly, view it on GitHub
<#2446 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5QXZ4OXG4TKBNNEMJNRFTXEU5Z7ANCNFSM6AAAAAAWRYNV44>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@pierrehilbert could this be closed as it is probably not relevant anymore? |
When starting elastic-agent with a configuration file that enables shipper, but the agent fails to resolve the elastic-agent-shipper component, should fail instead of falling back to Filebeat.
The reason behind this was that when I tried to use the agent with the shipper and I had not previously set up a configured agent to include shipper, it fall back to filebeat giving me the wrong assumption that initially, it worked.
I found that there was a problem with the packaging after doing some investigation as to why I was not seeing the results I was expecting.
Originally reported by @alexsapran
The text was updated successfully, but these errors were encountered: