Bug #41268
Decomplicate things and just use pool/iocage as mount
Description
When I create a jail either through the UI or using iocage in a shell, when I restart the system, the jail no longer shows up in the UI list. When I try to run it from the shell, I get an error saying that the configuration is missing and the jail needs to be destroyed. Even snapshots are missing.
History
#1
Updated by George Valenzuela over 2 years ago
- File debug-gCloud02-20180810233020.txz added
- Private changed from No to Yes
#2
Updated by George Valenzuela over 2 years ago
UPDATE: although jail snapshots are missing, it appears that if you run iocage export, you can import the archive when the jail disappears.
#3
Updated by Dru Lavigne over 2 years ago
- Category changed from OS to Middleware
- Assignee changed from Release Council to William Grzybowski
#5
Updated by William Grzybowski over 2 years ago
- Status changed from Unscreened to Blocked
- Reason for Blocked set to Waiting for feedback
Can you share the exact error message, please?
#6
Updated by George Valenzuela over 2 years ago
- File Selection_002.png Selection_002.png added
- File Selection_003.png Selection_003.png added
- File Selection_005.png Selection_005.png added
I've added three images that show the errors when trying to start the jail after a restart and when destroying it.
#7
Updated by Dru Lavigne over 2 years ago
- Status changed from Blocked to Unscreened
#8
Updated by William Grzybowski over 2 years ago
- Assignee changed from William Grzybowski to Brandon Schneider
- Target version changed from Backlog to 11.2-RC1
- Severity changed from New to Medium
Brandon thinks this might have been fixed for upcoming BETA3, we will investigate for RC1. If it keeps happening in BETA3 let us know, please.
#9
Updated by Brandon Schneider over 2 years ago
- Status changed from Unscreened to Blocked
#10
Updated by George Valenzuela over 2 years ago
I have just updated to Beta3 and am still seeing the same thing. Any imported jail or newly created jail disappears after a system restart.
#11
Updated by William Grzybowski over 2 years ago
- Status changed from Blocked to Unscreened
George Valenzuela wrote:
I have just updated to Beta3 and am still seeing the same thing. Any imported jail or newly created jail disappears after a system restart.
Please add a save debug from BETA3.
#12
Updated by Brandon Schneider over 2 years ago
- Status changed from Unscreened to Blocked
- Reason for Blocked changed from Waiting for feedback to Need additional information from Author
#13
Updated by George Valenzuela over 2 years ago
- File debug.tgz added
- Seen in changed from 11.2-BETA2 to 11.2-BETA3
I have captured the debug log in the new Beta 3 environment, as requested.
Please let me know if you require any further information.
#14
Updated by Dru Lavigne over 2 years ago
- Status changed from Blocked to Unscreened
- Reason for Blocked deleted (
Need additional information from Author)
#15
Updated by Brandon Schneider over 2 years ago
- Category changed from Middleware to GUI (new)
- Assignee changed from Brandon Schneider to Lola Yang
From what I can tell, you have two pools that have had iocage usage. gHome and rumford. My guess is the UI is automatically activating the first zpool it sees and that happens to be gHome until you manually solve it. Lola: Can you investigate please?
#16
Updated by George Valenzuela over 2 years ago
Brandon Schneider wrote:
From what I can tell, you have two pools that have had iocage usage. gHome and rumford. My guess is the UI is automatically activating the first zpool it sees and that happens to be gHome until you manually solve it. Lola: Can you investigate please?
Is there some way to delete or disable one using iocage commands? I can test to see if that gets around the problem. I'd also be interested in knowing if any of the others who reported seeing the same behaviour also have two zpools with iocage usage?
Thanks!
#17
Updated by Brandon Schneider over 2 years ago
- Category changed from GUI (new) to Middleware
- Status changed from Unscreened to In Progress
- Assignee changed from Lola Yang to Brandon Schneider
Result from investigation with Lola was that creating and activating the second pool is incorrectly shadowing the first one's mountpoint. I will investigate on my end, and then we will see where the work is needed.
#18
Updated by Brandon Schneider over 2 years ago
- Status changed from In Progress to Ready for Testing
- Needs Doc changed from Yes to No
- Needs Merging changed from Yes to No
George: You can run these commands in the interim to solved your issue
zfs inherit -r mountpoint gHome/iocage rumford/iocage
You can verify with zfs list that the two no longer are mounted on /mnt/iocage anymore. If you see any children datasets of iocage mounted at /mnt/iocage/<DATASET> then you will have to run that command for each of those as well.
#19
Updated by Dru Lavigne over 2 years ago
- File deleted (
debug-gCloud02-20180810233020.txz)
#20
Updated by Dru Lavigne over 2 years ago
- File deleted (
debug.tgz)
#21
Updated by Dru Lavigne over 2 years ago
- Subject changed from Any jail created through shell or UI disappears and cannot be restarted after a system restart. to Decomplicate things and just use pool/iocage as mount
- Private changed from Yes to No
#23
Updated by Jeff Ervin over 2 years ago
- File Screenshot-2018-10-3 FreeNAS - 10 231 4 231(6).png Screenshot-2018-10-3 FreeNAS - 10 231 4 231(6).png added
- File Screenshot-2018-10-3 FreeNAS - 10 231 4 231(5).png Screenshot-2018-10-3 FreeNAS - 10 231 4 231(5).png added
- Status changed from Ready for Testing to Passed Testing
- Needs QA changed from Yes to No
Test Passed FreeNAS-11.2-MASTER-201810020854
#24
Updated by George Valenzuela over 2 years ago
Brandon Schneider wrote:
George: You can run these commands in the interim to solved your issue
[...]You can verify with zfs list that the two no longer are mounted on /mnt/iocage anymore. If you see any children datasets of iocage mounted at /mnt/iocage/<DATASET> then you will have to run that command for each of those as well.
Is this something that should be run in the FreeNAS console? Can I use the shell on a running system? I get errors saying that the devices are busy.
#25
Updated by Dru Lavigne over 2 years ago
- Status changed from Passed Testing to Done