-
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: failed: could not decode the response, raw response: no matching action #24467
Comments
Pinging @elastic/agent (Team:Agent) |
What you mean by assign a new policy? Do you have 2 policies and you tried to assign a different policy to the Elastic Agent with the fleet-server? |
I think there are multiple ways to see this effect, e.g. I tried to add Apache integration to the "Default Fleet Server policy". |
Changing an Agent to a different policy is something still being worked on #24447. As for adding a new integration to the Fleet Server policy, that part should work. I assume the Agent that is hitting this issue is also the one running the Fleet Server? |
Yes, the standard setup with embedded Fleet Server: https://github.com/elastic/elastic-package/pull/279/files |
I tried this out. I used elastic/elastic-package#279 to setup the stack, then selected the fleet-server policy and added system integration with only metrics enabled. The I get system metrics reported for the Can you check if you see data coming in? |
@mtojek I tested this locally and you need to remove the Let me know if it's work. @blakerouse @hbharding During the onboarding and the setup of fleet server as fleet server is an elastic agent. I think we need to have the fleet server url configured before enrolling fleet server |
Thanks, that's something we didn't change before (port 8220). Out of curiosity - why the agent supporting fleet server doesn't ignore legacy environment variables if we use I understand that due to above inconvenience, we won't be able to use same compose definitions for 7.11, 7.12 as environment variables exclude each other. What is the minimum environment set in our case: Agent's env:
Kibana's config:
|
Ok, with the above config I managed to connect to the Fleet Server (port 8220), although I think the question I posted above is still valid: what is the minimum set of vars for 7.13.0? I'm hitting now that issue: #24453 , so I assume it's the next level? I will leave this issue open to discuss the user experience of fleet configuration. |
Yes the |
FWIW I am seeing a similar error on latest
seeing this error:
|
Just realized, the above mentioned error is covered in https://github.com/elastic/kibana/issues/96779. |
@simitt I suppose we've a different problem here. I'm pretty sure I reported this one for a different root cause, but all error message look either similar or even the same. At the moment I don't reckon if this GH issue exists anymore (too many consecutive ones). |
This looks quite stale, closing as it is probably fixed or at least unrecognizable in current versions of agent. |
I'm trying to enable the Fleet Server in elastic/elastic-package#279 (7.13.0-SNAPSHOT):
I wanted to assign a new policy clicked out with Kibana:
The agent can't pick it up:
... although the UI reports that it's healthy.
The text was updated successfully, but these errors were encountered: