-
Notifications
You must be signed in to change notification settings - Fork 1.2k
runtime-rs: Fix issues for initdata #11693
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
runtime-rs: Fix issues for initdata #11693
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.
Thx @BbolroC LGTM. Let's move it forward.
Hold on! We need to consider
|
3634162
to
5c1cdca
Compare
5c1cdca
to
114435c
Compare
I’ve renamed the title so we can track all initdata issues and continue the discussion here. I’d like to reach out to @burgerdev, @fitzthum, and @Xynnn007 for feedback on renaming the annotation. I will keep this as draft until we reach an agreement. |
… definition" This reverts commit ede773d. `cc_init_data` should be under a hypervisor category because it is a hypervisor-specific feature. The annotation including `runtime` also breaks a logic for `is_annotation_enabled()`. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This reverts commit 37685c4. This renames the relevant constant for initdata. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
1c8bedf
to
0daafec
Compare
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, thanks!
Annotation change acknowledged - makes sense!
In kata-containers/kata-containers#11693 the initdata annotation changed, so update our code to reflect this Signed-off-by: stevenhorsman <steven@uk.ibm.com>
In kata-containers/kata-containers#11693 the initdata annotation changed, so update our code to reflect this Signed-off-by: stevenhorsman <steven@uk.ibm.com>
In kata-containers#11693 the cc_init_data annotation was changes to be hypervisor scoped, so each hypervisor needs to explicitly allow it in order to use it now, so add this to both the go and rust runtime's remote configurations Signed-off-by: stevenhorsman <steven@uk.ibm.com>
While running the initdata test with runtime-rs, the following issues were identified:
"\[CDH\] \[ERROR\]: Get Resource failed"
does not appear for runtime-rscc_init_data
should have been put inenable_annotations
in the configuration fileio.katacontainers.config.hypervisor.cc_init_data
should have been usedThis PR resolves the issues.
This will unblock a CI issue for #11447.
For details, please have a look at each commit message.
Signed-off-by: Alex Lyn alex.lyn@antgroup.com
Signed-off-by: Hyounggyu Choi Hyounggyu.Choi@ibm.com
FYI: @stevenhorsman @Apokleos