When trying to install the 2025.1/edge r612 snap for the first time on a pristine system, the installation encounters an error in the configure hook and then snapd performs an undo:
# snap changes openstack-hypervisor | head -n3
ID Status Spawn Ready Summary
10 Error yesterday at 20:01 UTC yesterday at 20:02 UTC Install "openstack-hypervisor" snap from "2025.1/edge" channel
12 Done yesterday at 20:04 UTC yesterday at 20:04 UTC Install "openstack-hypervisor" snap from "2025.1/edge" channel
# snap tasks 10
Status Spawn Ready Summary
Done yesterday at 20:01 UTC yesterday at 20:02 UTC Ensure prerequisites for "openstack-hypervisor" are available
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Download snap "openstack-hypervisor" (612) from channel "2025.1/edge"
Done yesterday at 20:01 UTC yesterday at 20:02 UTC Fetch and check assertions for snap "openstack-hypervisor" (612)
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Mount snap "openstack-hypervisor" (612)
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Copy snap "openstack-hypervisor" data
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Setup snap "openstack-hypervisor" (612) security profiles
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Make snap "openstack-hypervisor" (612) available to the system
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Automatically connect eligible plugs and slots of snap "openstack-hypervisor"
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Set automatic aliases for snap "openstack-hypervisor"
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Setup snap "openstack-hypervisor" aliases
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Run install hook of "openstack-hypervisor" snap if present
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Run default-configure hook of "openstack-hypervisor" snap if present
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Start snap "openstack-hypervisor" (612) services
Error yesterday at 20:01 UTC yesterday at 20:02 UTC Run configure hook of "openstack-hypervisor" snap if present
Hold yesterday at 20:01 UTC yesterday at 20:02 UTC Run health check of "openstack-hypervisor" snap
Hold yesterday at 20:01 UTC yesterday at 20:02 UTC Process delayed security backend side effects for affected snaps
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:kvm to snapd:kvm
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:kernel-module-observe to snapd:kernel-module-observe
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:mount-observe to snapd:mount-observe
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:hardware-observe to snapd:hardware-observe
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:network-setup-control to snapd:network-setup-control
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:process-control to snapd:process-control
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:epa-info to epa-orchestrator:epa-info
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:firewall-control to snapd:firewall-control
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:netlink-audit to snapd:netlink-audit
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:iscsi-initiator to snapd:iscsi-initiator
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:network to snapd:network
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:network-observe to snapd:network-observe
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:network-control to snapd:network-control
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:nvme-control to snapd:nvme-control
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:opengl to snapd:opengl
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:raw-usb to snapd:raw-usb
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:kernel-module-control to snapd:kernel-module-control
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:libvirt to snapd:libvirt
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:microstack-support to snapd:microstack-support
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:system-observe to snapd:system-observe
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:block-devices to snapd:block-devices
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:dm-multipath to snapd:dm-multipath
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:etc-driverctl to snapd:system-files
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:hugepages-control to snapd:hugepages-control
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:network-bind to snapd:network-bind
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:openvswitch-support to snapd:openvswitch-support
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Connect openstack-hypervisor:system-trace to snapd:system-trace
Undone yesterday at 20:01 UTC yesterday at 20:02 UTC Setup snap "openstack-hypervisor" (612) security profiles for auto-connections
......................................................................
Run configure hook of "openstack-hypervisor" snap if present
2026-06-09T20:02:04Z ERROR run hook "configure":
-----
libvirt: XML-RPC error : Failed to connect socket to '/var/snap/openstack-hypervisor/common/run/libvirt/virtqemud-sock': No such file or directory
Traceback (most recent call last):
File "/snap/openstack-hypervisor/612/meta/hooks/configure", line 9, in <module>
sys.exit(configure(Snap()))
^^^^^^^^^^^^^^^^^
File "/snap/openstack-hypervisor/612/lib/python3.12/site-packages/openstack_hypervisor/hooks.py", line 3017, in configure
_detect_compute_flavors(snap)
File "/snap/openstack-hypervisor/612/lib/python3.12/site-packages/openstack_hypervisor/hooks.py", line 2579, in _detect_compute_flavors
if _is_amd_sev_supported():
^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/openstack-hypervisor/612/lib/python3.12/site-packages/openstack_hypervisor/hooks.py", line 2370, in _is_amd_sev_supported
conn = libvirt.open("qemu:///system")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/openstack-hypervisor/612/usr/lib/python3/dist-packages/libvirt.py", line 335, in open
raise libvirtError('virConnectOpen() failed')
libvirt.libvirtError: Failed to connect socket to '/var/snap/openstack-hypervisor/common/run/libvirt/virtqemud-sock': No such file or directory
-----
It seems that the configure hook tries to verify whether AMD SEV is supported before libvirtd has a chance to start up, so the hook errors out and cascades into a full undo for the entire snap installation.
For some reason, trying to install the snap again succeeds.
When trying to install the 2025.1/edge r612 snap for the first time on a pristine system, the installation encounters an error in the configure hook and then snapd performs an undo:
It seems that the configure hook tries to verify whether AMD SEV is supported before libvirtd has a chance to start up, so the hook errors out and cascades into a full undo for the entire snap installation.
For some reason, trying to install the snap again succeeds.