Bug 1911590
Summary: | RFE - Block VM creation with sata disk and ioThreadsPolicy settings | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | chhu | ||||||||||||
Component: | Virtualization | Assignee: | Itamar Holder <iholder> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Israel Pinto <ipinto> | ||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 2.6.0 | CC: | cnv-qe-bugs, kbidarka, sgott | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | 4.8.0 | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | libvirt_CNV_INT | ||||||||||||||
Fixed In Version: | hco-bundle-registry-container-v4.8.0-347 virt-operator-container-v4.8.0-58 | Doc Type: | If docs needed, set a value | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2021-07-27 14:22:32 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
chhu
2020-12-30 07:46:28 UTC
Created attachment 1743170 [details]
describe_rhel8-deep-anglerfish
Created attachment 1743171 [details]
openshift-cnv_rhel8-deep-anglerfish.xml
Created attachment 1743173 [details]
pv-disk-nfs-rhel.yaml
Created attachment 1743174 [details]
pv-dv-nfs-rhel.yaml
Created attachment 1743175 [details]
rhel8.yaml
Kubevirt should block the creation of vm with sata disk and iothreads since it not supported right now the user is getting the error from libvirt and not from kuvevirt. Libvirt error message: Message: server error. command SyncVMI failed: "LibvirtError(Code=67, Domain=10, Message='unsupported configuration: IOThreads not available for bus sata target sda')" Step: 1. Create vm with disk bus: sata and ioThreadsPolicy: shared , see vm spec 2. Start vm Test with UI Results: server error. command SyncVMI failed: "LibvirtError(Code=67, Domain=10, Message='unsupported configuration: IOThreads not available for bus sata target sda')" vm spec: apiVersion: kubevirt.io/v1 kind: VirtualMachine metadata: annotations: kubemacpool.io/transaction-timestamp: '2021-05-26T16:58:22.440434961Z' kubevirt.io/latest-observed-api-version: v1 kubevirt.io/storage-observed-api-version: v1alpha3 name.os.template.kubevirt.io/fedora34: Fedora 32 or higher vm.kubevirt.io/validations: | [ { "name": "minimal-required-memory", "path": "jsonpath::.spec.domain.resources.requests.memory", "rule": "integer", "message": "This VM requires more memory.", "min": 1073741824 } ] resourceVersion: '1674283' name: fed-iotest uid: f367ba69-c16e-4224-b098-e20d1e9aeabd creationTimestamp: '2021-05-26T16:48:08Z' generation: 6 managedFields: - apiVersion: kubevirt.io/v1 fieldsType: FieldsV1 fieldsV1: 'f:metadata': 'f:annotations': .: {} 'f:name.os.template.kubevirt.io/fedora34': {} 'f:vm.kubevirt.io/validations': {} 'f:labels': 'f:vm.kubevirt.io/template.version': {} 'f:vm.kubevirt.io/template.namespace': {} 'f:app': {} .: {} 'f:vm.kubevirt.io/template.revision': {} 'f:workload.template.kubevirt.io/server': {} 'f:flavor.template.kubevirt.io/small': {} 'f:os.template.kubevirt.io/fedora34': {} 'f:vm.kubevirt.io/template': {} 'f:spec': .: {} 'f:dataVolumeTemplates': {} 'f:template': .: {} 'f:metadata': .: {} 'f:annotations': {} 'f:labels': {} 'f:spec': .: {} 'f:domain': .: {} 'f:cpu': .: {} 'f:cores': {} 'f:sockets': {} 'f:threads': {} 'f:devices': .: {} 'f:disks': {} 'f:interfaces': {} 'f:networkInterfaceMultiqueue': {} 'f:rng': {} 'f:ioThreadsPolicy': {} '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-05-26T16:56:05Z' - apiVersion: kubevirt.io/v1alpha3 fieldsType: FieldsV1 fieldsV1: 'f:spec': 'f:running': {} manager: virt-api operation: Update time: '2021-05-26T16:56:14Z' - 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:created': {} 'f:volumeSnapshotStatuses': {} manager: virt-controller operation: Update time: '2021-05-26T16:58:22Z' namespace: default finalizers: - k8s.v1.cni.cncf.io/kubeMacPool labels: app: fed-iotest flavor.template.kubevirt.io/small: 'true' os.template.kubevirt.io/fedora34: 'true' vm.kubevirt.io/template: fedora-server-small vm.kubevirt.io/template.namespace: openshift vm.kubevirt.io/template.revision: '1' vm.kubevirt.io/template.version: v0.14.0 workload.template.kubevirt.io/server: 'true' spec: dataVolumeTemplates: - metadata: creationTimestamp: null name: fed-iotest-rootdisk-smmhx spec: pvc: accessModes: - ReadWriteOnce resources: requests: storage: 30Gi storageClassName: hostpath-provisioner volumeMode: Filesystem source: http: url: >- <URL to image> running: true template: metadata: annotations: vm.kubevirt.io/flavor: small vm.kubevirt.io/os: fedora vm.kubevirt.io/workload: server creationTimestamp: null labels: flavor.template.kubevirt.io/small: 'true' kubevirt.io/domain: fed-iotest kubevirt.io/size: small os.template.kubevirt.io/fedora34: 'true' vm.kubevirt.io/name: fed-iotest workload.template.kubevirt.io/server: 'true' spec: domain: cpu: cores: 1 sockets: 1 threads: 1 devices: disks: - disk: bus: virtio name: cloudinitdisk - bootOrder: 1 disk: bus: sata name: rootdisk interfaces: - macAddress: '02:1f:8c:00:00:09' masquerade: {} model: virtio name: default networkInterfaceMultiqueue: true rng: {} ioThreadsPolicy: shared machine: type: pc-q35-rhel8.4.0 resources: requests: memory: 2Gi evictionStrategy: LiveMigrate hostname: fed-iotest networks: - name: default pod: {} terminationGracePeriodSeconds: 180 volumes: - cloudInitNoCloud: userData: | #cloud-config user: fedora password: tblx-ebq9-ftbx chpasswd: expire: false name: cloudinitdisk - dataVolume: name: fed-iotest-rootdisk-smmhx name: rootdisk status: created: true volumeSnapshotStatuses: - enabled: false name: cloudinitdisk reason: Volume type has no StorageClass defined - enabled: false name: rootdisk reason: >- No VolumeSnapshotClass: Volume snapshots are not configured for this StorageClass [hostpath-provisioner] [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 4.8.0 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/RHSA-2021:2920 |