SOLVED All old jails CORRUPTED after latest updates 11.2

Aurimas N.

Dabbler
Joined
Nov 14, 2017
Messages
15
After installing latest updates for 11.2 stable, all my jails that were created prior 11.2 and were later converted from warden to iocage, now show as CORRUPTED. Any way to fix them or to rollback updates?
 
D

dlavigne

Guest
We have a couple of open tickets that we're investigating (they're currently private as the dev is reviewing reporters' debugs).
 

Aurimas N.

Dabbler
Joined
Nov 14, 2017
Messages
15
an error when trying to start jail:

Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_json.py", line 962, in json_check_config
with open(freebsd_version, "r") as r:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/zpool/iocage/releases/11.0-RELEASE/root/bin/freebsd-version'

During handling of the above exception, another exception occurred:

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 581, in start
iocage.start()
File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 1629, in start
conf = ioc_json.IOCJson(path, silent=self.silent).json_load()
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_json.py", line 419, in json_load
conf = self.json_check_config(conf)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_json.py", line 971, in json_check_config
'message': 'Exception:'
UnboundLocalError: local variable 'uuid' referenced before assignment
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1141, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1078, in _call
return await self._call_worker(serviceobj, name, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1105, in _call_worker
job,
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1036, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1021, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
UnboundLocalError: local variable 'uuid' referenced before assignment
 

rolfhartmut

Dabbler
Joined
Oct 22, 2011
Messages
28
Worked for me ! Thanks.
Typed it in u2 shell , then rebooted in u2-1 and all jails were up!
 
Top