Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-104502

method __encvolume_detach is called out of order on zpool destroy

    XMLWordPrintable

    Details

    • Support Suite Ticket:
      TFE-402-53808

      JEditor

        Description

        Running TrueNAS 11.2-U7, we are failing to wipe gpart partitions from drives when destroying a GELI encrypted zpool because we're calling method "__encvolume_detach" out of order.

         

        Dec 27 08:55:37 tn21b uwsgi: [middleware.notifier:1703] contains_jail_root: jails not configured
        Dec 27 08:55:37 tn21b uwsgi: [middleware.notifier:132] Executing: zpool destroy -f pool1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: zpool destroy -f pool1 -> 0
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da2
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da2 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart create -s gpt /dev/da2
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart create -s gpt /dev/da2 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da2
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da2 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da3
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da3 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart create -s gpt /dev/da3
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart create -s gpt /dev/da3 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da3
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da3 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da4
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da4 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart create -s gpt /dev/da4
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart create -s gpt /dev/da4 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da4
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da4 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da5
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da5 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart create -s gpt /dev/da5
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart create -s gpt /dev/da5 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da5
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da5 -> 1
        Dec 27 08:55:38 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da6
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da6 -> 1
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:132] Executing: gpart create -s gpt /dev/da6
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:153] Executed: gpart create -s gpt /dev/da6 -> 1
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da6
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da6 -> 1
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da7
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da7 -> 1
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:132] Executing: gpart create -s gpt /dev/da7
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:153] Executed: gpart create -s gpt /dev/da7 -> 1
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:132] Executing: gpart destroy -F /dev/da7
        Dec 27 08:55:39 tn21b uwsgi: [middleware.notifier:153] Executed: gpart destroy -F /dev/da7 -> 1
        Dec 27 08:55:40 tn21b /notifier.py: [middleware.notifier:179] Popen()ing: zpool status pool0
        Dec 27 08:55:40 tn21b /notifier.py: [middleware.notifier:179] Popen()ing: zpool status pool1
        Dec 27 08:55:50 tn21b [fenced:381] Fenced: Stamp is now 0001f6e0
        Dec 27 08:55:50 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/727525fb-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:50 tn21b uwsgi: [middleware.notifier:188] geli detach gptid/727525fb-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:50 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli clear gptid/727525fb-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:50 tn21b uwsgi: [middleware.notifier:188] geli clear gptid/727525fb-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:50 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/7124ee0c-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli detach gptid/7124ee0c-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli clear gptid/7124ee0c-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli clear gptid/7124ee0c-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/6f4f0c88-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli detach gptid/6f4f0c88-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli clear gptid/6f4f0c88-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli clear gptid/6f4f0c88-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/6e0e5962-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli detach gptid/6e0e5962-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli clear gptid/6e0e5962-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli clear gptid/6e0e5962-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/6c5dfbff-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli detach gptid/6c5dfbff-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli clear gptid/6c5dfbff-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli clear gptid/6c5dfbff-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/6b004c22-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:188] geli detach gptid/6b004c22-28ad-11ea-8839-ac1f6b0dec50 -> 0
        Dec 27 08:55:51 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli clear gptid/6b004c22-28ad-11ea-8839-ac1f6b0dec50
        Dec 27 08:55:52 tn21b uwsgi: [middleware.notifier:188] geli clear gptid/6b004c22-28ad-11ea-8839-ac1f6b0dec50 -> 0

         

          Attachments

            Attachments

              Activity

                People

                Assignee:
                caleb Caleb St. John
                Reporter:
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: