Hi Chris,

Thanks for investigating. I've tried again to confirm the problem still
occurs -- and it does, although sometimes it takes multiple restarts of
the hv-kvp-daemon.service for it to start successfully.

Some diagnostic information is below.

Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64)

user@server:~$ ps -ax | grep hv
   129 ?        S<     0:00 [hv_vmbus_con]
   359 ?        S      0:00 [hv_balloon]
   601 ?        Ss     0:00 /usr/lib/linux-tools/4.4.0-62-generic/hv_vss_daemon 
-n
   603 ?        Ss     0:00 
/usr/lib/linux-tools/4.4.0-62-generic/hv_fcopy_daemon -n

user@server:~$ sudo systemctl status hv-kvp-daemon.service
● hv-kvp-daemon.service - Hyper-V KVP Protocol Daemon
   Loaded: loaded (/lib/systemd/system/hv-kvp-daemon.service; enabled; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-03-09 20:50:24 UTC; 4min 
45s ago
  Process: 585 ExecStart=/usr/sbin/hv_kvp_daemon -n (code=exited, 
status=1/FAILURE)
 Main PID: 585 (code=exited, status=1/FAILURE)

Mar 09 20:49:24 server systemd[1]: Started Hyper-V KVP Protocol Daemon.
Mar 09 20:49:24 server KVP[585]: KVP starting; pid is:585
Mar 09 20:49:24 server KVP[585]: KVP LIC Version: 3.1
Mar 09 20:50:24 server KVP[585]: read failed; error:9 Bad file descriptor
Mar 09 20:50:24 server systemd[1]: hv-kvp-daemon.service: Main process exited, 
code=exited, status=1/FAILURE
Mar 09 20:50:24 server systemd[1]: hv-kvp-daemon.service: Unit entered failed 
state.
Mar 09 20:50:24 server systemd[1]: hv-kvp-daemon.service: Failed with result 
'exit-code'.


user@server:~$ dpkg -s linux-tools-4.4.0-62-generic
Package: linux-tools-4.4.0-62-generic
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 250
Maintainer: Ubuntu Kernel Team <kernel-t...@lists.ubuntu.com>
Architecture: amd64
Source: linux
Version: 4.4.0-62.83
Depends: linux-tools-4.4.0-62
Description: Linux kernel version specific tools for version 4.4.0-62
 This package provides the architecture dependant parts for kernel
 version locked tools (such as perf and x86_energy_perf_policy) for
 version 4.4.0-62 on
 64 bit x86.

user@server:~$ dpkg -s linux-cloud-tools-4.4.0-62-generic
Package: linux-cloud-tools-4.4.0-62-generic
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 248
Maintainer: Ubuntu Kernel Team <kernel-t...@lists.ubuntu.com>
Architecture: amd64
Source: linux
Version: 4.4.0-62.83
Depends: linux-cloud-tools-4.4.0-62
Description: Linux kernel version specific cloud tools for version 4.4.0-62
 This package provides the architecture dependant parts for kernel
 version locked tools for cloud for version 4.4.0-62 on
 64 bit x86.


Help > About Hyper-V Manager
Hyper-V Manager
Microsoft Corporation
Version: 10.0.14393.0

vmms.exe
Version
10.0.14393.351

-- 
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/1664663

Title:
  [Hyper-V] kvp daemon start failure on Zesty

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Zesty:
  In Progress

Bug description:
  Hello,

  On Ubuntu Server 17.04 daily from Febr 14th we see that the KVP daemon
  although it is enabled in systemd, it fails to start at system boot.

  This is shown by error: "KVP: read failed; error:9 Bad file
  descriptor"

  I then manually ran the kvp binary, it returned the KVP data, and it's also 
automatically loading at boot. However, this is of course not the normal 
behavior.
  17.04 daily from Febr 14th is the first build we covered, so I cannot say if 
this is a regression introduced only at some point in 17.04 dailies.

  In syslog these are the only messages for KVP:
  Feb 14 08:01:22 ubuntu systemd[1]: Started Hyper-V KVP Protocol Daemon.
  Feb 14 08:01:22 ubuntu KVP: KVP starting; pid is:1837
  Feb 14 08:01:22 ubuntu KVP: KVP LIC Version: 3.1
  Feb 14 08:02:31 ubuntu KVP: read failed; error:9 Bad file descriptor

  
  systemd status:
  root@ubuntu:~# systemctl status hv-kvp-daemon.service
  ● hv-kvp-daemon.service - Hyper-V KVP Protocol Daemon
     Loaded: loaded (/lib/systemd/system/hv-kvp-daemon.service; enabled; vendor 
preset: enabled)
     Active: failed (Result: exit-code) since Tue 2017-02-14 08:02:31 PST; 1min 
41s ago
   Main PID: 1837 (code=exited, status=1/FAILURE)
        CPU: 4ms

  Feb 14 08:01:22 ubuntu systemd[1]: Started Hyper-V KVP Protocol Daemon.
  Feb 14 08:01:22 ubuntu KVP[1837]: KVP starting; pid is:1837
  Feb 14 08:01:22 ubuntu KVP[1837]: KVP LIC Version: 3.1
  Feb 14 08:02:31 ubuntu systemd[1]: hv-kvp-daemon.service: Main process 
exited, code=exited, status=1/FAILURE
  Feb 14 08:02:31 ubuntu systemd[1]: hv-kvp-daemon.service: Unit entered failed 
state.
  Feb 14 08:02:31 ubuntu systemd[1]: hv-kvp-daemon.service: Failed with result 
'exit-code'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1664663/+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