Closed Aephir closed 1 month ago
I'm seeing the same error logs. My versions are below:
same here
Core 2024.5.2
Supervisor 2024.05.1
Operating System 12.2
Truenas v1.3b2```
had same issue, see here: https://github.com/tomaae/homeassistant-truenas/issues/154
I believe it was from a bug in 24.04.0 of TrueNAS related to swap memory
I believe it was from a bug in 24.04.0 of TrueNAS related to swap memory
I disabled swap and have core v13, so 😕
I need to see debugs for this one.
The debug log is massive, just the part from HA restart up until the first "ERROR" log containing truenas
or TrueNAS
is too large to add either here, (p/h)astebin, or https://gist.github.com/.
I've instead added from the first "ERROR", and about 90 seconds back. Is this helpful?
looks like you have issue with truenas reporting. check it in truenas UI.
I'm not really sure what to look for in TrueNAS UI? There's nothing in the alerts, could you suggest what to keep an eye out for?
Just to clarify, I haven't updated TrueNAS between when it worked and when HA started reporting errors, only the HA side has been updated.
Check if graph reports in truenas are working. That usually translates into such issues with API.
I am also having this issue and it appears from the HA logs that the code is timing out when pulling "pool/dataset" from the API calls on my machine. I did some tests and for some reason that particular API call does return but on my system is averaging over 10.30s....closer to 11, but the HA logs show the "Warning" message returning around 10s, so not enough time.
Snippet from logs: 2024-07-18 18:06:05.983 DEBUG (SyncWorker_11) [custom_components.truenas.api] TrueNAS 192.168.69.67 query: pool/dataset, get, {} 2024-07-18 18:06:15.999 WARNING (SyncWorker_11) [custom_components.truenas.api] TrueNAS 192.168.69.67 unable to fetch data "pool/dataset" (no_response) 2024-07-18 18:06:16.000 DEBUG (MainThread) [custom_components.truenas.coordinator] Finished fetching Keyz-Nas data in 10.481 seconds (success: False)
I am running HA: Core - 2024.7.2 Supervisor - 2024.06.2 Operating System - 12.4 Frontend - 20240710.0
TrueNas Scale : Dragonfish-24.04.2
Thanks for all your great work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue was closed because it has been stalled for 5 days with no activity.
Describe the issue
I have used this integration for quite a while now, but recently I've started to get multiple error logs about:
It seems to log approximately every 10-20 minutes and be offline for 4-6 minutes, but not exact enough to be systematic. Also, it seems to mostly work, it just disconnects every now and then (see e.g. the history for the
binary_sensor.truenas_boot_pool_healthy
under "screenshots")How to reproduce the issue
Not sure, I just stated noticing a week or so ago. As far as I remember, I haven't changed anything on the TrueNAS side.
Expected behavior
No errors or disconnects.
Screenshots
Software versions
Traceback/Error logs
I see this repeat:
I tried setting the log level to debug, but didn't notice anything suspicious (aside from the errors). However, there was a LOT of logging, just about fetching data etc.
Additional context
I don't see anything in the TrueNAS logs that could explain either. Last unscheduled system reboot was ~5 months ago, and everything in the logs since then is about scrubbing of pools.