Eureka (non-ECS) Elastic search returns internal server error while search on inventory

Description

  1. Login as admin to folio-testing-cypress-diku.ci.folio.org

  2. Open inventory module

  3. Search for any instance (e.g. put ‘test’ into search field)

Expected result: Either no results or some instances displayed

Actual result: Elastic search error, request returns 500 error

URL: https://folio-testing-cypress-okapi.ci.folio.org/search/instances?expandAll=true&limit=100&query=%28%28keyword%20all%20%22test%22%20or%20isbn%3D%22test%22%20or%20hrid%3D%3D%22test%22%20or%20id%3D%3D%22test%22%29%20and%20staffSuppress%3D%3D%22false%22%29%20sortby%20title

 

"errors": [
{
"message": "OpenSearch exception [type=search_phase_execution_exception, reason=all shards failed]",
"type": "OpenSearchStatusException",
"code": "elasticsearch_error",
"parameters": []
}
],

Screenshot 2025-01-29 135021.png

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1
  • 29 Jan 2025, 11:56 AM

Checklist

hide

Activity

Show:

Viacheslav Kolesnyk March 13, 2025 at 4:42 PM

We’ve been able to reproduce the issue only if index is deleted manually and then some record is updated so index is created on insert with default mappings. Default mappings cause search requests to fail.

Cc:

Viacheslav Kolesnyk March 12, 2025 at 5:10 PM

looking into it

Tetiana Kovalchuk March 12, 2025 at 4:53 PM
Edited

Currently https://ecs-folio-etesting-sprint-kong.ci.folio.org/search/linked-data/works?query=%28title+all+%22*%22%29+sortby+title&offset=0&limit=10 returns 500 error in https://folio-etesting-sprint-cs00000int.ci.folio.org/linked-data-editor/search

{
"errors": [
{
"message": "OpenSearch exception [type=search_phase_execution_exception, reason=all shards failed]",
"type": "OpenSearchStatusException",
"code": "elasticsearch_error",
"parameters": []
}
],
"total_records": 1
}

CC: , ,

Eldiiar Duishenaliev March 6, 2025 at 12:28 PM

Hi ,

All issues are being reported in https://folio-project.slack.com/archives/C017RFAGBK2

Please subscribe to the channel, from our side, if the same issue is reported we’ll notify you or you may identify it even earlier in the channel. Thanks.

Viacheslav Kolesnyk March 6, 2025 at 10:33 AM

is there any environment where this issue is currently reproducible?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Sunflower (R1 2025) Bug Fix

RCA Group

Environmental/deployment issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created January 29, 2025 at 11:55 AM
Updated March 14, 2025 at 9:40 AM
Resolved March 14, 2025 at 9:40 AM
TestRail: Cases
TestRail: Runs

Flag notifications