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)
Reviewed: https:/ /review. openstack. org/641401 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=50cc1e8bb6f d31a86295aedcec 83d49e4d4d52eb
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 50cc1e8bb6fd31a 86295aedcec83d4 9e4d4d52eb
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: Ia6921b5cd9253f 65ff6904bdbce94 2759633de95 fc2b222dc5d2f1f 6c5e05da9c)
Closes-Bug: #1818701
Signed-off-by: Chris Friesen <email address hidden>
(cherry picked from commit cb5ad6d3c14cacc