-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Fleet] Admin user is invalid: security_exception (file-based authentication) #90148
Comments
Pinging @elastic/fleet (Team:Fleet) |
@kobelb You might be able to help here? Is our fleet user not created / accepted because of the file realm? Taking from the ES docs:
|
@ruflin having the file realm enabled won't prevent you from creating the However, configuring the file-realm won't prevent |
@kobelb Do you have any recommendation on how to overcome this issue? It happens from time to time on fresh single node clusters (Docker image). |
Unfortunately it started appearing again: https://beats-ci.elastic.co/job/Ingest-manager/job/package-storage/job/snapshot/201/artifact/src/github.com/elastic/package-storage/build/elastic-stack-logs/kibana.log @ph is it possible to raise a priority for this one? |
@mtojek Is this still a valid issue with the move to Fleet Server and the Fleet service account in ES? |
I'm not sure about it. Most likely somebody from the Fleet team would have to verify if it's possible to use fleet with "file-based auth". Last time it wasn't possible at all (failures). |
This issue is to investigate whether file-based authentication works with Fleet at all.
Hi,
this is a follow-up on the investigation of the failing setup of fleet in elastic/elastic-package#240 .
To fix the issue reported in elastic/elastic-package#234 , we tried to use
xpack.security.authc.realms.file
. Elasticsearch and Kibana started correctly, but the Elastic-Agent fails the fleet setup:Does it mean that Elastic stack with enabled file-based authentication can't use the fleet? We wanted to enable this feature to prevent
unavailable_shards_exception
) for.security
shard.Another observation:
I think the entrypoint should fail as soon as possible if the setup fails, not try to enroll, etc.
The text was updated successfully, but these errors were encountered: