when creating an iscsi target via the API during high concurrency sometimes the groups are not added

Description

When POSTing to the /api/v2.0/iscsi/target endpoint while many other iscsi-related API requests are happening concurrently I've noticed situations where the 'groups' property does not get properly set (it's empty). I've worked around the issue by checking the groups from the response and ensuring they match what was sent and if not, I turn around and do a subsequent PUT with the groups. If that fails I retry the whole process. The mitigations 'work' but it's not ideal.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

William Gryzbowski 
December 6, 2020 at 12:11 PM

The description may be different, but we did our investigation and the root cause is the same, as in the same PR will fix both issues, to us its a duplicate even though the entry point is no the same.

Travis Hansen (community) 
December 5, 2020 at 6:00 PM

this could be connected but is fundamentally different than the others. In the other cases, the data does POST correctly and assets are created but simply respond with the wrong values....in this case the backend/DB does not match what was submitted (regardless of if response is for the wrong asset).

William Gryzbowski 
December 4, 2020 at 12:20 PM

This is likely duplicated of related ticket. Feel free to close as such if thats the case.

Duplicate

Details

Assignee

Reporter

Impact

Components

Fix versions

Priority

More fields

Katalon Platform

Created December 3, 2020 at 11:33 PM
Updated July 1, 2022 at 4:59 PM
Resolved December 5, 2020 at 5:43 PM