Reviewed: https://review.opendev.org/669190 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6be668e51992df53a4d871bea70bc738a9beacb8 Submitter: Zuul Branch: master
commit 6be668e51992df53a4d871bea70bc738a9beacb8 Author: John Garbutt <j...@johngarbutt.com> Date: Thu Jul 4 15:06:17 2019 +0100 Stop sending bad values from libosinfo to libvirt When we try to use either virtio1.0-block or virtio1.0-net it is correctly rejected by libvirt. We get these returned from libosinfo for newer operating systems that support virtio1.0. As we want to support libvirts older than 5.2.0, its best we just request "virtio", please see: https://libvirt.org/formatdomain.html#elementsVirtioTransitional You can see virtio1.0-net and virtio-block being added here: https://gitlab.com/libosinfo/osinfo-db/blob/master/data/os/fedoraproject.org/fedora-23.xml.in#L31 Change-Id: I633faae47ad5a33b27f5e2eef6e0107f60335146 Closes-Bug: #1835400 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1835400 Title: Issues booting with os_distro=centos7.0 Status in OpenStack Compute (nova): Fix Released Bug description: If we have os_distro=centos this isn't known by os-info, so we get: Cannot find OS information - Reason: (No configuration information found for operating system centos7): OsInfoNotFound: No configuration information found for operating system centos7 If we "fix" it to os_distro=centos7.0 we get: Instance failed to spawn: UnsupportedHardware: Requested hardware 'virtio1.0-net' is not supported by the 'kvm' virt driver This is with Rocky, but was also happening with Queens, I believe. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1835400/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp