nova/nova
Sean Mooney 94c0362918 Disable NUMATopologyFilter on rebuild
This change leverages the new NUMA constraint checking added in
in I0322d872bdff68936033a6f5a54e8296a6fb3434 to allow the
NUMATopologyFilter to be skipped on rebuild.

As the new behavior of rebuild enfroces that no changes
to the numa constraints are allowed on rebuild we no longer
need to execute the NUMATopologyFilter. Previously
the NUMATopologyFilter would process the rebuild request
as if it was a request to spawn a new instnace as the
numa_fit_instance_to_host function is not rebuild aware.

As such prior to this change a rebuild would only succeed
if a host had enough additional capacity for a second instance
on the same host meeting the requirement of the new image and
existing flavor. This behavior was incorrect on two counts as
a rebuild uses a noop claim. First the resouce usage cannot
change so it was incorrect to require the addtional capacity
to rebuild an instance. Secondly it was incorrect not to assert
the resouce usage remained the same.

I0322d872bdff68936033a6f5a54e8296a6fb3434 adressed guarding the
rebuild against altering the resouce usage and this change
allows in place rebuild.

This change found a latent bug that will be adressed in a follow
up change and updated the functional tests to note the incorrect
behavior.

Change-Id: I48bccc4b9adcac3c7a3e42769c11fdeb8f6fd132
Closes-Bug: #1804502
Implements: blueprint inplace-rebuild-of-numa-instances
(cherry picked from commit 3f9411071d)
2019-12-19 16:47:04 +00:00
..
api Block rebuild when NUMA topology changed 2019-12-19 16:46:53 +00:00
cmd Nova object changes for forbidden aggregates request filter 2019-09-09 20:16:32 +00:00
compute Block rebuild when NUMA topology changed 2019-12-19 16:46:53 +00:00
conductor Handle get_host_availability_zone error during reschedule 2019-10-02 13:45:58 -04:00
conf compute: Use long_rpc_timeout in reserve_block_device_name 2019-12-02 20:09:55 +00:00
console Mask the token used to allow access to consoles 2019-11-29 11:40:44 +00:00
db Don't delete compute node, when deleting service other than nova-compute 2019-11-20 13:37:19 +00:00
hacking Add a hacking rule for useless assertions 2019-08-21 14:42:53 +09:00
image [Trivial]Removed unused helper _extract_query_params 2019-08-29 10:12:52 +08:00
ipv6
keymgr
locale Imported Translations from Zanata 2019-11-19 06:43:07 +00:00
network Cache security group driver 2019-12-05 14:02:54 +00:00
notifications Update api-ref location 2019-07-22 19:17:28 +02:00
objects Join migration_context and flavor in Migration.instance 2019-11-14 22:06:53 +00:00
pci hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
policies Add server sub-resource topology API 2019-08-30 10:04:56 +08:00
privsep libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
scheduler Disable NUMATopologyFilter on rebuild 2019-12-19 16:47:04 +00:00
servicegroup [Trivial fix]Remove unnecessary slash 2019-05-06 16:23:59 +08:00
tests Disable NUMATopologyFilter on rebuild 2019-12-19 16:47:04 +00:00
virt Create a controller for qga when SEV is used 2019-12-12 15:19:00 +00:00
vnc xvp: Remove use of '_LI' marker 2019-06-19 10:04:45 +01:00
volume Fix exception translation when creating volume 2019-10-11 08:41:18 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
availability_zones.py Always pass HostAPI to get_availability_zones 2019-04-26 15:30:48 -04:00
baserpc.py
block_device.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
cache_utils.py
config.py Rename 'nova.common.config' module to 'nova.middleware' 2019-08-16 00:53:03 +01:00
context.py Merge "Move default policy target" 2019-07-27 00:32:20 +00:00
crypto.py
debugger.py
exception.py Block rebuild when NUMA topology changed 2019-12-19 16:46:53 +00:00
exception_wrapper.py
filters.py filters: Stop handling cells v1 2019-06-12 16:09:46 +01:00
hooks.py
i18n.py
loadables.py
manager.py
middleware.py Rename 'nova.common.config' module to 'nova.middleware' 2019-08-16 00:53:03 +01:00
monkey_patch.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
policy.py Move default policy target 2019-06-03 16:44:50 +01:00
profiler.py
quota.py Log quota legacy method warning only if counting from placement 2019-06-17 21:31:53 +00:00
rpc.py Remove unnecessary wrapper 2019-05-29 17:14:13 +01:00
safe_utils.py
service.py Remove nova-consoleauth 2019-07-05 15:04:47 +00:00
service_auth.py
test.py Cache security group driver 2019-12-05 14:02:54 +00:00
utils.py Allow strict_proxies for sdk Connection 2019-08-23 14:14:40 -05:00
version.py
weights.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
wsgi.py