nova/nova/tests/unit
Stephen Finucane 76e8653ba1 db: Compact Mitaka database migrations
Compact Mitaka database migrations into a single migration,
'319_mitaka.py'.

Users will now need to update to Mitaka before updating to Newton or
later.

Specific changes include:

- Add 'parent_addr' column to 'pci_devices' table
- Add 'resource_providers', 'inventories', and 'allocations' tables
- Add 'memory_total', 'memory_processed', 'memory_remaining', 'disk_total',
  'disk_processed', and 'disk_remaining' columns to 'migrations' table
- Add 'disk_allocation_ratio' column to 'compute_nodes' table
- Add 'uuid' column and corresponding index to 'aggregates' table
- Add 'name', 'generation' and 'can_host' columns to
  'resource_providers' table
- Add unique constraint on 'name' column of 'resource_providers' table
- Add index on 'name' column of 'resource_providers' table
- Add 'resource_provider_aggregates' table

Some tests that depended on some of these migrations are removed.

When testing, the previous base version was 301. It is now 318.

Change-Id: Ib0c9229899e9a83992757270503e0e1a988f2402
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-01-07 11:47:43 +00:00
..
accelerator Cyborg evacuate support 2020-09-01 08:41:45 +00:00
api tests: Remove 'test_extended_hypervisors' 2021-01-06 11:16:00 +00:00
cmd Merge "Remove six.moves" 2020-11-09 16:05:06 +00:00
compute Merge "Remove six.text_type (2/2)" 2020-12-22 00:46:32 +00:00
conductor Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
conf Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
console Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
db db: Compact Mitaka database migrations 2021-01-07 11:47:43 +00:00
fake_loadables
image Merge "rbd: Only log import failures when the RbdDriver is used" 2020-11-09 23:51:46 +00:00
keymgr
network Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
notifications virt: Remove 'get_all_bw_counters' API 2020-11-24 15:29:21 +00:00
objects Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
pci Merge "Ignore PCI devices with 32bit domain" 2020-12-23 13:26:43 +00:00
policies libvirt: make cross cell resize spawn from snapshot image 2020-12-11 13:02:09 +00:00
privsep Remove six.moves 2020-11-07 03:25:02 +00:00
scheduler Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
ssl_cert
storage Add ability to download Glance images into the libvirt image cache via RBD 2020-08-31 15:14:11 +02:00
virt Merge "stabilize set_host libvirt driver unit test" 2020-12-22 12:49:35 +00:00
volume Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
__init__.py
cast_as_call.py
conf_fixture.py Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
fake_block_device.py
fake_build_request.py
fake_console_auth_token.py
fake_crypto.py
fake_diagnostics.py
fake_flavor.py
fake_hosts.py
fake_instance.py objects: Update keypairs when saving an instance 2020-07-22 12:29:19 +00:00
fake_ldap.py Remove six.moves 2020-11-07 03:25:02 +00:00
fake_network.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_network_cache_model.py Use UUID as vif and network_id in vif tests 2020-09-07 10:31:52 +02:00
fake_notifier.py
fake_pci_device_pools.py
fake_policy.py virt: Remove 'reset_network' API 2020-11-23 15:55:50 +00:00
fake_processutils.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
fake_request_spec.py objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
fake_requests.py
fake_server_actions.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
fake_volume.py
image_fixtures.py
matchers.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
policy_fixture.py [Trivial] Replace ref of policy.json to policy.yaml 2020-09-09 16:46:43 +00:00
test_api_validation.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_availability_zones.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_baserpc.py
test_block_device.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_cache.py
test_cinder.py
test_conf.py test cleanup: Make base TestCase subclass oslotest 2019-11-22 22:38:22 +00:00
test_configdrive2.py
test_context.py Revert "Log CellTimeout traceback in scatter_gather_cells" 2019-10-22 17:12:28 -04:00
test_crypto.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_exception.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_fake_notifier.py
test_fixtures.py db: Compact Mitaka database migrations 2021-01-07 11:47:43 +00:00
test_flavors.py
test_hacking.py Merge "Add a hacking rule for assert_has_calls" 2020-10-14 14:31:15 +00:00
test_identity.py
test_instance_types_extra_specs.py
test_json_ref.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_loadables.py
test_matchers.py
test_metadata.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_notifications.py virt: Remove 'get_all_bw_counters' API 2020-11-24 15:29:21 +00:00
test_notifier.py
test_policy.py virt: Remove 'reset_network' API 2020-11-23 15:55:50 +00:00
test_profiler.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_quota.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_rpc.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_safeutils.py
test_service.py Restore retrying the RPC connection to conductor 2020-11-13 18:02:00 +01:00
test_service_auth.py
test_test.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_test_utils.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_utils.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_versions.py
test_weights.py
test_wsgi.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
utils.py Remove six.moves 2020-11-07 03:25:02 +00:00