Fleet server problem

Hello,

My Feelt server is missing from the agent list, and if i try to reistall, i get this message. Now my agents are working correctly. On my endpoints the enrollment works just fine, but not the endpoint security as the policy does not update anymore

PS C:\Temp\elastic-agent-7.15.2-windows-x86_64> .\elastic-agent.exe install --url=https://***

--fleet-server-es=:9200 --fleet-server-service-token=***
--fleet-server-policy=666f60f0-2f2a-11ec-82da-2b67656e59ac --certificate-authorities=C:\Temp\elastic-agent-7.15.2-windows-x86_64\***.crt
--fleet-server-es-ca=C:\Temp\elastic-agent-7.15.2-windows-x86_64*
.crt --fleet-server-cert=C:\Temp\elastic-agent-7.15.2-windows-x86_64\***.crt
--fleet-server-cert-key=C:\Temp\elastic-agent-7.15.2-windows-x86_64*
*.key
2021-11-18T18:37:23.929+0100 INFO cmd/enroll_cmd.go:727 Waiting for Elastic Agent to start Fleet Server
2021-11-18T18:37:25.935+0100 INFO cmd/enroll_cmd.go:760 Fleet Server - Starting
2021-11-18T18:37:29.941+0100 INFO cmd/enroll_cmd.go:741 Fleet Server - Running on policy with Fleet Server integration: 666f60f0-2f2a-11ec-82da-2b67656e59ac; missing config fleet.agent.id (expected during bootstrap process)
2021-11-18T18:37:30.659+0100 INFO cmd/enroll_cmd.go:442 Starting enrollment to URL: ***:8200/
2021-11-18T18:37:31.780+0100 WARN cmd/enroll_cmd.go:453 Remote server is not ready to accept connections, will retry in a moment.

Also my new enrollments do not show up in the hosts running enpoint security and all other previous agents show this Policy Enpoint Secuirty rev. 15 Out-of-date Policy status [Success]

PS C:\Program Files\Elastic\Agent> .\elastic-agent.exe version
Binary: 7.15.2 (build: fd322dad6ceafec40c84df4d2a0694ea357d16cc at 2021-11-04 17:59:02 +0000 UTC)
Daemon: 7.15.2 (build: fd322dad6ceafec40c84df4d2a0694ea357d16cc at 2021-11-04 17:59:02 +0000 UTC)
PS C:\Program Files\Elastic\Agent> .\elastic-agent.exe status
Status: DEGRADED
Message: (no message)
Applications:

  • fleet-server (DEGRADED)
    Running on policy with Fleet Server integration: 666f60f0-2f2a-11ec-82da-2b67656e59ac; missing config fleet.agent.id (expected during bootstrap process)
    PS C:\Program Files\Elastic\Agent>

Have you looked into why the config is missing fleet.agent.id?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.