Comment 9 for bug 1694183

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

Reviewed: https://review.openstack.org/587249
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5ddcda02a8500ef88ee22b2cabf6d23527ad8de8
Submitter: Zuul
Branch: stable/pike

commit 5ddcda02a8500ef88ee22b2cabf6d23527ad8de8
Author: Artom Lifshitz <email address hidden>
Date: Mon Jan 15 15:52:11 2018 -0500

    Consider hostdev devices when building metadata

    Previously, device role tagging metadata would only be built for
    LibvirtConfigGuestInterface and LibvirtConfigGuestDisk. This didn't
    account for passed through PFs, which can also be tagged and appear as
    <hostdev> in the libvirt XML. This caused device role tagging to not
    work for PFs. This patch adds support for <hostdev> devices to
    _build_device_metadata.

    NOTE(artom): Queens -> Pike backport is clean, conflicts in
    nova/tests/unit/virt/libvirt/test_driver.py in Queens due to trusted
    VFs not being present.

    Change-Id: I24e5ff1b446f2ac41d589c026ce8ee8adad4bcbc
    Closes-bug: 1743458
    Closes-bug: 1694183
    (cherry picked from commit abd01a757b8a83d714a6ab8b5085e7cc1b4a2c5c)
    (cherry picked from commit e57f66a26daf858d1348c8406108a33a323b7b2e)