nova/nova/objects
Balazs Gibizer 7f6ec8cf54 Migrate RequestSpec.numa_topology to use pcpuset
When the InstanceNUMATopology OVO has changed in
I901fbd7df00e45196395ff4c69e7b8aa3359edf6 to separately track
pcpus from vcpus a data migration was added. This data migration is
triggered when the InstanceNUMATopology object is loaded from the
instance_extra table. However that patch is missed the fact that the
InstanceNUMATopology object can be loaded from the request_spec table as
well. So InstanceNUMATopology object in RequestSpec are not migrated.
This could lead to errors in the scheduler when such RequestSpec object
is used for scheduling (e.g. during a migration of a pre Victoria
instance with cpu pinning)

This patch adds the missing data migration.

Change-Id: I812d720555bdf008c83cae3d81541a37bd99e594
Closes-Bug: #1952941
(cherry picked from commit e853bb5718)
2022-02-04 15:29:20 +01:00
..
__init__.py objects: Remove Agent, AgentList 2020-09-11 14:10:32 +01:00
aggregate.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
bandwidth_usage.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
base.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
block_device.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
build_request.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
cell_mapping.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
compute_node.py Prevent deletion of a compute node belonging to another host 2021-08-20 14:57:45 +01:00
console_auth_token.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
diagnostics.py Add NovaEphemeralObject class for non-persistent objects 2020-01-14 08:13:18 -08:00
ec2.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
external_event.py Define Cyborg ARQ binding notification event. 2020-03-01 13:52:51 -08:00
fields.py Allow 'bochs' as a display device option 2021-09-02 17:46:22 +01:00
flavor.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
host_mapping.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
hv_spec.py objects: Move 'hv_type' to 'fields.HVType' 2016-11-25 16:19:43 +00:00
image_meta.py Merge "Allow 'bochs' as a display device option" 2021-09-03 15:07:35 +00:00
instance.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
instance_action.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
instance_fault.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
instance_group.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
instance_info_cache.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
instance_mapping.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
instance_numa.py Migrate RequestSpec.numa_topology to use pcpuset 2022-02-04 15:29:20 +01:00
instance_pci_requests.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
keypair.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
migrate_data.py objects: Fix VIFMigrateData.supports_os_vif_delegation setter 2021-06-18 18:14:39 +01:00
migration.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
migration_context.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
monitor_metric.py Fix MonitorMetric obj_make_compatible 2016-09-12 14:10:41 +00:00
network_metadata.py Assorted cleanups from numa-aware-vswitches series 2018-07-27 09:49:12 -07:00
network_request.py smartnic support - new vnic type 2021-08-05 15:58:25 +08:00
numa.py libvirt: start tracking NUMACell.socket for hosts 2021-02-21 11:30:07 -05:00
pci_device.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
pci_device_pool.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
quotas.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
request_spec.py Migrate RequestSpec.numa_topology to use pcpuset 2022-02-04 15:29:20 +01:00
resource.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
security_group.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
selection.py Add Selection.availability_zone field 2019-10-02 13:39:24 -04:00
service.py Support interface attach / detach with new resource request format 2021-09-01 15:51:47 +02:00
tag.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
task_log.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
trusted_certs.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
vcpu_model.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
virt_cpu_topology.py cleanup NovaObjectDictCompat from virt_cpu_topology 2015-08-05 08:56:30 +05:30
virt_device_metadata.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
virtual_interface.py db: Post reshuffle cleanup 2021-08-09 15:34:40 +01:00
volume_usage.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00