Comment 4 for bug 1638200

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

Reviewed: https://review.openstack.org/406075
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e58af8e32d415e112e491abce9f4e8b8d882fb80
Submitter: Jenkins
Branch: stable/newton

commit e58af8e32d415e112e491abce9f4e8b8d882fb80
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

    Conflicts:
      nova/tests/unit/pci/test_request.py

    NOTE(lyarwood): Test conflict caused by the reorganisation of PCI options
    as part of I886045ab4e6bdb8418fd1ccdcd811417ecb4ad4a.

    Change-Id: I2888b03faf6c25bcb6011db40100d925972c2231
    Closes-Bug: #1638200
    (cherry picked from commit 9b88e755d93200811487d2f778735869f8fe07af)