Description of problem: Failed to create rhel6 VM from rhel6 template with e1000e interface in web page. Hit error: "virtio-net multiqueue request, but there are no virtio interfaces defined" for field "spec.template.spec.domain.devices.networkInterfaceMultiqueue". Version-Release number of selected component (if applicable): CNV2.6.0 How reproducible: 100% Steps to Reproduce: 1. Login to web console, Project: openshift-cnv, click "Virtualization" -> Virtual Machines -> Create: Virtual Machine with Wizard, Select a template: "Red Hat Enterprise Linux 6.0 + VM" -> Next, Boot source type: Import via URL (creates PVC) Import URL: http://s3-qe-cn-storage.usersys.redhat.com/libvirt-CI- resources/RHEL-6.10-x86_64-latest.qcow2 Persitent Volume Claim size: 12 GiB Advanced: Storage class: manual Access mode: Single User(RWO) Click Next, Project: openshift-cnv Virtual Machine Name: rhel6 Flavor: Small 1 CPU| 2 GiB Memory Storage: 2 Disks Workload profile: server Boot source: Boot from disk http://s3-qe-cn-storage.usersys.redhat.com/libvirt-CI-resources/RHEL-6.10-x86_64-latest.qcow2 Select: Start this virtual machine after creation 2. Click "Create virtual machine", check all the items are with value. 3. Click "Customize virtual machine": -> Networking: Name: default, Model: e1000e, click "Next" -> Storage: "Next" -> Advanced: "Next" -> Review: "Create Virtual Machine" -> Hit error: "Error "virtio-net multiqueue request, but there are no virtio interfaces defined" for field "spec.template.spec.domain.devices.networkInterfaceMultiqueue"." Actual results: In step3: Failed to create VM as the "networkInterfaceMultiqueue: true" in template. Expected results: In step3: Create VM successfully, and the VM network work well. Additional info: - virtio-net-multiqueue-error.png
Created attachment 1742857 [details] virtio-net-multiqueue-error.png
Hit the same error when try to edit the interface to e1000e, attached to file: edit-network-interface-error.png
Created attachment 1742858 [details] edit-network-interface-error.png
with https://github.com/kubevirt/common-templates/pull/292/files#diff-7a75244a8ab0bfcb844e41f9cd462e0d9f7d9af9b6e643c9ce13944d0594e415L105 networkInterfaceMultiqueue is already dropped from the el6 template.
Re-assigning this BZ to SSP for proper tracking.
Verify with: virt-operator-container-v2.6.0-106 virt-launcher-container-v2.6.0-106 Create VM with CNV common template to get useVirtioTransitional: true Tested: 1. Connect via console and VNC 2. Connect with SSH All PASS [1] apiVersion: kubevirt.io/v1alpha3 kind: VirtualMachine metadata: annotations: kubevirt.io/latest-observed-api-version: v1alpha3 kubevirt.io/storage-observed-api-version: v1alpha3 name.os.template.kubevirt.io/rhel6.10: Red Hat Enterprise Linux 6.0 or higher vm.kubevirt.io/flavor: small vm.kubevirt.io/os: rhel6 vm.kubevirt.io/validations: | [ { "name": "minimal-required-memory", "path": "jsonpath::.spec.domain.resources.requests.memory", "rule": "integer", "message": "This VM requires more memory.", "min": 536870912 } ] vm.kubevirt.io/workload: server selfLink: >- /apis/kubevirt.io/v1alpha3/namespaces/rhel6/virtualmachines/rhel6-canadian-mole resourceVersion: '2893630' name: rhel6-canadian-mole uid: 878b31e4-9e64-4951-b402-11840b9a5915 creationTimestamp: '2021-01-31T12:21:23Z' generation: 1 managedFields: - apiVersion: kubevirt.io/v1alpha3 fieldsType: FieldsV1 fieldsV1: 'f:metadata': 'f:annotations': .: {} 'f:name.os.template.kubevirt.io/rhel6.10': {} 'f:vm.kubevirt.io/flavor': {} 'f:vm.kubevirt.io/os': {} 'f:vm.kubevirt.io/validations': {} 'f:vm.kubevirt.io/workload': {} 'f:labels': 'f:vm.kubevirt.io/template.version': {} 'f:vm.kubevirt.io/template.namespace': {} 'f:app': {} .: {} 'f:os.template.kubevirt.io/rhel6.10': {} 'f:vm.kubevirt.io/template.revision': {} 'f:workload.template.kubevirt.io/server': {} 'f:flavor.template.kubevirt.io/small': {} 'f:vm.kubevirt.io/template': {} 'f:spec': .: {} 'f:dataVolumeTemplates': {} 'f:running': {} 'f:template': .: {} 'f:metadata': .: {} 'f:labels': .: {} 'f:flavor.template.kubevirt.io/small': {} 'f:kubevirt.io/domain': {} 'f:kubevirt.io/size': {} 'f:os.template.kubevirt.io/rhel6.10': {} 'f:vm.kubevirt.io/name': {} 'f:workload.template.kubevirt.io/server': {} 'f:spec': .: {} 'f:domain': .: {} 'f:cpu': .: {} 'f:cores': {} 'f:sockets': {} 'f:threads': {} 'f:devices': .: {} 'f:disks': {} 'f:interfaces': {} 'f:rng': {} 'f:useVirtioTransitional': {} 'f:machine': .: {} 'f:type': {} 'f:resources': .: {} 'f:requests': .: {} 'f:memory': {} 'f:evictionStrategy': {} 'f:hostname': {} 'f:networks': {} 'f:terminationGracePeriodSeconds': {} 'f:volumes': {} manager: Mozilla operation: Update time: '2021-01-31T12:21:23Z' - apiVersion: kubevirt.io/v1alpha3 fieldsType: FieldsV1 fieldsV1: 'f:metadata': 'f:annotations': 'f:kubevirt.io/latest-observed-api-version': {} 'f:kubevirt.io/storage-observed-api-version': {} 'f:status': .: {} 'f:conditions': {} 'f:created': {} 'f:ready': {} 'f:volumeSnapshotStatuses': {} manager: virt-controller operation: Update time: '2021-01-31T12:22:49Z' namespace: rhel6 labels: app: rhel6-canadian-mole flavor.template.kubevirt.io/small: 'true' os.template.kubevirt.io/rhel6.10: 'true' vm.kubevirt.io/template: rhel6-server-small vm.kubevirt.io/template.namespace: openshift vm.kubevirt.io/template.revision: '1' vm.kubevirt.io/template.version: v0.13.1 workload.template.kubevirt.io/server: 'true' spec: dataVolumeTemplates: - metadata: creationTimestamp: null name: rhel6-canadian-mole-rootdisk-e8bbk spec: pvc: accessModes: - ReadWriteOnce resources: requests: storage: 20Gi storageClassName: standard volumeMode: Filesystem source: http: url: >- http://cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com/files/cnv-tests/rhel-images/rhel-610.qcow2 running: true template: metadata: creationTimestamp: null labels: flavor.template.kubevirt.io/small: 'true' kubevirt.io/domain: rhel6-canadian-mole kubevirt.io/size: small os.template.kubevirt.io/rhel6.10: 'true' vm.kubevirt.io/name: rhel6-canadian-mole workload.template.kubevirt.io/server: 'true' spec: domain: cpu: cores: 1 sockets: 1 threads: 1 devices: disks: - disk: bus: sata name: cloudinitdisk - bootOrder: 1 disk: bus: sata name: rootdisk interfaces: - masquerade: {} model: e1000e name: default rng: {} useVirtioTransitional: true machine: type: pc-q35-rhel8.3.0 resources: requests: memory: 2Gi evictionStrategy: LiveMigrate hostname: rhel6-canadian-mole networks: - name: default pod: {} terminationGracePeriodSeconds: 180 volumes: - cloudInitNoCloud: userData: | #cloud-config user: cloud-user password: redhat chpasswd: expire: false name: cloudinitdisk - dataVolume: name: rhel6-canadian-mole-rootdisk-e8bbk name: rootdisk status: conditions: - lastProbeTime: null lastTransitionTime: '2021-01-31T12:22:46Z' status: 'True' type: Ready created: true ready: true volumeSnapshotStatuses: - enabled: false name: cloudinitdisk reason: Volume type does not suport snapshots - enabled: false name: rootdisk reason: 'No Volume Snapshot Storage Class found for volume [rootdisk]'
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