home-assistant / operating-system

:beginner: Home Assistant Operating System
Apache License 2.0
4.78k stars 956 forks source link

Unable to take application consistent production checkpoint in HyperV - HAOS 8.2 #1996

Closed Locknes closed 2 years ago

Locknes commented 2 years ago

Describe the issue you are experiencing

I am not able to take production checkpoints of my HAOS VM, with the operation failing with the error in the image below.

What operating system image do you use?

ova (for Virtual Machines)

What version of Home Assistant Operating System is installed?

Home Assistant OS 8.2

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Enable Production Checkpoint in hyperV VM configuration
  2. Disable "Create Standard checkpoint if the guest does not support creation of production checkpoints" box
  3. Try to take checkpoint ... image image

Anything in the Supervisor logs that might be useful for us?

22-06-28 14:03:59 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-06-28 14:03:59 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-28 14:03:59 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-06-28 14:03:59 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-06-28 14:05:12 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-06-28 14:05:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/blakeblackshear/frigate-hass-addons repository
22-06-28 14:05:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-06-28 14:05:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-06-28 14:05:40 WARNING (SyncWorker_0) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate NVR (Full Access)
22-06-28 14:05:40 WARNING (SyncWorker_5) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate NVR (Full Access)
22-06-28 14:05:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove
22-06-28 14:05:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove
22-06-28 14:16:24 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-06-28 14:19:00 INFO (MainThread) [supervisor.host.info] Updating local host information
22-06-28 14:19:01 INFO (MainThread) [supervisor.host.services] Updating service information
22-06-28 14:19:01 INFO (MainThread) [supervisor.host.network] Updating local network information
22-06-28 14:19:01 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-06-28 14:19:01 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-06-28 14:46:25 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-06-28 15:03:59 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-06-28 15:16:25 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-06-28 15:46:25 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-06-28 15:50:55 INFO (MainThread) [supervisor.backups.manager] Creating new partial backup with slug f23abb13
22-06-28 15:50:55 INFO (MainThread) [supervisor.homeassistant.module] Backing up Home Assistant Core config folder
22-06-28 15:54:48 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
22-06-28 15:55:18 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug f23abb13 completed
22-06-28 15:55:18 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2022.6.7
22-06-28 15:55:18 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:2022.6.6 to ghcr.io/home-assistant/qemux86-64-homeassistant:2022.6.7
22-06-28 15:55:18 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2022.6.7.
22-06-28 15:56:05 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping homeassistant application
22-06-28 15:56:16 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning homeassistant application
22-06-28 15:56:17 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-06-28 15:56:17 INFO (SyncWorker_9) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version 2022.6.7
22-06-28 15:56:17 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-06-28 15:56:21 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-06-28 15:56:21 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-28 15:56:21 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-06-28 15:56:21 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-06-28 15:56:21 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/blakeblackshear/frigate-hass-addons repository
22-06-28 15:56:21 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-06-28 15:56:22 WARNING (SyncWorker_9) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate NVR (Full Access)
22-06-28 15:56:23 WARNING (SyncWorker_6) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate NVR (Full Access)
22-06-28 15:56:23 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove
22-06-28 15:56:23 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove
22-06-28 15:56:39 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
22-06-28 15:56:39 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2022.6.7
22-06-28 15:56:39 INFO (SyncWorker_5) [supervisor.docker.interface] Cleanup images: ['ghcr.io/home-assistant/qemux86-64-homeassistant:2022.6.6']
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-06-28 16:03:59 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-06-28 16:05:12 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-06-28 16:06:38 WARNING (MainThread) [supervisor.os.manager] Version 8.2 is already installed
22-06-28 16:16:25 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token

Anything in the Host logs that might be useful for us?

Not that I saw in skimming. 
Github would not let me past the full log due to character limits.

System Health information

System Health

version core-2022.6.7
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.12
os_name Linux
os_version 5.15.45
arch x86_64
timezone America/New_York
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4926 Installed Version | 1.25.0 Stage | running Available Repositories | 1061 Downloaded Repositories | 11
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 8.2 -- | -- update_channel | stable supervisor_version | supervisor-2022.05.3 agent_version | 1.2.1 docker_version | 20.10.14 disk_total | 97.7 GB disk_used | 28.2 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Samba share (10.0.0), Check Home Assistant configuration (3.11.0), File editor (5.3.3), Let's Encrypt (4.12.5), WireGuard (0.7.0), InfluxDB (4.5.0), Glances (0.16.0), Grafana (7.6.0), AdGuard Home (4.6.0), MariaDB (2.4.0), Nginx Proxy Manager (0.12.0), Network UPS Tools (0.11.0), phpMyAdmin (0.8.0), Mosquitto broker (6.1.2), Frigate NVR Proxy (1.3), Studio Code Server (5.1.2), Log Viewer (0.14.0)
Dashboards dashboards | 1 -- | -- resources | 5 views | 3 mode | storage
Recorder oldest_recorder_run | June 20, 2022, 4:31 PM -- | -- current_recorder_run | June 28, 2022, 3:56 PM estimated_db_size | 1749.11 MiB database_engine | sqlite database_version | 3.34.1
Sonoff version | 3.0.5 (200f243) -- | -- cloud_online | 2 / 2 local_online | 2 / 2

Additional information

Please let me know if this would be better raised in the discord. I was going to post there, but I didn't see a channel that looked correct.

Thank you.

agners commented 2 years ago

I think this is better reported to the Hyper-V team. The error message has absolutely no hint what could be wrong in our image. Without additional information of why checkpoint failed, there is no way I can debug this.

scyto commented 1 year ago

--edit-- i will create an new issue, on the surface it appears most of the hyperv mods are either not installed or not active

I have hit this .I am prepared to create a new issue but wanted to check first what version of the hyper-v integration services are installed / is there anyway for me to update them in the production VM?

I believe the following services are needed inside the VM, i can find no evidence they are running (but i may just be stupid)

The services required for checkpoint creation:

Generally on generic linux they are installed as follows: