[LU-12846] could not delete orphan [0x2001ac5ff:0x3a30:0x0]: rc = -2 Created: 10/Oct/19  Updated: 20/May/20  Resolved: 19/Apr/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.2
Fix Version/s: Lustre 2.14.0, Lustre 2.12.5

Type: Bug Priority: Minor
Reporter: Mahmoud Hanafi Assignee: Yang Sheng
Resolution: Fixed Votes: 0
Labels: None
Environment:

https://github.com/jlan/lustre-nas
lustre2.12.2


Issue Links:
Duplicate
Related
is related to LU-13070 mdd_orphan_destroy loop caused by com... Resolved
Severity: 2
Rank (Obsolete): 9223372036854775807

 Description   

We are seeing repeated messages

 Oct 10 10:47:20 nbp7-mds1 kernel: [775744.827611] LustreError: 88338:0:(mdd_orphans.c:329:mdd_orphan_destroy()) nbp7-MDD0000: could not delete orphan [0x2001ac5ff:0x3a30:0x0]: rc = -2
Oct 10 10:57:20 nbp7-mds1 kernel: [776344.863994] LustreError: 88338:0:(mdd_orphans.c:329:mdd_orphan_destroy()) nbp7-MDD0000: could not delete orphan [0x2001ac5ff:0x3a30:0x0]: rc = -2
Oct 10 11:07:20 nbp7-mds1 kernel: [776944.904176] LustreError: 88338:0:(mdd_orphans.c:329:mdd_orphan_destroy()) nbp7-MDD0000: could not delete orphan [0x2001ac5ff:0x3a30:0x0]: rc = -2
Oct 10 11:17:20 nbp7-mds1 kernel: [777544.939854] LustreError: 88338:0:(mdd_orphans.c:329:mdd_orphan_destroy()) nbp7-MDD0000: could not delete orphan [0x2001ac5ff:0x3a30:0x0]: rc = -2

We are running 2.12.2 with
LU-11418 mdd: delete name if orphan doesn't exist



 Comments   
Comment by Peter Jones [ 10/Oct/19 ]

Hmm. Didn't LU-11418 land for 2.12.1 so should already be present in 2.12.2?

Comment by Peter Jones [ 10/Oct/19 ]

Oh I see. You are mentioning that ticket because it has a similar error message

Comment by Peter Jones [ 10/Oct/19 ]

Lai

Could you please investigate?

Thanks

Peter

Comment by Gerrit Updater [ 29/Oct/19 ]

Yang Sheng (ys@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36602
Subject: LU-12846 mdd: return error while delete failed
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 785a3a5f79866a252a19746e40880181b5fbfe61

Comment by Mahmoud Hanafi [ 11/Feb/20 ]

Pleas provide a back-port to 2.12.3

Thanks,

Comment by Gerrit Updater [ 14/Feb/20 ]

Yang Sheng (ys@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37570
Subject: LU-12846 mdd: return error while delete failed
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: a578cae3b066072383f8db353296cc366ada7522

Comment by Gerrit Updater [ 20/Feb/20 ]

Artem Blagodarenko (c17828@cray.com) uploaded a new patch: https://review.whamcloud.com/37636
Subject: LU-12846 tests: LU-13070 reproducer
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0e52eff3c208604a177b74d88a77390db4117815

Comment by Gerrit Updater [ 20/Feb/20 ]

Artem Blagodarenko (c17828@cray.com) uploaded a new patch: https://review.whamcloud.com/37637
Subject: LU-12846 mdd: revert LU-1307
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a55da903cce094a575b181f57d4c6273f1aa039c

Comment by Artem Blagodarenko (Inactive) [ 20/Feb/20 ]

Hello  ys, I have uploaded a test that shows there is an incompatibility problem with old-format names and fix from LU-13070 is useful. It is passed with fix from LU-13070 and failed without if in my local environment. We could finally land  it as a regression test for the upgrade.

Comment by Gerrit Updater [ 07/Apr/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37636/
Subject: LU-12846 tests: verify orphan upgrade compatibilty
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a1e6e75a82889a936ed9bdf9671a00bb81759285

Comment by Gerrit Updater [ 08/Apr/20 ]

Artem Blagodarenko (c17828@cray.com) uploaded a new patch: https://review.whamcloud.com/38180
Subject: LU-12846 mdd: revert fix for orphan delete
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d9f3dd4b07010cc8edd62112b16ae0802b2d1a6c

Comment by Gerrit Updater [ 10/Apr/20 ]

Artem Blagodarenko (c17828@cray.com) uploaded a new patch: https://review.whamcloud.com/38197
Subject: LU-12846 mdd: return error while delete failed
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 80208379bef75e3310a8216872e9bc0470b59e9e

Comment by Gerrit Updater [ 10/Apr/20 ]

Artem Blagodarenko (c17828@cray.com) uploaded a new patch: https://review.whamcloud.com/38198
Subject: LU-12846 mdd: revert fix for orphan delete
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 60f4df8ec28810aae97a9152b70f21fdb07d7c01

Comment by Gerrit Updater [ 10/Apr/20 ]

Artem Blagodarenko (c17828@cray.com) uploaded a new patch: https://review.whamcloud.com/38199
Subject: LU-12846 test: fix recovery-small test 143
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f64fc29bb1741932e3434aa0e8ad4abf27f5ea55

Comment by Jay Lan (Inactive) [ 15/Apr/20 ]

Could you explain the difference between review #36602 and review #38197? Both of them are for master branch.

Also, review #37570 was a b2_12 port based on patch set #13 of review #36602. Since #36602 is at patch set #27, is it time to update #37570?

Comment by Yang Sheng [ 15/Apr/20 ]

Hi, Jay,

Yes, 37570 need refresh.

Thanks,
YangSheng

Comment by Gerrit Updater [ 19/Apr/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36602/
Subject: LU-12846 mdd: return error while delete failed
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 688d5da6a89882fdf9ebfb3e52ca869e9e959655

Comment by Yang Sheng [ 19/Apr/20 ]

Patch landed. Close ticket.

Comment by Peter Jones [ 19/Apr/20 ]

There are a number of unlanded patches tracked under this JIRA reference - will these be abandoned or do they still need to land?

Comment by Yang Sheng [ 19/Apr/20 ]

Hi, Peter,

I think all of necessary patches have been landed to master.

Thanks,
Yangsheng

Comment by Gerrit Updater [ 11/May/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37570/
Subject: LU-12846 mdd: return error while delete failed
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: f6205112e49676d4bd5e5b2221d3d5dc5a3b7c52

Generated at Sat Feb 10 02:56:09 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.