Bug 1760272

Summary: [OSP13] Requested hardware 'virtio1.0-block' is not supported by the 'kvm' virt driver
Product: Red Hat OpenStack Reporter: Mikel Olasagasti <molasaga>
Component: openstack-novaAssignee: Artom Lifshitz <alifshit>
Status: CLOSED ERRATA QA Contact: Archit Modi <amodi>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: alifshit, amodi, dasmith, jamsmith, jhakimra, kchamart, lyarwood, mbooth, sbauza, stephenfin
Target Milestone: z11Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-17.0.12-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1760740 1763258 (view as bug list) Environment:
Last Closed: 2020-03-10 11:27:17 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:
Bug Depends On: 1760740, 1760744    
Bug Blocks: 1381612, 1763258, 1775262    

Description Mikel Olasagasti 2019-10-10 10:00:14 UTC
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/

Comment 1 Mikel Olasagasti 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 6 errata-xmlrpc 2020-03-10 11:27:17 UTC
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, 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/RHBA-2020:0759

Comment 7 Artom Lifshitz 2020-03-23 12:33:38 UTC
I'm afraid I didn't get a chance to update the doc text before release (it went to RELEASE_PENDING in a matter of hours after the doctext needinfo), is there still a point in setting the doctext?