Bug 2068147
| Summary: | [cnv 4.9] No "permittedHostDevices" section in HCO CR, allows any hostdevice in the VM spec. | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Kedar Bidarkar <kbidarka> |
| Component: | Virtualization | Assignee: | ffossemo |
| Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.9.0 | CC: | cnv-qe-bugs, sgott |
| Target Milestone: | --- | ||
| Target Release: | 4.9.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-operator-container-v4.9.4-5 hco-bundle-registry-container-v4.9.4-47 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-26 16:54:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Kedar Bidarkar
2022-03-24 14:35:06 UTC
VERIFIED with, container-native-virtualization/virt-operator/images/v4.9.4-7
Message: failed to render launch manifest: GPU nvidia.com/TU104GL_Tesla_T4 is not permitted in permittedHostDevices configuration
Reason: FailedPvcNotFound
Status: False
Type: Synchronized
spec:
domain:
cpu:
cores: 1
sockets: 1
threads: 1
devices:
disks:
- disk:
bus: virtio
name: datavolumedisk1
- disk:
bus: virtio
name: cloudinitdisk
gpus:
- deviceName: nvidia.com/TU104GL_Tesla_T4
name: gpu1
-----------
spec:
certConfig:
ca:
duration: 48h0m0s
renewBefore: 24h0m0s
server:
duration: 24h0m0s
renewBefore: 12h0m0s
featureGates:
sriovLiveMigration: true
withHostPassthroughCPU: false
infra: {}
liveMigrationConfig:
completionTimeoutPerGiB: 800
parallelMigrationsPerCluster: 5
parallelOutboundMigrationsPerNode: 2
progressTimeout: 150
permittedHostDevices:
pciHostDevices:
- pciDeviceSelector: 10de:1eb8
resourceName: nvidia.com/T4U_Tesla_T4
workloads: {}
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 (OpenShift Virtualization 4.9.4 Images), 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/RHEA-2022:1596 |