Paul van der Zwan
Dabbler
- Joined
- Oct 7, 2016
- Messages
- 29
Hi,
I just upgraded to 11.1-U4 ( from -U3) and iocage jails still seem to be very tricky.
After boot I need to create bridge0 manually and attach my lagg0 to it to get the bridge up and running.
But trying to start the iocage service I get a Read-only file system error, probably same error scrolls by when booting, and is shown when I run 'iocage list -t':
Starting each jail individually one at a time does seem to work.
Best regards,
Paul
I just upgraded to 11.1-U4 ( from -U3) and iocage jails still seem to be very tricky.
After boot I need to create bridge0 manually and attach my lagg0 to it to get the bridge up and running.
But trying to start the iocage service I get a Read-only file system error, probably same error scrolls by when booting, and is shown when I run 'iocage list -t':
Code:
root@freenas:~ # service iocage start * [I|O|C] starting jails... Traceback (most recent call last): File "/usr/local/bin/iocage", line 10, in <module> sys.exit(cli()) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/iocage/cli/start.py", line 51, in cli ioc.IOCage(exit_on_error=True, rc=rc, silent=True).start() File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 1596, in start self.__jail_order__("start") File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 172, in __jail_order__ path, exit_on_error=self.exit_on_error).json_load() File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 416, in json_load conf = self.json_check_config(conf) File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 1006, in json_check_config self.json_write(conf) File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 425, in json_write 'w') as out: File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__ return next(self.gen) File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_common.py", line 421, in open_atomic with tempfile(dir=os.path.dirname(os.path.abspath(filepath))) as tmppath: File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__ return next(self.gen) File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_common.py", line 384, in tempfile tf = tmp.NamedTemporaryFile(delete=False, suffix=suffix, dir=dir) File "/usr/local/lib/python3.6/tempfile.py", line 549, in NamedTemporaryFile (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type) File "/usr/local/lib/python3.6/tempfile.py", line 260, in _mkstemp_inner fd = _os.open(file, flags, 0o600) OSError: [Errno 30] Read-only file system: '/mnt/iocage/templates/template-20180224/tmp40ucr6bh'
Starting each jail individually one at a time does seem to work.
Best regards,
Paul