Errors on commit stage in Bulk edit when update Instances and apply changes to Holdings, Items on ECS bugfest Eureka environment

Description

On Eureka ECS bugfest environment create User and assign the following affiliations/capabilities in Member tenant:

  • Bulk Edit: In app - Edit inventory records

  • Inventory: View, create, edit instances

  1. Log in and switch affiliation to Member tenant as User

  2. Go to “Bulk edit“ app

  3. Select “Inventory-instances“

  4. Select “Instances UUIDs“

  5. Upload .csv file with local Instances UUIDs (with holdings, items) not suppressed from discovery

  6. On Bulk edit form select “Suppress from discovery” > “Set true“ and check checkboxes “apply to all holdings”, “apply to all items”

  7. Click “Confirm changes“ button

  8. Click “Commit changes“ button

Expected result: Confirmation screen is displayed. Instances and their holdings, items updated successfully

Actual result: Part of Instances and their holdings, items updated successfully. Part of the records are not updated due to the following errors:

[401 Unauthorized] during [PUT] to [http://inventory/instances/e52f35df-cdfd-579a-ac23-a755e2f29a93] [InstanceClient#updateInstance(Instance,String)]: [{"errors":[{"type":"UnauthorizedException","code":"authorization_error","message":"Unauthorized"}],"total_records":1}]

[500 Internal Server Error] during [GET] to [http://inventory/items?query=holdingsRecordId%3D%3D357e00d0-d39e-5aaf-8273-fda1e17340ef&limit=2147483647] [ItemClient#getByQuery(String,int)]: [Holdings request (id==(357e00d0-d39e-5aaf-8273-fda1e17340ef)) failed 401: {"errors":[{"type":"UnauthorizedException","code":"authorization_error","message":"Unauthorized"}],"total_records":1}]

Additional information: also noticed on non-ECS Eureka environment while updatind Items in Bulk edit

Errors noticed in Central tenant

6abe174d-01fc-51b1-917e-dc54e3dd9821,[502 Bad Gateway] during [PUT] to [http://inventory/instances/6abe174d-01fc-51b1-917e-dc54e3dd9821] [InstanceClient#updateInstance(Instance,String)]: [<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>
]
7b383bf2-ad1a-5d2a-b0cd-c5b543968eb3,[502 Bad Gateway] during [GET] to [http://inventory/items?query=holdingsRecordId%3D%3D614ddde5-c359-5d18-9a4f-c24dde207675&limit=2147483647] [ItemClient#getByQuery(String,int)]: [<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>
]

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

17

Checklist

hide

Activity

Show:

Ashkhen Gevorgyan December 23, 2024 at 9:02 AM

Hi
As mentioned in the previous comment, the 401 error cannot be reproduced.
So the ticket has been closed.

Ashkhen Gevorgyan December 22, 2024 at 2:39 PM

Checked in Eureka BF ECS and non-ECS environments.
401 error is no longer reproduced, but 500 and 502 errors are still present (information will be added in ticket)
Please see the testing results:

  1. ECS, Central tenant (checked with two different files)
    File with the errors:

    File with the errors:

     

  2. ECS, Member tenant
    File with the errors:

     

  3. Non-ECS env
    File with errors:

Oleksii Petrenko December 20, 2024 at 9:47 AM

Deployed to EurekaR BF. Please proceed with testing

Tatsiana Hryhoryeva December 9, 2024 at 2:08 PM

Checked, 401 error still reproduced on commit stage in Bulk edit when update Instances and apply changes to Holdings, Items on ECS bugfest Eureka environment, Central tenant

17516bf1-16e2-5f9c-abb7-2876220b611f,[401 Unauthorized] during [GET] to [http://consortia] [ConsortiumClient#getConsortia()]: [{"errors":[{"type":"UnauthorizedException","code":"authorization_error","message":"Unauthorized"}],"total_records":1}]

Mikita Siadykh December 9, 2024 at 5:57 AM

please check, I could upload 20k instances on eureka bugfest without issues

 

P.S. you can face with 5xx errors from inventory - it’s not connected to this ticket (env related or overall performance issue)

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Eureka

Fix versions

Release

Ramsons (R2 2024) Bug Fix

RCA Group

Not a bug anymore

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 18, 2024 at 3:20 PM
Updated January 2, 2025 at 11:40 AM
Resolved December 20, 2024 at 9:47 AM
TestRail: Cases
TestRail: Runs