Bug 1853911
Summary: | VM with dot in network name fails to start with unclear message | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Yossi Segev <ysegev> | ||||||
Component: | Networking | Assignee: | Radim Hrazdil <rhrazdil> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Yossi Segev <ysegev> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 2.4.0 | CC: | cnv-qe-bugs, phoracek, rhrazdil | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 2.6.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | virt-api-container-v2.6.0-77 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2021-03-10 11:16:12 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
Yossi Segev
2020-07-05 14:00:46 UTC
Created attachment 1699946 [details]
multus-vm-dot.yaml
Failed VM spec
Comment on attachment 1699946 [details]
multus-vm-dot.yaml
Failed VM spec.
Created attachment 1699947 [details]
multus-vm.yaml
Valid VM spec
Radim, an you please specify what exactly is the fix for this bug. Is it fixing the error message, supporting dots in network name, or both? Hello Yossi, you can see the change in the linked PR (https://github.com/kubevirt/kubevirt/pull/4252/files). The issue was fixed by not allowing dots in network interface name. So user shouldn't be able to create a VM with NIC with a dot in its name. The following error msg should be returned: "Network interface name can only contain alphabetical characters, numbers, dashes (-) or underscores (_)" Verified in: OCP 4.7.0-fc.0 CNV 2.6.0 virt-api: registry.redhat.io/container-native-virtualization/virt-api@sha256:e5888f4b00be83a48f43737ae78ea9d7909de865fa7c45a19d069047347917a0 Verified by repeating the original scenario form the bug description, the result is that the creation of the VM was rejected with the message Radim mentioned in comment #5. 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 2.6.0 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-2021:0799 |