KeyError in disk.temperature_agg
Description
Steps to Reproduce
None
Expected Result
None
Actual Result
None
Environment
None
Hardware Health
None
Error Message (if applicable)
None
duplicates
relates to
Activity
Show:
Bug Clerk January 2, 2024 at 2:44 PM
23.10.1.1 PR: https://github.com/truenas/middleware/pull/12826
Automation for Jira December 27, 2023 at 2:01 PM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.
Bug Clerk December 27, 2023 at 2:01 PM
23.10.2 PR: https://github.com/truenas/middleware/pull/12808
Bug Clerk December 27, 2023 at 1:48 PM
Caleb December 22, 2023 at 2:32 PM
I’ve now seen this in 3 other debugs so this seems to be a common problem with 23.10.1, unfortunately.
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Reporter
Caleb
CalebAffects versions
Time remaining
0m
Original estimate
0m
Priority
High
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created December 21, 2023 at 6:43 PM
Updated January 19, 2024 at 8:28 PM
Resolved January 2, 2024 at 2:45 PM
[2023/12/21 02:51:08] (WARNING) application.call_method():237 - Exception while calling disk.temperature_agg(*[['sda', 'sdc', 'sdb', 'sdd', 'sde', 'sdf', 'nvme0n1'], 14]) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1353, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1251, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 181, in nf return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 50, in nf res = f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/disk_/temperature.py", line 133, in temperature_agg 'min': disk['aggregations']['min']['temperature_value'], ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ KeyError: 'temperature_value'
I’ve linked the ticket where this was seen.