nova/nova/api/openstack/compute
Gábor Antal 47d8aa5e7f Throw exception if numa_nodes is not set to integer greater than 0
As [1] is abandoned, I used that patchset to create a new one.
This patchset is freshened to the current master branch.

This patch introduces InvalidNUMANodesNumber exception, which is
thrown when trying to boot an instance with a flavor that has
hw:numa_nodes=0 extra spec set. That means that NUMA nodes is set to 0,
which is incorrect.

[1]: https://review.openstack.org/#/c/190267

Change-Id: I6bd8f69e582c537a5fec40064638a8887a08cac4
Co-Authored-By: Karim Boumedhel <karimboumedhel@gmail.com>
Closes-Bug: #1402709
2016-09-09 14:53:56 +02:00
..
schemas Merge "Add networks to quota's update json-schema when network quota enabled" 2016-08-30 11:59:39 +00:00
views Merge "Enables Py34 tests for unit.api.openstack.compute.test_server_actions" 2016-07-27 14:26:38 +00:00
__init__.py Remove unused LOG from v2.1 API code 2016-05-30 12:00:48 -07:00
admin_actions.py policy: Replaces 'authorize' in nova-api (part 1) 2016-06-24 15:57:10 +03:00
admin_password.py Allow authorization by user_id for server changePassword action 2016-08-12 12:51:45 +00:00
agents.py policy: Replaces 'authorize' in nova-api (part 1) 2016-06-24 15:57:10 +03:00
aggregates.py Aggregate create and destroy work against API db 2016-08-01 08:22:08 -07:00
assisted_volume_snapshots.py policy: Replaces 'authorize' in nova-api (part 1) 2016-06-24 15:57:10 +03:00
attach_interfaces.py Add separate create/delete policies to attach_interface 2016-08-09 11:01:26 -04:00
availability_zone.py policy: Replaces 'authorize' in nova-api (part 1) 2016-06-24 15:57:10 +03:00
baremetal_nodes.py Merge "Remove deprecated ironic.api_version config option" 2016-07-27 14:27:30 +00:00
block_device_mapping.py Device tagging API support 2016-06-29 20:55:16 -07:00
block_device_mapping_v1.py Filter leading/trailing spaces for name field in v2.1 compat mode 2015-09-23 10:27:54 +01:00
cells.py Replace functions 'Dict.get' and 'del' with 'Dict.pop' 2016-08-04 15:31:17 +05:30
certificates.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
cloudpipe.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
config_drive.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
console_auth_tokens.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
console_output.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
consoles.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
create_backup.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
deferred_delete.py Allow authorization by user_id for force_delete server 2016-08-12 02:48:40 +00:00
evacuate.py Allow authorization by user_id for server evacuate 2016-08-12 13:19:17 +00:00
extended_availability_zone.py policy: Replaces 'authorize' in nova-api (part 2) 2016-06-27 13:18:03 +00:00
extended_server_attributes.py Return HTTP 200 on list for invalid status 2016-06-30 16:09:53 +00:00
extended_status.py Merge "Remove unnecessary __init__" 2016-06-27 17:04:31 +00:00
extended_volumes.py Merge "Remove unnecessary __init__" 2016-06-27 17:04:31 +00:00
extension_info.py Merge ""nova list-extensions" not showing summary for all" 2016-07-27 14:13:47 +00:00
fixed_ips.py Deprecate FixedIP related proxy APIs 2016-07-21 13:31:16 +08:00
flavor_access.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
flavor_manage.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
flavor_rxtx.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
flavors.py Rename all the ViewBuilderV3 to ViewBuilderV21 2015-09-15 13:33:24 +08:00
flavors_extraspecs.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
floating_ip_dns.py Deprecated floating ip related proxy APIs 2016-07-26 14:14:44 +08:00
floating_ip_pools.py Deprecated floating ip related proxy APIs 2016-07-26 14:14:44 +08:00
floating_ips.py Improve error message for empty cached_nwinfo 2016-08-17 19:39:44 +00:00
floating_ips_bulk.py Deprecated floating ip related proxy APIs 2016-07-26 14:14:44 +08:00
fping.py Deprecate Baremetal and fping API 2016-07-26 14:14:44 +08:00
helpers.py remove personality extension 2016-06-24 14:44:53 -04:00
hide_server_addresses.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
hosts.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
hypervisors.py Allow empty CPU info of hypervisors in API response 2016-08-09 03:14:24 +09:00
image_metadata.py Remove extra expected error code (413) from image metadata 2016-06-14 18:19:47 +09:00
image_size.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
images.py Depracate Images Proxy APIs 2016-07-21 00:50:36 +08:00
instance_actions.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
instance_usage_audit_log.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
ips.py policy: Replaces 'authorize' in nova-api (part 3) 2016-06-28 23:11:10 +00:00
keypairs.py Microversion 2.35 adds keypairs pagination support 2016-07-12 19:48:05 +03:00
limits.py Remove the useless version calculation for proxy api deprecated version 2016-07-28 20:45:28 +08:00
lock_server.py Allow authorization by user_id for server lock action 2016-08-11 10:40:04 -04:00
migrate_server.py Add missing ComputeHostNotFound exception in live-migration 2016-07-29 10:17:26 +02:00
migrations.py policy: Replaces 'authorize' in nova-api (part 4) 2016-06-29 12:53:04 +00:00
multinic.py policy: Replaces 'authorize' in nova-api (part 4) 2016-06-29 12:53:04 +00:00
multiple_create.py Merge "Filter leading/trailing spaces for name field in v2.1 compat mode" 2015-09-23 12:31:00 +00:00
networks.py Provide more duplicate VLAN network error info 2016-08-23 00:14:10 +00:00
networks_associate.py Deprecated networks related proxy APIs 2016-07-21 13:29:41 +08:00
pause_server.py Allow authorization by user_id for server pause action 2016-08-12 02:40:48 +00:00
pci.py policy: Replaces 'authorize' in nova-api (part 4) 2016-06-29 12:53:04 +00:00
quota_classes.py policy: Replaces 'authorize' in nova-api (part 4) 2016-06-29 12:53:04 +00:00
quota_sets.py Merge "Add networks to quota's update json-schema when network quota enabled" 2016-08-30 11:59:39 +00:00
remote_consoles.py policy: Replaces 'authorize' in nova-api (part 4) 2016-06-29 12:53:04 +00:00
rescue.py Allow authorization by user_id for server rescue action 2016-08-11 10:49:16 -04:00
scheduler_hints.py Filter leading/trailing spaces for name field in v2.1 compat mode 2015-09-23 10:27:54 +01:00
security_group_default_rules.py Deprecate SecurityGroup related proxy API 2016-07-26 14:14:44 +08:00
security_groups.py Deprecate SecurityGroup related proxy API 2016-07-26 14:14:44 +08:00
server_diagnostics.py API: catch InstanceNotReady exception. 2016-07-07 16:48:13 +08:00
server_external_events.py policy: Replaces 'authorize' in nova-api (part 5) 2016-06-29 12:11:42 -07:00
server_groups.py policy: Replaces 'authorize' in nova-api (part 5) 2016-06-29 12:11:42 -07:00
server_metadata.py policy: Replaces 'authorize' in nova-api (part 5) 2016-06-29 12:11:42 -07:00
server_migrations.py policy: Replaces 'authorize' in nova-api (part 5) 2016-06-29 12:11:42 -07:00
server_password.py policy: Replaces 'authorize' in nova-api (part 5) 2016-06-29 12:11:42 -07:00
server_tags.py Fix PUT server tag 201 to return empty content 2016-07-13 18:45:12 +09:00
server_usage.py policy: Replaces 'authorize' in nova-api (part 5) 2016-06-29 12:11:42 -07:00
servers.py Throw exception if numa_nodes is not set to integer greater than 0 2016-09-09 14:53:56 +02:00
services.py Remove compute host from all host aggregates when compute service is deleted 2016-07-16 22:19:44 +03:00
shelve.py Allow authorization by user_id for server shelve action 2016-08-12 12:33:39 +09:00
simple_tenant_usage.py Fix up legacy resource fields in simple-tenant-usage 2016-07-12 09:16:35 -07:00
suspend_server.py Allow authorization by user_id for server suspend action 2016-08-11 10:43:25 -04:00
tenant_networks.py Filter network related quotas out of quotas API 2016-07-26 14:14:44 +08:00
used_limits.py don't report network limits after 2.35 2016-08-18 23:55:58 +08:00
user_data.py Enable 'null' value for user_data in V2.1 API 2016-05-20 14:05:43 +08:00
versions.py remove the ability to disable v2.1 2016-03-31 19:50:43 +00:00
versionsV21.py Rename classes containing 'v3' to 'v21' 2015-08-18 15:25:46 +08:00
virtual_interfaces.py policy: Replaces 'authorize' in nova-api (part 5) 2016-06-29 12:11:42 -07:00
volumes.py Merge "Remove deprecated config option volume_api_class" 2016-07-26 23:11:24 +00:00