Bug 1760740

Summary: [OSP14] Requested hardware 'virtio1.0-block' is not supported by the 'kvm' virt driver
Product: Red Hat OpenStack Reporter: Lee Yarwood <lyarwood>
Component: openstack-novaAssignee: Lee Yarwood <lyarwood>
Status: CLOSED CURRENTRELEASE QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: dasmith, eglynn, jhakimra, kchamart, lyarwood, mbooth, molasaga, nova-maint, sbauza, sgordon
Target Milestone: ---Keywords: Patch, Triaged, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-18.2.1-0.20190509150825.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1760272
: 1760744 (view as bug list) Environment:
Last Closed: 2019-12-09 09:28:43 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: 1760744    
Bug Blocks: 1381612, 1760272, 1763258    

Description Lee Yarwood 2019-10-11 08:42:30 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.