homeassistant-openmediavault icon indicating copy to clipboard operation
homeassistant-openmediavault copied to clipboard

[Bug] When OMV Instance is unreachable, this integration makes HA hang on bootup

Open HannesK-ME opened this issue 1 year ago • 2 comments

Describe the issue

OMV Integration makes HA hang for far too long on bootup. Eventually there does seem to be a timeout but I'd argue it's far too long. Perhaps this could be configurable?

How to reproduce the issue

  1. Turn off/unplug from network your OMV instance
  2. Restart HA
  3. See how it's stuck at 'starting openmediavault' for a long time while other, perhaps more important stuff waits to be initialised

Expected behavior

Have a shorter or configurable timeout

Screenshots

Software versions

  • Home Assistant version:
  • openmediavault integration version:
  • openmediavault software version: HA: 2023.7.3 Integration version: 1.4.1

Diagnostics data

Traceback/Error logs

Additional context

HannesK-ME avatar Aug 18 '23 14:08 HannesK-ME

Does that really hang HA, or you just see starting up message?

tomaae avatar Aug 18 '23 15:08 tomaae

Ok, hang might not have been the correct word. It’s not like it’s unresponsive, but it doesn’t initiate other things that get initiated after OMV, which in some instances are important functions that I wouldn’t want to wait this long for if there’s a way around it

HannesK-ME avatar Aug 18 '23 17:08 HannesK-ME