Commit 6d75ce3
authored
Add Hyper-V KVP Daemon to Azure Stemcells (#453)
* Add hvperv-kv daemon for Azure stemcells
Azure runs on the Hyper-V hypervisor, and Linux VMs rely on Linux Integration
Services (LIS) to communicate with the host. These services include kernel
modules (like hv_utils) and daemons (hv_kvp_daemon, hv_vss_daemon, etc.) that
handle:
- Host-to-guest communication
- IP address reporting
- VM metadata exchange
- Backup coordination (via VSS)
The hv_kvp_daemon specifically manages key-value pair exchange between the
Azure host and the Linux guest. If the daemon is missing, Azure may not
be able to retrieve guest metadata (e.g., hostname, IP address) This can
affect Azure Resource Graph queries, scripts that rely on guest-reported
data, backup and monitoring tools that use KVP for coordination
cloud-init writes warnings about events that could not be sent to hv-kvp:
```txt
$ grep kvp /var/log/cloud-init.log
failed to truncate kvp pool file, [Errno 2] No such file or directory: '/var/lib/hyperv/.kvp_pool_1'
failed posting events to kvp, [Errno 2] No such file or directory: '/var/lib/hyperv/.kvp_pool_1'
```
* Add missing tests for waagent.service
* Consolidate Azure package installs1 parent 3e0b699 commit 6d75ce3
File tree
2 files changed
+41
-1
lines changed- bosh-stemcell/spec/stemcells
- stemcell_builder/stages/system_azure_init
2 files changed
+41
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
82 | 118 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
0 commit comments