Closed sukhwindersingh-qasource closed 2 months ago
Pinging @elastic/fleet (Team:Fleet)
@amolnater-qasource Please review
Secondary review for this ticket is Done.
This caused a breach of our Fleet API SLO in serverless. See this Slack thread: https://elastic.slack.com/archives/C04J98D0PQW/p1724925768881849
I would say that at least processing the error more gracefully is definitely important for serverless. cc @kpollich
@jillguyonnet looks like the issue is when validation the name of the enrollment token here, if we remove that validation as the name contains an uuid too it will solve that issue
So this seems to be caused by the use of (some of) query_string
special characters (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax) and is linked to the constraint that enrollment token names must be unique.
Since there was a discussion in https://github.com/elastic/kibana/issues/155550 about potentially removing this constraint, I've suggested a narrow fix in https://github.com/elastic/kibana/pull/191807.
Kibana Build details:
VERSION: 8.16.0-SNAPSHOT BUILD: 77679 COMMIT: 6b091fe3b410eaae9d4805c0a3c0ea6168bf66b0
Preconditions:
Steps to reproduce:
Expected Result:
Whats working:
Whats Not working:
Screen cast:
https://github.com/user-attachments/assets/c80dfe46-bfa7-49bc-8701-bd362a50b58c