Comment 2 for bug 1638200

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

Reviewed: https://review.openstack.org/392077
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9b88e755d93200811487d2f778735869f8fe07af
Submitter: Jenkins
Branch: master

commit 9b88e755d93200811487d2f778735869f8fe07af
Author: zhaolihui <email address hidden>
Date: Tue Nov 1 16:09:04 2016 +0800

    Fix pci_alias that include white spaces

    When the PCI alias was getting translated to a PCI request,
    all the white spaces were getting removed. So the pci_passthrough:alias
    specified in the flavor never matched the device in pci_alias.
    This patch fixes the bug by only stripping the white spaces
    at the beginning or the end of the elements

    Change-Id: I2888b03faf6c25bcb6011db40100d925972c2231
    Closes-Bug: #1638200