Comment 14 for bug 1835400

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.opendev.org/688069
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5d89cfed2b18642df5d720268ec38d1bd7752bd4
Submitter: Zuul
Branch: stable/queens

commit 5d89cfed2b18642df5d720268ec38d1bd7752bd4
Author: John Garbutt <email address hidden>
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
    (cherry picked from commit 6be668e51992df53a4d871bea70bc738a9beacb8)
    (cherry picked from commit a06922d546a26c9e6550a93cbe0718cf841b6b9f)
    (cherry picked from commit 89d2a764d75aad6876551663e8350d301336eb59)