You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the HASS OS 14.2 update this evening, and after the update concluded, I found that my virtual machine was crashed/hung with KVM reporting 100% CPU usage.
The last messages on the virtual console were:
[ OK ] Finished System Reboot.
[ OK ] Reached target System Reboot.
reboot: Restarting system
I can't put a number on how long it's been happening for me, except that it's been over a year.
Oddly if I go in to the Home Assistant web interface and reboot from there (System -> power menu at top right -> more -> Reboot) then the system doesn't crash. It only seems to happen after a HASS OS update.
What operating system image do you use?
ova (for Virtual Machines)
What version of Home Assistant Operating System is installed?
14.2
Did the problem occur after upgrading the Operating System?
Can you provide more details about the host OS, please? Can you try if performing systemctl reboot and ha os boot-slot other (you'll have to do it twice, or change back to the correct slot from GRUB menu on the next boot) from the command line triggers the behavior too?
Host OS is Linux, specifically Ubuntu 22.04 LTS with current updates.
Inside the VM, "os boot-slot other" seems to take a while to run, then pops up an error:
Post "http://supervisor/os/boot-slot": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Then returns to the "ha>" prompt briefly before reporting that the CLI has been terminated.
Shortly after, it shuts down and restarts the VM. When HA comes up, it prompts that there's a HASS OS update (to 14.2 ) available.
Doing "os boot-slot other" a second time does the same thing - except HA starts up with the 14.2 image.
"systemctl reboot" from the HA prompt didn't work ("unknown command" error), so I tried "host reboot" - which worked fine. Took a while to reboot (with a similar timeout error as above) but it didn't crash.
The trigger seems to be applying a HASS OS update, then letting it reboot by itself.
Describe the issue you are experiencing
I installed the HASS OS 14.2 update this evening, and after the update concluded, I found that my virtual machine was crashed/hung with KVM reporting 100% CPU usage.
The last messages on the virtual console were:
I found this Community post which reports a similar (possibly the same) bug going back to October 2023: https://community.home-assistant.io/t/ha-hangs-and-no-response-after-os-updates-on-kvm/632083/4
I can't put a number on how long it's been happening for me, except that it's been over a year.
Oddly if I go in to the Home Assistant web interface and reboot from there (System -> power menu at top right -> more -> Reboot) then the system doesn't crash. It only seems to happen after a HASS OS update.
What operating system image do you use?
ova (for Virtual Machines)
What version of Home Assistant Operating System is installed?
14.2
Did the problem occur after upgrading the Operating System?
Yes
Hardware details
QEMU/KVM on Libvirt.
VM config:
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Spotify
Additional information
No response
The text was updated successfully, but these errors were encountered: