Project

General

Profile

Bug #49007

Fix issue with jail IPv6 autoconfiguration in new UI

Added by Timothy Moore II almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Lola Yang
Category:
GUI (new)
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

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.

ui-migrated-jail-nosave.png (88.7 KB) ui-migrated-jail-nosave.png Timothy Moore II, 10/01/2018 04:57 AM
ui-jails-deleted-value-visible.png (68.9 KB) ui-jails-deleted-value-visible.png Timothy Moore II, 10/01/2018 04:59 AM
32639
32650

Related issues

Related to FreeNAS - Bug #48482: Add IPv6 Autoconfigure checkbox for jails to new UIDone

History

#1 Updated by Dru Lavigne almost 2 years ago

  • Target version changed from Backlog to 11.2-RC2

#2 Updated by Lola Yang almost 2 years ago

  • Related to Bug #48482: Add IPv6 Autoconfigure checkbox for jails to new UI added

#3 Updated by Lola Yang almost 2 years ago

  • Status changed from Unscreened to Closed

The added 'Auto Config IPv6' checkbox should fix this issue.

#4 Updated by Lola Yang almost 2 years ago

  • Status changed from Closed to Screened

Lola Yang wrote:

The added 'Auto Config IPv6' checkbox should fix this issue.

My mistake. That PR not fixed this issue. reopen this ticket.

#5 Updated by Lola Yang almost 2 years ago

  • Status changed from Screened to In Progress

#6 Updated by Dru Lavigne almost 2 years ago

  • File deleted (debug.tgz)

#7 Updated by Dru Lavigne almost 2 years ago

  • Private changed from Yes to No

#8 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Jail migration: UI doesn't save edits to a migrated jail to Fix issue with jail IPv6 autoconfiguration in new UI
  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#9 Updated by Timothy Moore II almost 2 years ago

Test Plan:

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.
Activate iocage
Open shell and run

migrate_warden.py
on 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

Testing:

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.

#11 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF