fuphil
(Philipp)
February 21, 2022, 9:39am
1
Hi,
I am facing this bug in Elasticsearch 7.16.2 and tried the workaround of the following threads:
Bug:
opened 09:59AM - 28 Jan 22 UTC
bug
Team:Fleet
**Kibana version:** 7.16 and potentially others
**Elasticsearch version:**
…
**Server OS version:**
**Browser version:**
**Browser OS version:**
**Original install method (e.g. download page, yum, from source, etc.):** on prem installation
**Describe the bug:**
Many users reported Default Fleet Server policy missing fleet_server integration, and this blocks them to enroll a Fleet Server successfully. The workaround is to add fleet_server integration manually to the policy.
The root cause/steps to reproduce is unknown, it could be that something goes wrong during setup, and that's why the fleet_server integration fails to be added.
<img width="977" alt="image" src="https://user-images.githubusercontent.com/90178898/153210634-b0e1f22b-f939-4502-a5b8-8ae582b0b3bc.png">
**Steps to reproduce:**
1. Set a dummy registryUrl in kibana.yml or kibana.dev.yml, so that fleet_server can't be installed on startup
1. Remove registryUrl (or set to a valid value)
**Bug**: even though fleet_server is installed successfully now, fleet server policy still doesn't have a fleet_server policy integration.
**Expected behavior:** fleet_server integration should be added by default to Default Fleet Server policy.
**Screenshots (if relevant):**
**Errors in browser console (if relevant):**
**Provide logs and/or server output (if relevant):**
**Any additional context:** this bug might go away once we release removing Default policies: #108456
Reported issues:
https://discuss.elastic.co/t/why-cant-select-an-agent-policy-when-add-a-fleet-server/293083
https://discuss.elastic.co/t/cannot-add-a-fleet-server/295670
Workaround:
Hi All,
I am using Elastic Security feature for some time using beats applications to collect logs from the endpoints. Recently I tried to check the Elastic Agent feature and I encountered following issues when I tried to add Fleet server.
I cannot see already available two agent policies in the Kibana, under Fleet>Agent>Select Agent Policy. when I click drop down, nothing appears there.
[image]
Available policies are as below.
[image]
Since I cannot assign a policy from Kibana, I manua…
When I try to add the Fleet Server integration manually, it is not listed...
Why?
Hi! Are you using the default registry or your own? Fleet settings in Kibana | Kibana Guide [master] | Elastic
Could you check in Chrome Dev Tools / Network tab, what is the response of /api/fleet/epm/packages?experimental=true
call?
fuphil
(Philipp)
February 21, 2022, 3:04pm
3
Hi Julia,
thank you very much, setting the following property solved the issue!
xpack.fleet.registryProxyUrl
greetings
1 Like
system
(system)
Closed
March 21, 2022, 3:04pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.