Fix issue with jail IPv6 autoconfiguration in new UI
I'm testing jail migration from warden to iocage by creating FreeNAS 11.1-U5 VM, creating multiple warden jails, updating the VM to FN 11-Nightlies, and doing jail migrations.
After migrating jail test1-dhcp-ipv6, I go to the Jails page and attempt to Edit the migrated jail. The form displays a "grayed out" SAVE button (screenshot). I removed the value in the IPv6 Address field and the SAVE button becomes active. I click SAVE and return to the Jails view. The deleted value still appears in the list (screenshot). I Edit the jail again and see the previously deleted value in the form. I delete the value again, remove the IPv6 Interface, set DHCP, VNET, and BPF, and click SAVE. The DHCP, VNET, and BPF settings are saved, the IPv6 field changes are not. Continued testing with making adjustments to the jail shows that all other settings appear to save properly, but the IPv6 Interface, IPv6 Address, and IPv6 Prefix fields keep snapping back to their previous values.
#9 Updated by Timothy Moore II almost 2 years ago
Create FreeNAS 11.1U5 VM and take snapshot after install is done.
Create a Warden jail with DHCP and IPv6 autoconfigure.
Upgrade the system to INTERNAL27.
Open shell and run
migrate_warden.pyon the Warden jail to convert it to an iocage jail.
Go to the Jails page and confirm the migrated jail is visible, can be edited, and the DHCP and IPv6 autoconfigure settings are migrated properly.
#10 Updated by Timothy Moore II almost 2 years ago
- Status changed from Ready for Testing to Passed Testing
- Needs QA changed from Yes to No
Install FreeNAS 11.1U5 in a new VM.
Set global jail config to the single pool and leave autoset DHCP and IPv6 unset.
Create jail warden1-dhcp-ipv6 with FreeBSD 11.0-RELEASE and DHCP + IPv6 autoconfig set locally.
Create jail warden2-nodhcp-noipv6 with FreeBSD 11.0-RELEASE and all automatic configuration options unset.
Upgrade the VM to FreeNAS INTERNAL27.
Migrate both jails to iocage with
migrate_warden.py -j warden-jail -p pool-name
Go to Jails page and edit "warden1-dhcp-ipv6". Confirm IPv6 Autoconfigure setting was migrated properly and the form Save and Cancel buttons are active.