Can't access iocage jail after 11.2 upgrade

rwfitzy

Explorer
Joined
Nov 20, 2014
Messages
53
I just upgraded from 11.1-U7 to 11.2-U2.1 and all went well except this jail issue. It would not start until I went to the command line and received an error:

Code:
root@nas1:~ # iocage start monitor
monitor: bpf requires vnet=on!


So I did iocage set vnet=on monitor and it started OK:

Code:
root@nas1:~ # iocage set vnet=on monitor
Property: vnet has been updated to on
root@nas1:~ # iocage start monitor
* Starting monitor
  + Started OK
  + Configuring VNET OK
  + Starting services OK


But I cannot ping or access, I see only one potential issue with VNET when I do a restart:

Code:
root@nas1:~ # iocage restart monitor
* Stopping monitor
  + Running prestop OK
  + Stopping services OK
  + Tearing down VNET FAILED
  ifconfig: interface vnet0:1 does not exist
  + Refusing to remove protected devfs_ruleset: 5
  + Removing jail process OK
  + Running poststop OK
* Starting monitor
  + Started OK
  + Configuring VNET OK
  + Starting services OK


The NAS does use LAGG interfaces. The jail is still 11.1-RELEASE, is there something I can do to gain access and get working?
 
Last edited:

rwfitzy

Explorer
Joined
Nov 20, 2014
Messages
53
Okay, after I disabled VNET and BPF, the jail is back up and running. The upgrade went very well.
 

rwfitzy

Explorer
Joined
Nov 20, 2014
Messages
53
I did notice one thing, the primary NIC on the dashboard is reporting the IP address of the jail. While the NAS has an assigned address of .25 in our subnet, the dashboard is reporting .21, which is the IP of the iocage jail running on the NAS. However, all is working fine and IP addresses accessible as expected with interfaces reporting correctly in the network and jail.
 
Top