Creating a Jail

Status
Not open for further replies.

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
After a few failed attempts thought I'd have another go and updating the owncloud plugin (I was still running 5.12) and it appeared to work ok. Couldn't access the owncloud service though, and given I'd prepared myself for deleting and reinstalling it I removed the broken plugin.

When I tried to reinstall it I got the following errors:

py.warnings:613] /usr/local/www/freenasUI/../freenasUI/jails/utils.py:613: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 raise MiddlewareError(e.message)
Jun 14 19:41:28 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz: Not Found ERROR: Failed extracting: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz cannot open 'APE_pool/jails/.warden-template-pluginjail': dataset does not exist ERROR: Failed to create ZFS base dataset ]

Not a problem, as I'd also considered installing manually using one of the forum guides, so went to install a standard jail and got a similar error message

http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-standard-9.2-RELEASE.tgz: Not Found ERROR: Failed extracting: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-standard-9.2-RELEASE.tgz cannot open 'APE_pool/jails/.warden-template-standard': dataset does not exist ERROR: Failed to create ZFS base dataset

Looks like both attempts are failing because a file can't be found at cdn.freenas.org/9.2.0.RELEASE/x64/jails/ which I though was weird as I'd updated FreeNAS to 9.2.1.5.

Any ideas?
 

SmallGuy

Guru
Joined
Jun 7, 2013
Messages
560
Looks like both attempts are failing because a file can't be found at cdn.freenas.org/9.2.0.RELEASE/x64/jails/ which I though was weird as I'd updated FreeNAS to 9.2.1.5.

Any ideas?
This because your jail has been created under 9.2.0, your template is base on 9.2.0 version.
Look at this: https://bugs.freenas.org/issues/4680
I meet this behavior trying to install an Ubuntu jail and solve it adding in /etc/hosts file:
Code:
64.62.136.38 cdn.freenas.org

Not sure this IP works for you but other are available in the ticket.
[edit]I think you can also modify your template to point to the jails and plugins for the Freenas version you use.[edit]
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
That's great, thanks!
 
Status
Not open for further replies.
Top