commit cb5ad6d3c14caccfc2b222dc5d2f1f6c5e05da9c
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>
Reviewed: https:/ /review. openstack. org/641082 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cb5ad6d3c14 caccfc2b222dc5d 2f1f6c5e05da9c
Committed: https:/
Submitter: Zuul
Branch: master
commit cb5ad6d3c14cacc fc2b222dc5d2f1f 6c5e05da9c
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
Closes-Bug: #1818701
Signed-off-by: Chris Friesen <email address hidden>