jails stopped responding after unexpected power outage

gunnahafta

Dabbler
Joined
Nov 5, 2018
Messages
32
I have 12 jails on my TrueNas all configured to use vnet and their own vnet interface (vnet0). This was like this for months and worked happily no issues.

Today there was a power outage causing the TrueNas to go down. Once it came back up while all the jails appeared to be up and running none of them would respond on the network. The managements URL's for each one just times out and even the IP's of the jail would not respond to pings.

I messed around a while but couldn't figure it out until I turned of vnet on them and assigned them the on interface I have in the chassis. They all (bar one) where now accessible.

2 things:

1. Why did that happen?
2. One of my jails refuses to start the application service due to configuration being dependent on the interface configuration. I'd prefer to avoid having to rebuild it now without vnet. Any way I can fix what broke in the first place and hopefully the services in jail will start working again.
 

homer27081990

Patron
Joined
Aug 9, 2022
Messages
321
Is you TrueNAS configured via DHCP? And did you put the VMs in the same subnet? And did you configure the default gateway for the VMs with the TrueNAS IP? If so, did the TrueNAS machine get a new IP after the reboot?
 

gunnahafta

Dabbler
Joined
Nov 5, 2018
Messages
32
Fixed it but don't know why this was the issue. Sometime in the past I had created a bridge interface but never associated the Jails with this. I deleted the bridge interface, changed the jails from using physical interface back to a vnet interface it was before the unscheduled reboot and it worked again.

Even the jail that refuses to start properly because of the interface reliance in the service config came back after this.
 

homer27081990

Patron
Joined
Aug 9, 2022
Messages
321
Fixed it but don't know why this was the issue. Sometime in the past I had created a bridge interface but never associated the Jails with this. I deleted the bridge interface, changed the jails from using physical interface back to a vnet interface it was before the unscheduled reboot and it worked again.

Even the jail that refuses to start properly because of the interface reliance in the service config came back after this.
Nice! Don't forget to mark as sloved (edit thread->prefix->solved).
 
Top