This bug returned with the Groovy Gorilla release. In this case, the `linux-cloud-tools-generic` package was installed during setup. I confirmed the fixes linked to above were being used by the requisite udev/service unit files. To see for yourself you can run:
vagrant init --box-version=3.1.0
vagrant up --provider=libvirt
If pulling the console up using virt-viewer you will see the boot process hang.
I managed to fix the bug with following:
# Disable the daemon to remove the symlihk.
systemctl disable hv-kvp-daemon.service
# Override the default unit file with a version that won't hang during boot ups.
cat <<-EOF > /etc/systemd/system/multi-user.target.wants/hv-kvp-daemon.service
[Unit]
Description=Hyper-V KVP Protocol Daemon
ConditionVirtualization=microsoft
ConditionPathExists=/dev/vmbus/hv_kvp
DefaultDependencies=no
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
After=systemd-remount-fs.service
Before=shutdown.target cloud-init-local.service walinuxagent.service
Conflicts=shutdown.target
RequiresMountsFor=/var/lib/hyperv
This bug returned with the Groovy Gorilla release. In this case, the `linux- cloud-tools- generic` package was installed during setup. I confirmed the fixes linked to above were being used by the requisite udev/service unit files. To see for yourself you can run:
vagrant init --box-version=3.1.0
vagrant up --provider=libvirt
If pulling the console up using virt-viewer you will see the boot process hang.
I managed to fix the bug with following:
# Disable the daemon to remove the symlihk. daemon. service
systemctl disable hv-kvp-
# Override the default unit file with a version that won't hang during boot ups. system/ multi-user. target. wants/hv- kvp-daemon. service lization= microsoft ists=/dev/ vmbus/hv_ kvp cies=no sys-devices- virtual- misc-vmbus\ x21hv_kvp. device remount- fs.service shutdown. target cloud-init- local.service walinuxagent. service shutdown. target or=/var/ lib/hyperv
cat <<-EOF > /etc/systemd/
[Unit]
Description=Hyper-V KVP Protocol Daemon
ConditionVirtua
ConditionPathEx
DefaultDependen
BindsTo=
After=systemd-
Before=
Conflicts=
RequiresMountsF
[Service] /usr/sbin/ hv_kvp_ daemon -n
ExecStart=
[Install] multi-user. target
WantedBy=
EOF
See: /github. com/lavabit/ robox/pull/ 174 /github. com/lavabit/ robox/blob/ master/ scripts/ ubuntu2010/ fixkvp. sh
https:/
https:/