SOLVED Unable to install plugins

jbranlizrd

Cadet
Joined
Jun 14, 2021
Messages
5
Can't install plugins. On the "Choose pool for plugins and jail storage", I select "Storage" as my dataset pool. It then gives me this error.

CallError
[EFAULT] Failed to activate Storage : cannot open 'Storage': dataset does not exist


Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/zfs.py", line 20, in run
    cp.check_returncode()
  File "/usr/local/lib/python3.9/subprocess.py", line 460, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['zfs', 'get', '-H', '-o', 'name,property,value', '-t', 'filesystem', 'all', 'Storage', 'boot-pool']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/jail_freebsd.py", line 1467, in activate
    iocage.activate(pool['name'])
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/iocage.py", line 379, in activate
    pool.deactivate_pool()
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/pools.py", line 51, in deactivate_pool
    Dataset(self.name, cache=self.cache).set_property(
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/dataset.py", line 38, in __init__
    self._properties = deepcopy(cache.datasets.get(self.resource_name))
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/cache.py", line 72, in datasets
    ioc_pool = self.iocage_activated_pool_internal(lock=False)
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/cache.py", line 42, in iocage_activated_pool_internal
    all_properties([p for p in pools], types=['filesystem'])
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/zfs.py", line 72, in all_properties
    data = run([
  File "/usr/local/lib/python3.9/site-packages/iocage_lib/zfs.py", line 22, in run
    raise ZFSException(cp.returncode, cp.stderr)
iocage_lib.zfs.ZFSException: cannot open 'Storage': dataset does not exist


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 137, in call_method
    result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1209, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1113, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 977, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/jail_freebsd.py", line 1469, in activate
    raise CallError(f'Failed to activate {pool["name"]}: {e}')
middlewared.service_exception.CallError: [EFAULT] Failed to activate Storage : cannot open 'Storage': dataset does not exist
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Can you get it to work if you go to the shell and use iocage activate Storage
 

jbranlizrd

Cadet
Joined
Jun 14, 2021
Messages
5
nas.jpg
 

jbranlizrd

Cadet
Joined
Jun 14, 2021
Messages
5
I backed up my data and deleted the pool. Created new pools and I'm good to go!

Marking as Resolved!
 
Top