Nicola Worthington
Cadet
- Joined
- Nov 27, 2015
- Messages
- 4
I'm running FreeNAS-9.3-STABLE-201512121950 on a dual CPU Intel(R) Xeon(R) CPU E5-2603 v2 @ 1.80GHz machine with 81861MB of RAM. There is very low usage of this machine as it is a home media and storage server.
I have a mirrored SSD pool called "jails" for my jails to be installed on:
brienne# zpool status jails
pool: jails
state: ONLINE
scan: scrub repaired 0 in 0h11m with 0 errors on Sun Dec 13 00:11:21 2015
config:
NAME STATE READ WRITE CKSUM
jails ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/71ea795a-809a-11e5-884a-0cc47a546fcc ONLINE 0 0 0
gptid/7223d49f-809a-11e5-884a-0cc47a546fcc ONLINE 0 0 0
errors: No known data errors
brienne#
brienne# warden template list
Jail Templates:
------------------------------
VirtualBox-4.3.12 - FreeBSD (amd64)
pluginjail - FreeBSD (amd64)
standard - FreeBSD (amd64)
brienne#
brienne# zfs list -t snapshot | grep clean
jails/jails/.warden-template-VirtualBox-4.3.12@clean 80K - 661M -
jails/jails/.warden-template-pluginjail@clean 96K - 449M -
jails/jails/.warden-template-standard@clean 88K - 1.59G -
brienne#
brienne# ls /mnt/jails/jails/.warden-template-pluginjail
.cshrc COPYRIGHT dev libexec proc sbin usr
.plugins bin etc media rescue sys var
.profile boot lib mnt root tmp
brienne#
I have successfully installed plugins before, and am running a few jails. However today I tried installing the ownCloud and firefly plugins, but I get the following error when doing so:
Jan 7 18:03:18 brienne warden: Building new Jail... Please wait...
Jan 7 18:03:18 brienne warden: zfs clone jails/mnt/jails/jails/.warden-template-pluginjail@clean jails/jails/owncloud_1
Jan 7 18:03:18 brienne warden: ERROR: Failed creating clean ZFS base clone
Jan 7 18:03:18 brienne manage.py: [middleware.exceptions:37] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/jails/jails/owncloud_1/.plugins/PLUGIN']
I am not aware of having done anything strange or unusual on this machine recently. I have tried rebooting and trying to install the plugin through the web UI again, but I still get the same error.
To my untrained eye it looks like the GUI is executing the wrong zfs clone command, because jails/mnt/jails/jails/.warden-template-pluginjail@clean doesn't exist. Surely it means the following instead: jails/jails/.warden-template-pluginjail@clean ?
For example, if I execute the command from the log output above, manually on the command line:
So if I test my theory by correcting this command, the zfs clone of the warden template works:
brienne# zfs clone jails/jails/.warden-template-pluginjail@clean jails/jails/owncloud_1
brienne# ls /mnt/jails/jails/owncloud_1/
.cshrc COPYRIGHT dev libexec proc sbin usr
.plugins bin etc media rescue sys var
.profile boot lib mnt root tmp
brienne#
The jail root is set to /mnt/jails/jails under the jails configuration page in the GUI.
Am I doing something silly? It feels to me like there has been a bug introduced in to the most recent update maybe?
Any help here would be greatly appreciated.
Thanks!
I have a mirrored SSD pool called "jails" for my jails to be installed on:
brienne# zpool status jails
pool: jails
state: ONLINE
scan: scrub repaired 0 in 0h11m with 0 errors on Sun Dec 13 00:11:21 2015
config:
NAME STATE READ WRITE CKSUM
jails ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/71ea795a-809a-11e5-884a-0cc47a546fcc ONLINE 0 0 0
gptid/7223d49f-809a-11e5-884a-0cc47a546fcc ONLINE 0 0 0
errors: No known data errors
brienne#
brienne# warden template list
Jail Templates:
------------------------------
VirtualBox-4.3.12 - FreeBSD (amd64)
pluginjail - FreeBSD (amd64)
standard - FreeBSD (amd64)
brienne#
brienne# zfs list -t snapshot | grep clean
jails/jails/.warden-template-VirtualBox-4.3.12@clean 80K - 661M -
jails/jails/.warden-template-pluginjail@clean 96K - 449M -
jails/jails/.warden-template-standard@clean 88K - 1.59G -
brienne#
brienne# ls /mnt/jails/jails/.warden-template-pluginjail
.cshrc COPYRIGHT dev libexec proc sbin usr
.plugins bin etc media rescue sys var
.profile boot lib mnt root tmp
brienne#
Jan 7 18:03:18 brienne warden: Building new Jail... Please wait...
Jan 7 18:03:18 brienne warden: zfs clone jails/mnt/jails/jails/.warden-template-pluginjail@clean jails/jails/owncloud_1
Jan 7 18:03:18 brienne warden: ERROR: Failed creating clean ZFS base clone
Jan 7 18:03:18 brienne manage.py: [middleware.exceptions:37] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/jails/jails/owncloud_1/.plugins/PLUGIN']
To my untrained eye it looks like the GUI is executing the wrong zfs clone command, because jails/mnt/jails/jails/.warden-template-pluginjail@clean doesn't exist. Surely it means the following instead: jails/jails/.warden-template-pluginjail@clean ?
For example, if I execute the command from the log output above, manually on the command line:
brienne# zfs clone jails/mnt/jails/jails/.warden-template-pluginjail@clean jails/jails/owncloud_1
cannot open 'jails/mnt/jails/jails/.warden-template-pluginjail@clean': dataset does not exist
brienne#
cannot open 'jails/mnt/jails/jails/.warden-template-pluginjail@clean': dataset does not exist
brienne#
So if I test my theory by correcting this command, the zfs clone of the warden template works:
brienne# zfs clone jails/mnt/jails/jails/.warden-template-pluginjail@clean jails/jails/owncloud_1
cannot open 'jails/mnt/jails/jails/.warden-template-pluginjail@clean': dataset does not existbrienne# zfs clone jails/jails/.warden-template-pluginjail@clean jails/jails/owncloud_1
brienne# ls /mnt/jails/jails/owncloud_1/
.cshrc COPYRIGHT dev libexec proc sbin usr
.plugins bin etc media rescue sys var
.profile boot lib mnt root tmp
brienne#
The jail root is set to /mnt/jails/jails under the jails configuration page in the GUI.
Am I doing something silly? It feels to me like there has been a bug introduced in to the most recent update maybe?
Any help here would be greatly appreciated.
Thanks!
Last edited: