Jailer
Not strong, but bad
- Joined
- Sep 12, 2014
- Messages
- 4,977
TLDR version;
Stop all warden jails
Activate iocage
Run the script
And the rest of the story..
Well I have the day off work today and I'm kind of bored. I haven't seen a post yet where anyone has tried out the migration script so I figured I'd spin up a fresh 11.1 install in virtualbox and give it a try. I still have one warden jail left standing on my FreeNAS box so this is also a test for me to see how it goes.
This will be a simple test. The VM has just a basic 2 disk pool named "tank", no shares and no users. I have SSH enabled and not much else. To test this out I created a standard jail and installed a FEMP stack and I installed the Transmission plugin as well since that seems to be one that several users run. Nothing is configured on either of these jails, they were just both verified as working after install.
Before running the script I activated iocage by running
Hmm, I did that already but ok so I ran
So I tried again using what I found but I wanted to see if it would migrate both at once so I ran it without specifying a jail name by running
And still no networking. They have the assigned IP address listed and they are running but can't be reached in or out by ping or hostname. And this is where I'm stuck and not able to go further.
In summary, the script works but networking via static IP is broken.
Stop all warden jails
Activate iocage
Run the script
migrate_warden.py <-v> -j <jail> -p <iocage-pool>
And the rest of the story..
Well I have the day off work today and I'm kind of bored. I haven't seen a post yet where anyone has tried out the migration script so I figured I'd spin up a fresh 11.1 install in virtualbox and give it a try. I still have one warden jail left standing on my FreeNAS box so this is also a test for me to see how it goes.
This will be a simple test. The VM has just a basic 2 disk pool named "tank", no shares and no users. I have SSH enabled and not much else. To test this out I created a standard jail and installed a FEMP stack and I installed the Transmission plugin as well since that seems to be one that several users run. Nothing is configured on either of these jails, they were just both verified as working after install.
Before running the script I activated iocage by running
iocage activate tank
. No other configuration was done to iocage. After that I switched trains to 11.2-beta1 and ran the update. After reboot I checked and both jails were still funtional so I ran the script by running migrate_warden.py
and was greeted with the error:Code:
Must specify the destination pool for iocage!
Hmm, I did that already but ok so I ran
iocage activate tank
again and tried again. Same error. I figured I'd take a look at the script and I found a print operation that listed some switches and the syntax for the scriptCode:
migrate_warden.py <-v> -j <jail> -p <iocage-pool>
So I tried again using what I found but I wanted to see if it would migrate both at once so I ran it without specifying a jail name by running
migrate_warden.py -v -p tank
. Aaakk! Another error. The jails are running and have to be stopped first. So log out of the new UI and log back in the old UI and stop the jails and try again. This time it worked. Both jails were migrated and appepar in the GUI under the jails page and via the CLI with iocage list
. Unfortunately networking is still broken and neither one is reachable so I added the tunables mentioned in this thread and reboot the VM.Code:
Variable : cloned_interfaces Value : bridge0 Type: rc Variable : ifconfig_bridge0 Value : addm em0 up Type: rc
And still no networking. They have the assigned IP address listed and they are running but can't be reached in or out by ping or hostname. And this is where I'm stuck and not able to go further.
In summary, the script works but networking via static IP is broken.
Last edited: