tomaae / homeassistant-truenas

TrueNAS integration for Home Assistant
Apache License 2.0
183 stars 16 forks source link

[Bug] Integration fails for TrueNAS Cobia #127

Closed tedlefter closed 9 months ago

tedlefter commented 9 months ago

Describe the issue

After upgrading TrueNAS to Cobia, the integration stopped working.

Another issue to mention is that this failure repeats over an over again filling up the disk space with logs. I suggest adding a delay to the retry and give up after a certain amount of failed attempts, and let the user re-initiate a retry from the UI.

How to reproduce the issue

Steps to reproduce the behavior:

  1. Upgrade TrueNAS to Cobia release
  2. Configure integration
  3. See error

Expected behavior

Integration should configure successfully

Screenshots

Software versions

Diagnostics data

Traceback/Error logs

The failure logs are printed constantly filling up the disk.

TrueNAS 192.168.12.12 unable to fetch data "reporting/get_data" (500) 09:36:05 – (WARNING) TrueNAS (custom integration) - message first occurred at 09:33:34 and shows up 645 times TrueNAS 192.168.12.12 fetching following graphs failed, check your NAS: ['load', 'cpu', 'arcsize', 'arcratio', 'memory', 'interface', 'cpu', 'arcratio', 'interface', 'cpu', 'arcratio', 'interface', 'cpu', 'arcratio', 'interface', ...] 09:34:31 – (WARNING) TrueNAS (custom integration) - message first occurred at 09:33:34 and shows up 160 times

Additional context

Reidicus commented 9 months ago

Same issue here when I upgraded last night. Errors and very large log file. image Untitled

mikeluyten commented 9 months ago

See #102

tomaae commented 9 months ago

duplicate #102