The iocage list command displays all jails as not running and truncates the names. Also I can not use any name for commands like console, start and many more only the uuid works.
$ iocage --version
0.9.9.1 08/01/2017
[root@titan:/home/l33tname]$ iocage list
+-----+----------+-------+--------------+---------------+
| JID | NAME | STATE | RELEASE | IP4 |
+=====+==========+=======+==============+===============+
| - | aegir.l3 | down | 11.0-RELEASE | 192.168.17.14 |
+-----+----------+-------+--------------+---------------+
| - | helene.l | down | 11.0-RELEASE | 192.168.17.17 |
+-----+----------+-------+--------------+---------------+
| - | hyperion | down | 11.0-RELEASE | 192.168.17.15 |
+-----+----------+-------+--------------+---------------+
| - | narvi.l3 | down | 11.0-RELEASE | 192.168.17.13 |
+-----+----------+-------+--------------+---------------+
| - | pan.l33t | down | 11.0-RELEASE | 192.168.17.11 |
+-----+----------+-------+--------------+---------------+
| - | skoll.l3 | down | 11.0-RELEASE | 192.168.17.16 |
+-----+----------+-------+--------------+---------------+
| - | ymir.l33 | down | 11.0-RELEASE | 192.168.17.12 |
+-----+----------+-------+--------------+---------------+
[root@titan:/home/l33tname]$ iocage start aegir.l3
aegir.l3 not found!
[root@titan:/home/l33tname]$ iocage start aegir.l33t.network
aegir.l33t.network not found!
[root@titan:/home/l33tname]$ jls
JID IP Address Hostname Path
121 192.168.17.13 narvi.l33t.network /ssdboot/iocage/jails/38e6688a-90a8-4575-8431-5d517827c5ea/root
and more
Update fails also:
sudo iocage upgrade -r 11.1-RELEASE bd30b340-0854-45f0-9bf1-510e4986f5a6
Please rebuild all installed 3rd party software (e.g., programs
installed from the ports tree) and then run "/tmp/tmp0juovxyx install"
again to finish installing updates.
Installing updates... done.
No updates are available to install.
Run '/tmp/tmp0juovxyx fetch' first.
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/upgrade.py", line 91, in cli
root_path).upgrade_jail()
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_upgrade.py", line 97, in upgrade_jail
with open(self._freebsd_version, "r") as r:
FileNotFoundError: [Errno 2] No such file or directory: '/ssdboot/iocage/releases/11.1-RELEASE/root/bin/freebsd-version'
Actually I changed the name now to only hostnames which looks nicer and is less to type.
Thanks for all your help 👍
I assume that upgrade is also only fixed on the master branch but not in the
0.9.9.1
version