Conversation
sdk_container/src/third_party/coreos-overlay/app-emulation/hv-daemons/hv-daemons-6.6.48.ebuild
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/app-emulation/hv-daemons/hv-daemons-6.6.48.ebuild
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure/oem-azure-2.9.1.1-r2.ebuild
Show resolved
Hide resolved
...tainer/src/third_party/coreos-overlay/app-emulation/hv-daemons/files/hv_fcopy_daemon.service
Show resolved
Hide resolved
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/10849089302 |
|
is the version number on the ebuild important? if it is then we'd need to add bumping the version to the kernel update GHA. |
It actually is not. It's misleading. The ebuild uses whatever kernel version is current. I'll rename it, good catch. EDIT: OH WAIT NO - |
3c4f4cb to
3a5aebe
Compare
3a5aebe to
6ec82fc
Compare
6ec82fc to
05f6ed4
Compare
|
Moving this out of "draft" as it solidifies for Flatcar. We can do a generalised Gentoo implementation for upstreaming in a follow-up PR. |
|
I wonder - how do folks feel about cherry-picking this to maintenance branches? It's a well-understood change and The Azure OEM sysext update would provide instant telemetry for instances on Alpha, Beta, and Stable. |
|
Can you also add the I can give it a test locally if you think it is a good idea. Hyper-V OEM would benefit from the daemons too. |
Makes a lot of sense, will add and do a OEM image build smoke-test. |
|
There's more that can be done for a full integration btw: the kvp daemon expects to find helpers in |
This change adds hyperv daemons hv_fcopy, hv_kvp, and hv_vss to the Azure OEM sysext. hv_kvp specifically is needed to submit OS version information to the Azure hypervisor. The daemons, tough userspace programs, are built from the kernel sources as they are included in the Linux kernel. Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
c3d7c3c to
1905829
Compare
|
@ader1990 I've added [Jeremi]
Yes, example scripts are actually shipped with the hyperv daemon sources. I'm on the edge whether to add these with this PR or a follow-up one. My main objective was to give Azure users (and Azure support) better insight into their instances' OS versions... |
|
Removed the TODO:, added documentation, and added my intend to cherry-pick this to all maintenance branches (I'm willing to discuss this). Please let me know what you think. |
I suppose this can be done at a later time, as it requires more testing and making sure everything works as expected. |
Another perspective - all the other OSes on Azure have these daemons, so it should be okay. |
Co-authored-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
|
All checks passed - see test run. The final merge was @tormath1 's changelog improvement - no need to re-run CI. |
tormath1
left a comment
There was a problem hiding this comment.
As suggested, we could run a Jenkins CI with Azure testing but this will be tested eventually in the nightly.
|
Merged and cherry-picked for flatcar-3975, flatcar-4054, and flatcar-4081. (all are on the same kernel version fortunately) |
Nightlies have failed I guess we missed to add the hv-daemons to coreos depencies. |
This change adds hyperv daemons hv_fcopy, hv_kvp, and hv_vss to the Azure OEM sysext. hv_kvp specifically is needed to submit OS version information to the Azure hypervisor.
The daemons, tough userspace programs, are built from the kernel sources as they are included in the Linux kernel.
Implements flatcar/Flatcar#1540.
How to use
Build azure vendor image from this branch
./run_sdk_container -t ./build_packages ./build_image ./image_to_vm.sh --from=../build/images/amd64-usr/latest --board=amd64-usr --format=azure --image_compression_formats noneDeploy with
kolaTesting done
Built and deployed as shown above, verified
hv_kvp_daemonwas running after boot. The other two daemons did not run in my testing as the respective/dev/vmbus/...device files were missing from my instance.Cherry-Pick
Cherry-pick this change to all active maintenance branches that support Azure OEM sysext (
flatcar-3975,flatcar-4054,flatcar-4081).