nova/nova
Chris Friesen cb5ad6d3c1 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 <chris.friesen@windriver.com>
2019-03-05 11:04:06 -06:00
..
api Handle missing exception in instance creation code 2019-03-05 11:04:06 -06:00
cells Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
cmd Merge "Add fill_virtual_interface_list online_data_migration script" 2019-01-31 13:43:35 +00:00
common
compute Merge "Fix wrong consumer type in logging" 2019-03-05 11:34:18 +00:00
conductor Merge "fix up numa-topology live migration hypervisor check" 2019-03-01 13:46:19 +00:00
conf Merge "conf: Deprecate 'disable_libvirt_livesnapshot' option" 2019-03-01 21:56:47 +00:00
console Use X-Forwarded-Proto as origin protocol if present 2019-01-16 00:28:53 +00:00
consoleauth Fix stacktraces with redis caching backend 2018-09-27 13:15:11 -04:00
db Update mailinglist from dev to discuss 2018-12-05 09:44:35 +08:00
hacking Add a hacking rule for deprecated assertion methods 2018-10-25 11:49:10 +09:00
image Update mailinglist from dev to discuss 2018-12-05 09:44:35 +08:00
ipv6
keymgr
locale Imported Translations from Zanata 2018-09-23 06:53:32 +00:00
network Record requester in the InstancePCIRequest 2019-02-28 12:47:47 -05:00
notifications The field instance_name was added to InstanceCreatePayload 2019-01-15 15:27:07 +00:00
objects Merge "Optimize populate_queued_for_delete online data migration" 2019-03-04 14:04:28 +00:00
pci Record requester in the InstancePCIRequest 2019-02-28 12:47:47 -05:00
policies Merge "Remove deprecated 'flavors' policy" 2019-02-23 06:13:00 +00:00
privsep Merge "Fixes race condition with privsep utime" 2019-03-04 14:00:27 +00:00
scheduler Merge "Fix wrong consumer type in logging" 2019-03-05 11:34:18 +00:00
servicegroup Fix deprecation warning for threadgroup.add_timer 2019-02-07 09:37:00 -05:00
tests Handle missing exception in instance creation code 2019-03-05 11:04:06 -06:00
virt Merge "libvirt: Omit needless check on 'CONF.serial_console'" 2019-03-05 14:30:56 +00:00
vnc Deprecate the nova-xvpvncproxy service 2018-10-15 10:03:13 +01:00
volume Merge "Avoid BadRequest error log on volume attachment" 2019-02-27 05:13:20 +00:00
__init__.py
availability_zones.py
baserpc.py
block_device.py Add method to generate device names universally 2019-01-15 18:55:11 +00:00
cache_utils.py
config.py Configure placement DB context manager for nova-manage/status 2018-09-05 10:29:48 -04:00
context.py Remove NovaException logging from scatter_gather_cells 2018-11-21 12:43:35 -05:00
crypto.py
debugger.py
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
exception.py Merge "Improve existing flavor and image metadata validation" 2019-03-05 08:57:41 +00:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py Fix string interpolations in logging calls 2019-01-29 15:06:39 +09:00
profiler.py
quota.py Merge "quota: remove defaults kwarg in get_project_quotas" 2019-02-26 13:26:24 +00:00
rc_fields.py Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00
rpc.py Fix jsonutils.to_primitive UserWarning 2018-12-17 22:56:50 -05:00
safe_utils.py
service_auth.py
service.py Move conductor wait_until_ready() delay before manager init 2018-08-31 12:50:10 -07:00
test.py Merge "Use a static resource tracker in compute manager" 2019-02-04 19:53:38 +00:00
utils.py Merge "Address nits from I9e30a24a4c0640f282f507d0a96640d3cdefe43c" 2019-02-20 16:26:31 +00:00
version.py
weights.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
wsgi.py