Jails do not auto-start on boot

Eric Blau

Dabbler
Joined
Dec 13, 2015
Messages
25
I'm having a problem on both FreeNAS 11.2-U2 and also on 11.2-U3 where my jails do not auto-start on boot. If I log in to the web interface and check on them after rebooting, all three of my jails show down, despite being configured to auto-start.

If I manually try to start a single jail, I get the following exception:

Error: concurrent.futures.process._RemoteTraceback:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 128, in main_worker
res = loop.run_until_complete(coro)
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 88, in _run
return await self._call(f'{service_name}.{method}', serviceobj, methodobj, params=args, job=job)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 81, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 81, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 609, in start
iocage.start()
File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 1663, in start
callback=self.callback
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_start.py", line 66, in __init__
self.__start_jail__()
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_start.py", line 491, in __start_jail__
_callback=self.callback)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 90, in logit
_callback(content, exception)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 64, in callback
raise callback_exception(message)
RuntimeError:
Stopped binsb due to VNET failure



If I bulk select all of the jails and click "Start", two out of my three jails start successfully while the third stays down. I have to manually start the last jail by itself and then it finally starts properly.

Any idea what could be going on here or how I can debug this further? Thanks.
 

Eric Blau

Dabbler
Joined
Dec 13, 2015
Messages
25
Debug file after the failure and after successfully restarting the jails manually as described above.
 

Attachments

  • debug-freenas-20190406142247.tgz
    1.3 MB · Views: 378
Top