-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message is displayed to user, when user is trying to add AWS integrations to agent policies. #6088
Comments
Pinging @elastic/integrations (Team:Integrations) |
Reviewed & assigned to @kpollich |
(Wrong issue, sorry for the pings!) |
Full error: {
"statusCode": 500,
"error": "Internal Server Error",
"message": "Error installing aws 1.34.3: Encountered 1 errors creating saved objects: [{\"type\":\"search\",\"id\":\"aws-30ccde50-7397-11ea-a345-f985c61fe654\",\"error\":{\"isBoom\":true,\"isServer\":false,\"data\":null,\"output\":{\"statusCode\":400,\"payload\":{\"message\":\"[attributes.sort]: types that failed validation:\\n- [attributes.sort.0.0]: array size is [0], but cannot be smaller than [2]\\n- [attributes.sort.1.0]: expected value of type [string] but got [Array]: Bad Request\",\"statusCode\":400,\"error\":\"Bad Request\"},\"headers\":{}},\"type\":\"unknown\"}}]"
} It is failing to install this saved search asset which hasn't been touched in a few years. Investigating to see if changes in elastic/kibana#154016, which added stricter schema validation for |
@davismcphee I believe the change above is causing the saved objects importer to reject I confirmed that there are no issues with importing this object in 8.7.1, only 8.8.0. |
Pinging @elastic/fleet (Team:Fleet) |
@jen-huang This was definitely caused by elastic/kibana#154016 and was an oversight on my part -- empty sort arrays are a valid scenario for saved searches. I've opened elastic/kibana#156724 to track the bug in the Kibana repo and will publish a PR asap to get the schema fixed. |
@jen-huang Just an update that the PR for elastic/kibana#156724 has been merged now and backported to 8.8, so the issue should be fixed. |
Thanks @davismcphee! @dikshachauhan-qasource please validate the fix on the next BC. Thanks! |
Hi @jen-huang Thanks for the update, we will revalidate this issue on BC3. Thanks. |
Hi @jen-huang We have revalidated this issue on latest 8.8.0 BC3 Kibana staging cloud build and found it working fine. Observation:
Build details:
Hence, we are marking it as "QA:Validated". Thanks!! |
|
Kibana version: 8.8.0 BC2 staging Kibana cloud environment
Host OS: Windows
Browser: Chrome
Build details:
VERSION: 8.8.0 BC2
BUILD: 62857
COMMIT: 33efd47ee6927b54b328e901fe31d31eae875325
Artifact: https://staging.elastic.co/8.8.0-118443e6/summary-8.8.0.html
Preconditions:
Steps to reproduce:
Screenshots:
![image](https://user-images.githubusercontent.com/72375798/236193248-4918fae4-766f-424a-802d-3a15f45d33fa.png)
![image](https://user-images.githubusercontent.com/72375798/236193523-cd758937-854b-42fe-8a45-eb4a7eded8f9.png)
Expected Result:
The text was updated successfully, but these errors were encountered: