-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oem-azure: add hyperv daemons #2309
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
Outdated
Show resolved
Hide resolved
...tainer/src/third_party/coreos-overlay/app-emulation/hv-daemons/files/hv_fcopy_daemon.service
Outdated
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. |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with backporting on Alpha, Beta and Stable: it's telemetry. In the worst case, those services are failing.
Something we can do before merging would be to run Jenkins CI to test on Azure platform to inspect journal logs.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Deploy with
kola
Testing done
Built and deployed as shown above, verified
hv_kvp_daemon
was 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
).