noble:linux-azure instance

$ systemctl status hv-kvp-daemon.service 
● hv-kvp-daemon.service - Hyper-V KVP Protocol Daemon
     Loaded: loaded (/usr/lib/systemd/system/hv-kvp-daemon.service; enabled; 
preset: enabled)
     Active: active (running) since Tue 2025-02-04 20:38:21 UTC; 1min 42s ago
   Main PID: 357 (hv_kvp_daemon)
      Tasks: 1 (limit: 4688)
     Memory: 2.5M (peak: 3.6M)
        CPU: 60ms
     CGroup: /system.slice/hv-kvp-daemon.service
             └─357 /usr/lib/linux-tools/6.8.0-1022-azure/hv_kvp_daemon -n

Feb 04 20:38:21 john-cabaj-azure-lp-test-noblew-kcp systemd[1]: Started 
hv-kvp-daemon.service - Hyper-V KVP Protocol Daemon.
Feb 04 20:38:21 john-cabaj-azure-lp-test-noblew-kcp KVP[357]: KVP starting; pid 
is:357
Feb 04 20:38:21 john-cabaj-azure-lp-test-noblew-kcp KVP[357]: KVP LIC Version: 
3.1

noble:linux instance

$ systemctl status hv-kvp-daemon.service
Unit hv-kvp-daemon.service could not be found.

oracular:linux-azure instance

$ systemctl status hv-kvp-daemon.service 
● hv-kvp-daemon.service - Hyper-V KVP Protocol Daemon
     Loaded: loaded (/usr/lib/systemd/system/hv-kvp-daemon.service; enabled; 
preset: enabled)
     Active: active (running) since Tue 2025-02-04 21:09:10 UTC; 19s ago
 Invocation: 853cde405fa54f759222a26d1115a89a
   Main PID: 347 (hv_kvp_daemon)
      Tasks: 1 (limit: 4688)
     Memory: 2.3M (peak: 3.2M)
        CPU: 105ms
     CGroup: /system.slice/hv-kvp-daemon.service
             └─347 /usr/lib/linux-tools/6.11.0-1009-azure/hv_kvp_daemon -n

Feb 04 21:09:10 john-cabaj-lp-verify-oracular-azure-2-kcp systemd[1]: Started 
hv-kvp-daemon.service - Hyper-V KVP Protocol Daemon.
Feb 04 21:09:11 john-cabaj-lp-verify-oracular-azure-2-kcp KVP[347]: KVP 
starting; pid is:347
Feb 04 21:09:11 john-cabaj-lp-verify-oracular-azure-2-kcp KVP[347]: KVP LIC 
Version: 3.1

oracular:linux instance

# systemctl status hv-kvp-daemon.service 
Unit hv-kvp-daemon.service could not be found.


** Tags removed: verification-needed-noble-linux 
verification-needed-oracular-linux
** Tags added: verification-done-noble-linux verification-done-oracular-linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2091744

Title:
  When /dev/vmbus/hv_kvp is not present, disable hv-kvp-daemon

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Noble:
  Fix Committed
Status in linux source package in Oracular:
  Fix Committed
Status in linux source package in Plucky:
  Fix Released

Bug description:
  SRU Justification

  [Impact]

  Re-opening for Noble, Oracular, and current development cycle (Plucky)
  as this appears to have accidentally been dropped.

  * Previous LP bug: https://bugs.launchpad.net/bugs/2024900

  * Commit from Jammy release: https://git.launchpad.net/~ubuntu-
  kernel/ubuntu/+source/linux/+git/jammy/commit/debian/linux-cloud-
  tools-common.hv-kvp-daemon.service?h=master-
  next&id=7da99ea3a1a745f6fd0c8632ef89573437888af6

  * Previous mailing list discussion:
  https://lists.ubuntu.com/archives/kernel-team/2023-June/140646.html

  Following description copied from original LP bug:

  If the daemon is started and the vmbus is not present it will just
  exit with an error: https://git.launchpad.net/~ubuntu-
  kernel/ubuntu/+source/linux/+git/mantic/tree/tools/hv/hv_kvp_daemon.c#n1424

  Thus, it would make sense to add
  "ConditionPathExists=/dev/vmbus/hv_kvp" in linux-cloud-tools-
  common.hv-kvp-daemon.service to prevent systemd from starting the
  daemon if the device is not there.

  [Test Plan]

  Start an Azure cloud instance and check for /dev/vmbus/hv_kvp and that 
hv-kvp-daemon is running.
  Start a non-Azure cloud instance and check that hv-kvp-daemon is not running.

  [Regression potential]

  Its possible that kv-hvp-daemon is not started when it should be.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2091744/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to