Unexpected behavior of pool.dataset.unlock with recursive : false
Description
Steps to Reproduce
Expected Result
Actual Result
Environment
Hardware Health
Error Message (if applicable)
Attachments
Activity
Bug Clerk October 13, 2024 at 3:34 PM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.
Waqar Ahmed October 13, 2024 at 3:34 PM
if child datasets are inheriting encryption properties which they are from the screenshot you provided, they will be unlocked once you unlock the parent unless they are their own encryption root like `test2` was which remained locked. Please let me know if there are any concerns and i can help clarify this further. Thanks!
Michelle Johnson July 31, 2024 at 12:00 PMEdited
Issue created by an iXsystems developer. Escalating to Engineering for additional triage. Debut requested from the developer and changed issue type to defect instead of bug.
Michelle Johnson July 31, 2024 at 12:00 PM
please attach a system debug.
Bug Clerk July 30, 2024 at 1:58 PM
Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.
https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153
Steps to reproduce
WebUI launches the job
pool.dataset.unlock
withrecursive
field isfalse
recursive
value is properly retrieved from middleware by WebUIWebUI requests
pool.dataset.details
Actual result:
However, after requesting
pool.dataset.details
, the pool and all child datasets have thelocked
field set totrue
(though only expected for the pool):Expected result:
the pool dataset should have
locked
field updated to a newfalse
valuefor all child datasets the
locked
field to still keep oldtrue
value