Unable to unlock password protected pool after update from RC.1-2

Description

After updating to 22.02-RC.2 something related to k8s/docker creates directories in mount point for password encrypted pool if the pool is in any way used by applications or as primary pool for applications. This makes it impossible to unlock the pool until the directories are deleted due to "can't mount, directory not empty" error.

In my case direcories for Music na Movies used by Plex App were created. In case of user Kenneth Holmqvist on forums, ix-applications was created.

https://www.truenas.com/community/threads/scale-22-02-rc-2-now-available.97639/post-674043

https://www.truenas.com/community/threads/cant-unlock-pool-after-upgrade-to-22-02rc2.97653/

I was able to remove the directories and unlock the pool sucesfully. This does not seem to happen again after reboot so I assume this is caoused by something in the update process. Like unmounting poolsbefore shitting down k8s?

Steps to reproduce:

  • be on SCALE-22.02-RC.1-2

  • Create password encrypted pool with some datasets

  • Set this pool as App pool or ceate an application that uses some directories on that pool

  • update to SCALE-22.02-RC.2

  • try to unlock aforementioned pool with a pasphraze

  • unlock fails with descryption that /mnt/pool_name is not empty

  • check contents of /mnt/pool_name

Problem/Justification

None

Impact

None

Activity

Show:

Michelle Johnson December 23, 2021 at 4:51 PM

This issue is now in our queue for review. An engineering representative will update with further questions or details in the near future.

Artur Draga December 23, 2021 at 3:59 PM

Debug file attached

Michelle Johnson December 23, 2021 at 2:13 PM

Thank you for your report, !

Can you please attach a debug in the Private attachment section of this ticket.

To generate a debug file on TrueNAS SCALE, log in to the TrueNAS web interface, go to System Settings > Advanced, then click Save Debug and wait for the file to download to your local system.

We understand translator services don't always work the best so don't worry about the wrong words.

Artur Draga December 23, 2021 at 11:50 AM

I cant edit the ticket but I was attacked by auto correct. I of course meant shutting not 'shitting' - sorry about that. 

Duplicate

Details

Assignee

Reporter

Labels

Impact

Low

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created December 23, 2021 at 11:47 AM
Updated July 6, 2022 at 8:57 PM
Resolved January 2, 2022 at 2:59 PM