in my fleet management there's 3 entries for the agent on one machine. Two of them are obsolete.
I wonder what is happening if i uninstall with the one fleet server i need for management?
Is it somehow possible to remove this entries without destroying the working fleet server?
it's currently running. I am getting some warning but this seems to be a known issue:
[WARNING] Could not redact state.yaml due to unmarshalling error: yaml: invalid map key: map[interface {}]interface {}{"unitid":"fleet-server-default-fleet-server-fleet_server-bad6ee92-babd-4f47-a612-eb78cb0f27ea", "unittype":0}
I wonder if it really takes so much time but i will be patient ...
i am a bit confused now. After hours, the fleet error went away. The agent still did not communicate. I guess i will need to investigate further and check the log in detail.
As far as it kooks to me now - deleting the obsolete agent entries in the fleet management somehow had negative impact on the agent running on the server.
after some testing i found out, that this might be a kind of "reboot" and "timing" issue.
I made an upgrade of the operating system and rebooted the machine.
After some while the fleet server was still not available. All i needed to do was stoping and starting the "elastic-agent" and the fleet Server came back.
This seems to be reproducable on my test machine.
So i was on the wrong path - the main issue is the agent and not the "remove obsolete ....". Sorry for this.
Next issue i will try to solve is an agent that is up to date but still showing "updating" in the fleet. For this there's some info available and i will check if it works for me also.
i am at 8.8.2 and now i am updating to 8.9.1. Thx for the hint...
Regarding the "stuck updating" agent - i wil manually upgrade to 8.9.1 to see if the problem i going away.
so - i found my own solution as the supposed ones seemed to be "not easy" Finding out the "superuser" credentials nand handling the commandy - well, cost a lot of time.
My way was to unenroll the agent, remove it form the system manually and re-install it.
Worked fine
Now there's a new question but i will put it into a new thread.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.