Hyper-V LIS (Linux Integration Services) is not working on VyOS 1.4-rolling-202103190553 (sagitta/current)
- Image built using Docker over WSL2
- Instructions from https://docs.vyos.io/en/latest/contributing/build-vyos.html
- Used sudo make openstack to build an image with cloud-init (I need cloud-init!)
- Used qemu-img.exe convert -f raw built.iso -O vhdx -o subformat=dynamic MyVm.vhdx to convert generated .ISO to .VHDX
- VM Gen2 created with secure boot disabled. Booted correctly from .VHDX
Everything appears to work. Except the Hyper-V integration services.
[From Hyper-V HOST]
C:\> Get-VMIntegrationService -VMName tst VMName Name Enabled PrimaryStatusDescription SecondaryStatusDescription ------ ---- ------- ------------------------ -------------------------- tst Guest Service Interface True No Contact tst Heartbeat True No Contact tst Key-Value Pair Exchange True No Contact tst Shutdown True No Contact tst Time Synchronization True No Contact tst VSS True No Contact
[From GUEST VM]
$ cat /etc/os-release PRETTY_NAME="VyOS 1.4-rolling-202103190553 (sagitta)" NAME="VyOS" VERSION_ID="1.4-rolling-202103190553" VERSION="1.4-rolling-202103190553 (sagitta)" VERSION_CODENAME=buster ID=vyos HOME_URL="https://vyos.io" SUPPORT_URL="https://support.vyos.io" BUG_REPORT_URL="https://phabricator.vyos.net"
$ sudo apt update && sudo apt install --only-upgrade hyperv-daemons Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done hyperv-daemons is already the newest version (4.19.171-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
P.S. It works with VyOS 1.3. Using the same build process with an image built from v1.3 (equuleus) branch:
[From Hyper-V HOST]
C:\> Get-VMIntegrationService -VMName tst VMName Name Enabled PrimaryStatusDescription SecondaryStatusDescription ------ ---- ------- ------------------------ -------------------------- tst Guest Service Interface True OK tst Heartbeat True OK tst Key-Value Pair Exchange True OK The protocol version of the component installed in t... tst Shutdown True OK tst Time Synchronization True OK tst VSS True OK The protocol version of the component installed in t...
Discussion:
https://forum.vyos.io/t/upgrade-to-latest-rolling-release-broke-hyper-v-integration-vmbus-unavailable/6792