Project

General

Profile

Bug #45750

Updated by William Grzybowski over 2 years ago

<pre>
RuntimeError: Please specify a pool to activate with iocage activate POOL
File "middlewared/main.py", line 155, in call_method
result = await self.middleware.call_method(self, message)
File "middlewared/main.py", line 1033, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "middlewared/main.py", line 970, in _call
return await self._call_worker(serviceobj, name, *args)
File "middlewared/main.py", line 997, in _call_worker
job,
File "middlewared/main.py", line 928, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "middlewared/main.py", line 913, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
</pre>

Traceback above happens when calling:

<pre>
{
'id': '7479a34d-1573-5942-3c90-d62a5eedf9fd',
'method': 'jail.list_resource',
'msg': 'method',
'params': [
'PLUGIN',
True
]
}
</pre>

We need to figure out why this method is being called if it should not be.
If not why do we need iocage configure while listing plugins.

https://sentry.ixsystems.com/ixsystems/freenas-middleware/issues/12763/

Back