Bug 2203291
Summary: | kubevirt should allow runtimeclass to be configured in a pod | |||
---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Marcelo Tosatti <mtosatti> | |
Component: | Installation | Assignee: | Simone Tiraboschi <stirabos> | |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.12.0 | CC: | dbasunag, gveitmic, igarcia, jortialc, kbidarka, ngu, nunnatsa, phoracek, sgott, stirabos, vromanso | |
Target Milestone: | --- | |||
Target Release: | 4.14.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | v4.14.0.rhel9-863 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2217910 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-08 14:05:46 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2217910, 2217913 |
Description
Marcelo Tosatti
2023-05-11 19:09:55 UTC
*** Bug 2192636 has been marked as a duplicate of this bug. *** As per Petr from comment5 it appears it needs update in HCO first. Simone, could you please take a look? (In reply to Kedar Bidarkar from comment #6) > As per Petr from comment5 it appears it needs update in HCO first. > > Simone, could you please take a look? Sure, a few questions (for the sake of inline documenting the new configuration option): 1. can the the value of defaultRuntimeClass be amended as a day two operations when we have existing VMIs? 2. if so, what's the impact on existing VMIs? 3. is it going to affect live migration with the target pod getting configured with the new value for defaultRuntimeClass? 4. is 4.14 enough or should we backport this down to 4.13? Petr, feel you could help answer Simone's questions from comment10 *** Bug 2185411 has been marked as a duplicate of this bug. *** @stirabos , regarding your 4th question on comment #10; 4. is 4.14 enough or should we backport this down to 4.13? --> The end Partner needs this bug to be backported to 4.12 as it would be the version that they will Go Live in September. Can you please let me know if you need me to file it or you can duplicate this one for 4.12? Thanks in advance! (In reply to Ivan from comment #16) > Can you please let me know if you need me to file it or you can duplicate > this one for 4.12? OK, thanks. We will handle the BZ and the backport process on our side. Verified with CNV v4.14 interim build (HCO bundle: v4.14.0.rhel9-1154) tl;dr: New config option: defaultRuntimeClass is introduced and it get propagated to kubevirt and VMI Validated with the following test cases: 1. hco.spec.defaultRuntimeClass and kubevirt.spec.defaultRuntimeClass gives helpful information to understand about the new option 'defaultRuntimeClass' 2. hco.spec.defaultRuntimeClass validates for the valid input value, which is a string. Boolean or numerical values didn't work as expected. 3. When hco.spec.defaultRuntimeClass is set, the value propagates as expected to kubevirt and VMI For the value to propagate to VMI, the performance profile has to be created and then the same to be set on the hco.spec.defaultRuntimeClass 4. When hco.spec.defaultRuntimeClass is set, it affects only the newly created VM, restarted VM, migrated VM. Running VMs doesn't get affected with the new option. With the above observations, marking this bug as VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6817 |