Bug 1763258

Summary: [OSP10] Requested hardware 'virtio1.0-block' is not supported by the 'kvm' virt driver
Product: Red Hat OpenStack Reporter: Artom Lifshitz <alifshit>
Component: openstack-novaAssignee: Artom Lifshitz <alifshit>
Status: CLOSED NEXTRELEASE QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: dasmith, eglynn, jhakimra, kchamart, lyarwood, mbooth, molasaga, nova-maint, sbauza
Target Milestone: z14Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-14.1.0-59.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1760272 Environment:
Last Closed: 2019-12-10 09:28:35 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:
Bug Depends On: 1760272, 1760740, 1760744    
Bug Blocks: 1381612    

Description Artom Lifshitz 2019-10-18 15:19:19 UTC
+++ This bug was initially created as a clone of Bug #1760272 +++

After updating compute nodes from OSP10/RHEL-7.4 with packages from 2018 to latest OSP10 and RHEL-7.7, instances created from glance images that have set the property os_distro=rhel7.5 fail to create, boot or migrate over updated compute nodes with the following error:

File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/blockinfo.py", line 241, in get_disk_bus_for_device_type
2019-10-10 09:18:22.293 4368 ERROR nova.compute.manager [instance: e0a00e92-e269-450e-8248-1f47e7ff6392]     virt=virt_type)
2019-10-10 09:18:22.293 4368 ERROR nova.compute.manager [instance: e0a00e92-e269-450e-8248-1f47e7ff6392] UnsupportedHardware: Requested hardware 'virtio1.0-block' is not supported by the 'kvm' virt driver
2019-10-10 09:18:22.293 4368 ERROR nova.compute.manager [instance: e0a00e92-e269-450e-8248-1f47e7ff6392]

Instances created from glance images without the os_distro=rhel7.5 property work fine.

Upstream bug: https://bugs.launchpad.net/nova/+bug/1835400
Upstream gerrit: https://review.opendev.org/#/c/669190/

--- Additional comment from Mikel Olasagasti on 2019-10-11 08:04:24 UTC ---

Changing os_distro=rhel7.5 with to os_distro=rhel, os_version=7.5 seems to be a valid workaround.

Changing to OSP13 as it is also affecting OSP13.

Comment 2 Kashyap Chamarthy 2020-01-17 14:56:43 UTC
*** Bug 1775262 has been marked as a duplicate of this bug. ***