SOLVED Sickbeard - Failed creating clean ZFS base clone

Status
Not open for further replies.

Richard Durso

Explorer
Joined
Jan 30, 2014
Messages
70
I have an existing jail for sabnzdb which has been working fine for months. Tried to add a second jail and it fails with this message on the screen header:

Error: Failed to install plugin: cannot open 'main/jails/.warden-template-pluginjail@clean': dataset does not exist ERROR: Failed creating clean ZFS base clone


[root@freenas /mnt/main/jails]# tail warden.log
Building new Jail... Please wait...
zfs clone main/jails/.warden-template-pluginjail@clean main/jails/sickbeard_1
ERROR: Failed creating clean ZFS base clone


[root@freenas /mnt/main/jails]# ls -l
total 157
drwxr-xr-x 3 www www 3 Jan 26 13:00 .plugins
drwxr-xr-x 2 root wheel 19 Jan 26 15:59 .sabnzbd_1.meta
drwxr-xr-x 2 root wheel 3 Jun 7 00:52 .sickbeard_1.meta
drwxr-xr-x 4 root wheel 4 Jan 26 13:00 .warden-files-cache
drwxr-xr-x 18 root wheel 22 Jan 26 13:00 .warden-template-pluginjail
drwxr-xr-x 18 root wheel 22 Jan 26 13:00 sabnzbd_1
-rw-r--r-- 1 root wheel 158 Jun 7 01:23 warden.log


FreeNas 9.2.1.3 - NAS Hardware Specs:
Supermicro MB (MBD-X10SLM-F-O R) with Intel Core i3-4130 (Haswell), Dual Core 2.9 GHz, Intel HD graphics 4400and 32GB DDR3 1600 Mhz ECC RAM. 4 x 4TB WD RED NAS Drives.
 

Richard Durso

Explorer
Joined
Jan 30, 2014
Messages
70
Possible. Same error message. The title of that bug says "Rebuilt plug-ins can not be installed". I'm not sure what the "rebuilt" part is. I haven't done that, not sure if that implies some system process (such as upgrade from 9.2.0.0 to 9.2.1.3) rebuilt them.
 
D

dlavigne

Guest
I think that bug refers to the newest version of the plugins as many were recently updated.
 

Richard Durso

Explorer
Joined
Jan 30, 2014
Messages
70
I deleted my existing jails & plugins using the GUI. Removed the jails dataset and recreated it.

Then I reinstalled my existing jails and was able to install the Sickbeard jail I was having a problem with.

[rich@freenas] /mnt/main/jails# tail warden.log
Building new Jail... Please wait...
zfs clone main/jails/.warden-template-pluginjail@clean main/jails/sickbeard_1
Success!
Jail created at /mnt/main/jails/sickbeard_1
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
I'm having this same problem. I don't think it's plug-in related though. At first it was, but then I tried to just create a new jail on a new 9.3 install and updated version. It downloaded the freenas-9.3.tgz (something or other), and then I get this error in the console:

This was the original error when tring to install a plugin for the first time:
Code:
Jun 10 15:39:26 freenas2 manage.py: [middleware.exceptions:38] [MiddlewareError: Unable to find template!]
Jun 10 15:42:33 freenas2 ix-warden: zfs set mountpoint=none tank/jails/.warden-template-pluginjail
Jun 10 15:42:33 freenas2 notifier: cannot open 'tank/jails/.warden-template-pluginjail': dataset does not exist
Jun 10 15:42:33 freenas2 ix-warden: zfs set mountpoint=none tank/jails/.warden-template-standard
Jun 10 15:42:33 freenas2 notifier: cannot open 'tank/jails/.warden-template-standard': dataset does not exist
Jun 10 16:03:50 freenas2 notifier: Stopping collectd.
Jun 10 16:03:52 freenas2 notifier: Waiting for PIDS: 70693.
Jun 10 16:03:52 freenas2 notifier: Starting collectd.
Jun 10 16:04:08 freenas2 notifier: Stopping collectd.
Jun 10 16:04:12 freenas2 notifier: Waiting for PIDS: 49324.
Jun 10 16:04:12 freenas2 notifier: Starting collectd.
Jun 10 16:14:13 freenas2 warden: Building new Jail... Please wait...
Jun 10 16:14:13 freenas2 warden: zfs clone tank/mnt/tank/jails/.warden-template-pluginjail@clean tank/jails/sonarr_1
Jun 10 16:14:13 freenas2 warden: ERROR: Failed creating clean ZFS base clone
Jun 10 16:14:13 freenas2 manage.py: [middleware.exceptions:38] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/tank/jails/sonarr_1/.plugins/PLUGIN']


And this is just trying to install a jail for the first time:
Code:
Jun 10 16:55:58 freenas2 warden: Building new Jail... Please wait...
Jun 10 16:55:59 freenas2 warden: zfs clone tank/mnt/tank/jails/.warden-template-standard@clean tank/jails/test1
Jun 10 16:55:59 freenas2 warden: ERROR: Failed creating clean ZFS base clone
 
Status
Not open for further replies.
Top