-
Notifications
You must be signed in to change notification settings - Fork 71
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
podvm: revert agent-config path to /etc #1627
podvm: revert agent-config path to /etc #1627
Conversation
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.
Code LGTM, I'm trying it out on s390x with packer just to test, but if libvirt-e2e ci test pass then that's good enough for me.
I guess there is still the question of whether the guest-components that read directly from |
Just the secrets test failed in the CI and that could be due to the nginx layers ordering issues, so I think it's fine.
|
yes, independently from this PR, cc_kbc doesn't work w/ mkosi at the moment, as the relevant paths are hardcoded in guest-components, so we need to add a fix for that still. |
21c4595
to
8003dab
Compare
podvm-mkosi/mkosi.skeleton/usr/lib/systemd/system/kata-agent.service.d/10-override.conf
Show resolved
Hide resolved
The ./podvm kata-agent unit has been set to use a config file in /etc. Having the kata-agent config file in /run will break the CAA libvirt tests, since we have dependencies that rely on the config being in /etc. ./podvm-mkosi will override this path to a configuration in /run. Signed-off-by: Magnus Kulke <magnuskulke@microsoft.com>
podvm-mkosi/mkosi.skeleton/usr/lib/systemd/system/kata-agent.service.d/10-override.conf
Show resolved
Hide resolved
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.
LGTM, with this fix, it will unblock the daily e2e-test for ibmcloud and libvirt.
Thanks @mkulke
8003dab
to
903989a
Compare
The ./podvm kata-agent unit has been set to use a config file in /etc. Having the kata-agent config file in /run will break the CAA libvirt tests, since we have dependencies that rely on the config being in /etc. ./podvm-mkosi will override this path to a configuration in /run.
Tested w/ PodVM images built w/ packer + mkosi