-
Notifications
You must be signed in to change notification settings - Fork 50
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
Only use qemu-guest-agent on macos #914
Conversation
On linux/windows, we don't setup the needed vsock devices, so qemu-guest-agent fails to start. We can use `ConditionVirtualization=apple` to only start it when running on a mac.
@cfergeau this we used for time sync on the mac right? |
Yes. Maybe this can be solved in a simpler way with |
Just looked the
Should we create an issue and set it as |
Last I checked, they were using |
The corresponding podman issue was containers/podman#11541 |
@cfergeau: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Created #916 one and we can have this PR in for time being. |
/cherry-pick release-4.16 |
@praveenkumar: once the present PR merges, I will cherry-pick it on top of release-4.16 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherry-pick release-4.15 |
@praveenkumar: once the present PR merges, I will cherry-pick it on top of release-4.15 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@@ -1,6 +1,7 @@ | |||
[Unit] | |||
Description=QEMU Guest Agent | |||
IgnoreOnIsolate=True | |||
ConditionVirtualization=apple |
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 per man systemd.unit
looks like this is added in v244, and current used version in OCP is 252 which is good for this usecase.
ConditionVirtualization=
Check whether the system is executed in a virtualized environment and optionally test whether it is a specific
implementation. Takes either boolean value to check if being executed in any virtualized environment, or one of
"vm" and "container" to test against a generic type of virtualization solution, or one of "qemu", "kvm",
"amazon", "zvm", "vmware", "microsoft", "oracle", "powervm", "xen", "bochs", "uml", "bhyve", "qnx", "apple",
"sre", "openvz", "lxc", "lxc-libvirt", "systemd-nspawn", "docker", "podman", "rkt", "wsl", "proot", "pouch",
"acrn" to test against a specific implementation, or "private-users" to check whether we are running in a user
namespace. See systemd-detect-virt(1) for a full list of known virtualization technologies and their
identifiers. If multiple virtualization technologies are nested, only the innermost is considered. The test may
be negated by prepending an exclamation mark.
Added in version 244.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: praveenkumar The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@praveenkumar: new pull request created: #917 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@praveenkumar: new pull request created: #918 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
On linux/windows, we don't setup the needed vsock devices, so
qemu-guest-agent fails to start.
We can use
ConditionVirtualization=apple
to only start it when runningon a mac.