Python error in web gui on fresh install

Just did a fresh install on a new system and am getting the following when switching to the storage pane.

invalid literal for int() with base 10: ‘’

Expanded gives the following -

 Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 198, in call_method
    result = await self.middleware.call_with_audit(message['method'], serviceobj, methodobj, params, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1466, in call_with_audit
    result = await self._call(method, serviceobj, methodobj, params, app=app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1417, in _call
    return await methodobj(*prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 187, in nf
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 47, in nf
    res = await f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/smart.py", line 637, in results
    await asyncio_map(functools.partial(annotate_disk_smart_tests, self.middleware, tests_filter),
  File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 19, in asyncio_map
    return await asyncio.gather(*futures)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 16, in func
    return await real_func(arg)
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/smart.py", line 33, in annotate_disk_smart_tests
    tests = parse_smart_selftest_results(output) or []
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/smart.py", line 52, in parse_smart_selftest_results
    "lifetime": int(line[60:68].strip()),
                ^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''

Interesting to note this does not occur if all the drives are popped out.

I have tried installing a couple of times. scaling back to the 24.04.1.1 then upgrading to the latest stable, same result.

Sysem info as follows -

Intel I5 12400
ASUS H610-PLUS D4
64GB RAM
24 2TB SSDs
LSI 9305-24i latests firmware/bios i could find

Will provide anything else you guys think is relevant.

I’ve gone ahead and submitted a bug report for it, just kind of curious if anyone has seen this before?

Wasn’t able to find with search.

Thanks!

Did you validate the downloaded ISO checksum before installing?

I hadn’t but just did. It checks out ok.

Please create a bug report, I am not aware of existing open issues.

That’s done and all submitted here

https://ixsystems.atlassian.net/browse/NAS-130599

Another thing interesting to note, I was messing around with some old drives I had in a closet and some spare parts and set up another instance of the same version , however only with 6 drives and didn’t get the error at all. I wonder if it could be just the number of drives present that is making things wonky.

Anyone have a scale install with 24+ drives ?

I have 26 spinners, 1 SATA SSD, and 2 NVMe SSDs in mine. No problems.

Hrm, okie…maybe that’s a red herring then :slight_smile: