Comment 5 for bug 1818701

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

Reviewed: https://review.openstack.org/641401
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=50cc1e8bb6fd31a86295aedcec83d49e4d4d52eb
Submitter: Zuul
Branch: stable/rocky

commit 50cc1e8bb6fd31a86295aedcec83d49e4d4d52eb
Author: Chris Friesen <email address hidden>
Date: Tue Mar 5 09:53:37 2019 -0600

    Handle missing exception in instance creation code

    In the instance creation code path it's possible for the PciInvalidAlias
    exception to be raised if the flavor extra-specs have an invalid PCI
    alias. This should be converted to HTTPBadRequest along with the other
    exceptions stemming from invalid extra-specs.

    Without this, it gets reported as an HTTP 500 error.

    Change-Id: Ia6921b5cd9253f65ff6904bdbce942759633de95
    Closes-Bug: #1818701
    Signed-off-by: Chris Friesen <email address hidden>
    (cherry picked from commit cb5ad6d3c14caccfc2b222dc5d2f1f6c5e05da9c)