linux-cloud-tools-common: Ensure hv-kvp-daemon.service starts before walinuxagent.service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Eric Desrochers | ||
Xenial |
Fix Released
|
Medium
|
Eric Desrochers | ||
Zesty |
Won't Fix
|
Undecided
|
Unassigned | ||
Artful |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Eric Desrochers |
Bug Description
This is a request to make a change in the hv-kvp-daemon systemd service which is part of the linux-cloud-
Currently the /lib/systemd/
=======
# On Azure/Hyper-V systems start the hv_kvp_daemon
#
# author "Andy Whitcroft <email address hidden>"
[Unit]
Description=Hyper-V KVP Protocol Daemon
ConditionVirtua
[Service]
ExecStart=
[Install]
WantedBy=
=======
The suggested modification is to make the [Unit] section look like this:
[Unit]
Description=Hyper-V KVP Protocol Daemon
ConditionVirtua
DefaultDependen
After=systemd-
Before=
Conflicts=
RequiresMountsF
The hv-kvp-daemon service is not currently part of the critical-chain:
$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @10.809s
└─multi-user.target @10.723s
└─ephemeral-
└─cloud-
└─basic.target @8.044s
└─sockets.target @8.019s
└─snapd.socket @7.692s +264ms
└─sysinit.target @6.719s
└─cloud-
└─networking.
└─network-
└─cloud-
└─systemd-
└─systemd-
└─-.mount @649ms
└─system.slice @653ms
└─-.slice @649ms
In an Azure VM, the current startup time of my test is:
$ systemd-analyze
Startup finished in 10.375s (kernel) + 12.352s (userspace) = 22.728s
After making the suggested change, the startup time is similar:
$ systemd-analyze
Startup finished in 9.759s (kernel) + 11.867s (userspace) = 21.627s
And the service is now in the critical-chain:
$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @10.666s
└─multi-user.target @10.636s
└─ephemeral-
└─cloud-
└─basic.target @8.124s
└─sockets.target @8.101s
└─lxd.socket @7.677s +326ms
└─sysinit.target @6.755s
└─cloud-
└─networking.
└─network-
└─cloud-
└─hv-kvp-
└─systemd-
└─system.slice @1.225s
└─-.slice @650ms
The ConditionVirtua
https:/
microsoft = Hyper-V, also known as Viridian or Windows Server Virtualization
Related branches
- Ubuntu Kernel Repositories: Pending requested
-
Diff: 16 lines (+5/-0)1 file modifieddebian/linux-cloud-tools-common.hv-kvp-daemon.service (+5/-0)
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
tags: | added: sts |
tags: | added: azure |
tags: | added: patch |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Andy (andyliuliming) |
Changed in linux (Ubuntu Zesty): | |
assignee: | nobody → Andy (andyliuliming) |
Changed in linux (Ubuntu Artful): | |
assignee: | nobody → Andy (andyliuliming) |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Andy (andyliuliming) |
Changed in linux (Ubuntu Xenial): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Zesty): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Artful): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Artful): | |
status: | In Progress → Won't Fix |
Changed in linux (Ubuntu Zesty): | |
status: | In Progress → Won't Fix |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in linux (Ubuntu): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1739107
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.