Bug 2123209
Summary: | CNV runs non-root VMs by default which removes cap_sys_nice from the launchers and caused the real time VM failed to boot up | ||||||
---|---|---|---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Gu Nini <ngu> | ||||
Component: | Virtualization | Assignee: | Jordi Gil <jgil> | ||||
Status: | CLOSED ERRATA | QA Contact: | Denys Shchedrivyi <dshchedr> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.11.1 | CC: | acardace, danken, jgil, kbidarka, lijin, lpivarc, mtosatti, ocohen, sgott, vromanso | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.13.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | hco-bundle-registry-container-v4.13.0.rhel9-1639 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2023-05-18 02:55:41 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: | |||||||
Attachments: |
|
Description
Gu Nini
2022-09-01 04:19:10 UTC
*** Bug 2123207 has been marked as a duplicate of this bug. *** PR raised to address this issue. https://github.com/kubevirt/kubevirt/pull/8750 PR has been merged. Verified on v4.13.0.rhel9-1834, VM with RT kernel can successfully run: Steps: 1) set worker-rt label on one of worker nodes 2) create MCP pointed to worker-rt node 3) create PerformanceProfile which enables RT kernel 4) wait for MCP to complete update > $ oc get mcp > NAME CONFIG UPDATED UPDATING DEGRADED MACHINECOUNT READYMACHINECOUNT UPDATEDMACHINECOUNT DEGRADEDMACHINECOUNT AGE > worker-rt rendered-worker-rt-a560b74067dfdce8a670390145f51439 True False False 1 1 1 0 129m node switched to rt kernel > oc get node -o wide > NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME > virt-den-413-l7hvr-worker-0-9r8gw Ready worker,worker-rt 6h37m v1.26.2+dc93b13 192.168.2.82 <none> Red Hat Enterprise Linux CoreOS 413.92.202303221220-0 (Plow) 5.14.0-284.1.1.rt14.286.el9_2.x86_64 cri-o://1.26.1-10.rhaos4.13.gitcb86088.el9 5) create vm with realtime kernel (the doc from comment #7): > $ oc get vm -A > NAMESPACE NAME AGE STATUS READY > test-rt fedora-realtime 59m Running True > $ oc get pod > NAME READY STATUS RESTARTS AGE > virt-launcher-fedora-realtime-75lfr 2/2 Running 0 59m > [fedora@fedora-realtime ~]$ uname -r > 5.6.19-300.rt10.2.fc32.ccrma.x86_64+rt 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 (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement 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:3205 |