NAS API Error - Can't view Storage

Description

Hi there

I've just installed TrueNas Commander.

We'll I've rebuilt the VM a few times just to make sure I didn't do the build incorrectly.

Would be great to get this resolved as we have about another 8 units we'd like to add.

I've added one of my Free/TrueNas devices, it connects as It's pulling the name, version and hardware info but that's it. Nothing else is reporting.
When i click on the Nas name to view all the detatils I get this error

NAS API error

{ "name": "response", "namespace": "direct/message", "id": "bdb1940e-f26e-c08d-1f41-143d097ada1d", "args": { "id": "bdb1940e-f26e-c08d-1f41-143d097ada1d", "error": { "error": 22, "extra": null, "reason": "[limit] Field was not expected", "trace": { "class": "Error", "formatted": "Traceback (most recent call last):
File \"/usr/local/lib/python3.6/site-packages/middlewared/main.py\", line 165, in call_method
result = await self.middleware.call_method(self, message)
File \"/usr/local/lib/python3.6/site-packages/middlewared/main.py\", line 1107, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File \"/usr/local/lib/python3.6/site-packages/middlewared/main.py\", line 1069, in _call
return await run_method(methodobj, *args)
File \"/usr/local/lib/python3.6/site-packages/middlewared/main.py\", line 983, in _run_in_conn_threadpool
return await self.run_in_executor(self.__threadpool, method, *args, **kwargs)
File \"/usr/local/lib/python3.6/site-packages/middlewared/main.py\", line 971, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File \"/usr/local/lib/python3.6/concurrent/futures/thread.py\", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File \"/usr/local/lib/python3.6/site-packages/middlewared/schema.py\", line 667, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File \"/usr/local/lib/python3.6/site-packages/middlewared/schema.py\", li

Activity

Ken Moore 
October 15, 2021 at 12:50 PM

TC should be able to "initialize" the upgrades on the NAS with one caveat - it will not automatically switch update "trains" on the NAS for you, just let you update on the existing train.

With the 11.3 -> 12 upgrade, I cannot remember exactly but I think you need to switch the update train in the NAS interface first.

Jeffrey Makuch 
October 13, 2021 at 11:04 PM

Hi Ken

I didn't realise V2 was only compatible with TrueNASv12-U3
Will need to do some upgrading on a few systems to get this working.

Not sure I've looked deep enough into Commander.
Does it/Will it Manage upgrades?

Ken Moore 
October 11, 2021 at 3:36 PM

Could you please confirm the version of the NAS that you are trying to manage?

FreeNAS (11.3) Is not officially supported by TrueCommand 2+ outside of basic connection and host info. For features such as the storage viewer and other storage management functionality (clustering, ISCSI, etc), you need to be using TrueNAS 12.0-U3 or newer.

Done

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created October 10, 2021 at 11:08 PM
Updated July 6, 2022 at 8:57 PM
Resolved November 2, 2021 at 5:59 PM