[LU-16188] Coordinator can put non-started request in STARTED state Created: 26/Sep/22  Updated: 03/Jul/23  Resolved: 27/Feb/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.9, Lustre 2.15.1
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Aurelien Degremont (Inactive) Assignee: Aurelien Degremont (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When the coordinator tries to send multiple HSM actions in
a single request to agent, if one of the request fails incompat checks in mdt_hsm_is_action_compat(), all the requests are wrongly marked as STARTED but none of the requests are actually sent to the agent. The STARTED requests will never be rescheduled and will fail after timeout.



 Comments   
Comment by Gerrit Updater [ 26/Sep/22 ]

"Aurelien Degremont <degremoa@amazon.com>" uploaded a new patch: https://review.whamcloud.com/48658
Subject: LU-16188 mdt: fix incompatible HSM request handling
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2d4bc2eb1b4a2a0bcb7b0ce232ec56781ce06a5a

Comment by Gerrit Updater [ 08/Feb/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48658/
Subject: LU-16188 mdt: fix incompatible HSM request handling
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b13a5b351e71e4e7b0016e2a1426b1a21bf783c4

Comment by Aurelien Degremont (Inactive) [ 27/Feb/23 ]

Ticket could be closed, patch is merged.

Comment by Peter Jones [ 27/Feb/23 ]

Landed for 2.16

Comment by Gerrit Updater [ 03/Jul/23 ]

"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51541
Subject: LU-16188 mdt: fix incompatible HSM request handling
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: e0e640f6ea01f5fa9da4926302f45da0cffc061c

Generated at Sat Feb 10 03:24:48 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.