[Hyper-V] LIS daemons fail to start after disable/re-enable VM integration services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
High
|
Joseph Salisbury | ||
Xenial |
Incomplete
|
High
|
Joseph Salisbury | ||
Zesty |
Incomplete
|
High
|
Joseph Salisbury | ||
Artful |
Won't Fix
|
High
|
Joseph Salisbury | ||
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Issue description: Hyper-V daemons fail to start after disable/re-enable VM integration services.
Platform: host independent
Affected daemons - KVP, FCOPY and VSS.
Distribution name and release: Ubuntu 16.04, Ubuntu 17.04
Kernel version: 4.11.0-
Repro rate: 100%
Steps to reproduce:
1. Start VM with Guest Services enabled (FCopy daemon starts automatically)
2. Go to File > Settings > Integration Services, uncheck Guest Services and apply (FCopy daemon will stop at this point)
3. Re-enable Guest Services from VM Settings (Fcopy daemon is not running).
This is the issue. systemd monitors for the service and if we have the hook for the Guest Service, it tries to start the daemon again.
systemd attempt to start any of the LIS daemons will fail, but manually executing the daemon binary, it will start the daemon.
Additional Info:
- the steps above can be repro'd with KVP / Data Exchange integration service as well.
- Manually starting hv_fcopy_daemon works fine.
- other distros (RHEL) does not have this behavior, the LIS daemons are started automatically by systemd once we re-enable the integration service.
On the upstream kernel and the upstream hv daemons, these messages are recorded in syslog, once we re-enable the Guest service:
HV_FCOPY: pread failed: Bad file descriptor
systemd[1]: hv-fcopy-
systemd[1]: hv-fcopy-
systemd[1]: hv-fcopy-
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Xenial): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Zesty): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Incomplete |
Changed in linux (Ubuntu Zesty): | |
status: | In Progress → Incomplete |
Changed in linux (Ubuntu Artful): | |
status: | In Progress → Incomplete |
Changed in linux (Ubuntu): | |
status: | In Progress → Incomplete |
Hi Chris,
Can you give the 4.12 kernel a test: kernel. ubuntu. com/~kernel- ppa/mainline/ v4.12
] http://