Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Exception in async_update_controller when dispatching 'update_sensors': custom_components.portainer.coordinator.PortainerCoordinator #169

Closed
u2597511 opened this issue Aug 30, 2024 · 5 comments
Labels
bug Something isn't working stale

Comments

@u2597511
Copy link

Describe the issue

Exception in async_update_controller when dispatching 'update_sensors': custom_components.portainer.coordinator.PortainerCoordinator

How to reproduce the issue

Add TrueNAS and Portainer integration.

Expected behavior

Screenshots

Software versions

  • Home Assistant version: 2024.8.3
  • TrueNAS integration version: 1.2..5
  • TrueNAS version: TrueNAS-13.0-U6.2
  • Portainer integration version: 1.0.2
  • Portainer Community Edition 2.19.5

Diagnostics data

Traceback/Error logs

2024-08-30 10:46:01.764 ERROR (MainThread) [homeassistant.util.logging] Exception in async_update_controller when dispatching 'update_sensors': (<custom_components.portainer.coordinator.PortainerCoordinator object at 0x7f71513da0>,)
Traceback (most recent call last):
  File "/config/custom_components/truenas/entity.py", line 68, in async_update_controller
    data = coordinator.data[entity_description.data_path]
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'system_info'

2024-08-30 10:46:31.633 ERROR (MainThread) [homeassistant.util.logging] Exception in async_update_controller when dispatching 'update_sensors': (<custom_components.portainer.coordinator.PortainerCoordinator object at 0x7f71513da0>,)
Traceback (most recent call last):
  File "/config/custom_components/truenas/entity.py", line 68, in async_update_controller
    data = coordinator.data[entity_description.data_path]
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'system_info'

2024-08-30 10:46:31.656 ERROR (MainThread) [homeassistant.util.logging] Exception in async_update_controller when dispatching 'update_sensors': (<custom_components.portainer.coordinator.PortainerCoordinator object at 0x7f71513da0>,)
Traceback (most recent call last):
  File "/config/custom_components/truenas/entity.py", line 68, in async_update_controller
    data = coordinator.data[entity_description.data_path]
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'pool'
@u2597511 u2597511 added the bug Something isn't working label Aug 30, 2024
@u2597511 u2597511 changed the title [Bug] [Bug] Exception in async_update_controller when dispatching 'update_sensors': custom_components.portainer.coordinator.PortainerCoordinator Aug 30, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale label Sep 14, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2024
@raetha
Copy link

raetha commented Sep 25, 2024

I'm experiencing this same issue. Was there any resolution besides the auto-close?

@u2597511
Copy link
Author

I'm experiencing this same issue. Was there any resolution besides the auto-close?

I haven't found an answer to this question anywhere. Apparently, no one but us is interested. :(

@raetha
Copy link

raetha commented Sep 29, 2024

I believe the issue is actually in the Portainer integration, though honestly it seems like an HA bug that allows one integration to cause this for others. Not idea the right place to file it, but I don't believe it's actually a TrueNAS issue, unless they could work around whatever the Portainer one is breaking somehow. My solution was finally to just disable Portainer. I like data in HA, but Portainer wasn't important enough to keep in place.

I believe it's been logged against the Portainer integration with both of these unanswered issues:
tomaae/homeassistant-portainer#44
tomaae/homeassistant-portainer#38

@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants